/* =========================================================================
   Städtli — gemeinsames Stylesheet
   Café. Bistro. Apéro.
   Schrift: Neue Haas Grotesk (Adobe Fonts / Typekit-Kit qco8zvm),
   eingebunden über <link>-Tag im <head> jeder Seite.
   Zwei Schnitte im Kit: "neue-haas-grotesk-text" (Fließtext/UI, 400/500/700)
   und "neue-haas-grotesk-display" (große Überschriften, volle Weight-Range).
   ========================================================================= */

:root {
  --bg: #f5f1eb;
  --green: #3a5a33;
  --intro-green: #3a5a33;
  --pink: #f3cce2;
  --beige: #f1ead8;
  --text: #1f1f1f;
  --content-width: min(760px, 100%);
  --content-width-wide: min(1080px, 100%);

  --font: 'neue-haas-grotesk-text', "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: 'neue-haas-grotesk-display', "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.65, 0, .35, 1);

  --shadow-soft: 0 10px 28px rgba(58, 90, 51, .10);
  --shadow-lifted: 0 24px 64px rgba(31, 41, 28, .16);
  --shadow-dialog: 0 30px 90px rgba(20, 28, 18, .28);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #3a5a33;
    --green: #f3cce2;
    --intro-green: #f3cce2;
    --pink: #2f4b2a;
    --text: #f5f1eb;
  }

  .intro { color: #3a5a33; }
}

/* ---------- Reset & base ---------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 400;
  font-synthesis-weight: none;
  color: var(--green);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(36px, 5vw, 72px) 48px 56px;
  width: 100%;
}

/* Impressum/Datenschutz: oben bündig statt vertikal zentriert */
body.view-legal main {
  align-items: flex-start;
}

.wrapper {
  width: var(--content-width);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 auto;
  opacity: 0;
  animation: pageReveal .8s ease forwards 3.8s;
}

/* ---------- Intro animation ---------- */

.intro {
  display: none;
  position: fixed;
  inset: 0;
  justify-content: center;
  align-items: center;
  background: var(--intro-green);
  color: var(--pink);
  z-index: 100;
  pointer-events: none;
  animation:
    introBackgroundFade 1.4s ease forwards 3.1s,
    introFadeOut .8s ease forwards 4.2s;
}

body.intro-enabled .intro { display: flex; }

.intro-logo {
  width: min(72vw, 920px);
  opacity: 0;
  transform: translateY(14px) scale(.985);
  animation:
    introReveal 2.8s var(--ease) forwards .3s,
    introExit 1s var(--ease-out) forwards 3.2s;
}

.intro-logo svg,
.hero-logo svg {
  width: 100%;
  height: auto;
  display: block;
  fill: currentColor;
}

html.intro-skipped .intro { display: none !important; }

html.intro-skipped .wrapper,
html.intro-skipped .hero-logo,
html.intro-skipped .claim,
html.intro-skipped .hero-image,
html.intro-skipped .hero-text,
html.intro-skipped .address,
html.intro-skipped .button-wrap,
html.intro-skipped .opening,
html.intro-skipped .info-block,
html.intro-skipped footer {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* ---------- Hero ---------- */

.hero-word {
  width: 100%;
  margin-bottom: 20px;
}

.hero-logo {
  width: 100%;
  color: var(--green);
  opacity: 0;
  transform: translateY(18px) scale(.985);
  animation: staedtliReveal 1.8s var(--ease) forwards 3.95s;
}

.claim {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1s var(--ease) forwards 4.45s;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.9vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 28px;
}

.hero-image {
  width: 100%;
  margin: 0 0 32px;
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(1.01);
  animation: fadeUpScale 1.1s var(--ease) forwards 4.55s;
  box-shadow: var(--shadow-lifted);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.hero-image:hover img { transform: scale(1.025); }

.hero-text {
  width: 100%;
  max-width: 740px;
  margin-bottom: 32px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.48;
  letter-spacing: -.01em;
  font-weight: 500;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1s var(--ease) forwards 4.65s;
}

.hero-text p + p { margin-top: 14px; }

/* legacy .address used on subpages without hero image */
.address {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1s var(--ease) forwards 4.65s;
  margin-bottom: 28px;
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  font-weight: 500;
  color: var(--green);
}

/* ---------- Button ---------- */

.button-wrap {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1s var(--ease) forwards 4.9s;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: var(--green);
  padding: 17px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: .96rem;
  font-weight: 500;
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
  min-width: 240px;
  box-shadow: var(--shadow-soft);
  transition: background .28s ease, color .28s ease, transform .2s ease, box-shadow .28s ease;
}

.button span {
  display: block;
  transition: transform .28s var(--ease), opacity .28s ease;
}

.button .hover-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
}

.button:hover {
  background: var(--green);
  color: var(--pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lifted);
}

.button:hover .default-text { opacity: 0; transform: translateY(-8px); }
.button:hover .hover-text { opacity: 1; transform: translateY(0); }

/* ---------- Info block (Adresse / Öffnungszeiten) ---------- */

.info-block {
  width: 100%;
  position: relative;
  padding-top: 34px;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1s var(--ease) forwards 5.15s;
}

.info-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pink);
}

.info-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  column-gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.4;
  letter-spacing: -.012em;
  font-weight: 500;
}

.info-address,
.info-hours {
  display: grid;
  gap: 4px;
}

.info-hours {
  justify-self: end;
  width: max-content;
}

.info-hours .info-label { text-align: left; }

.info-label {
  display: block;
  margin-bottom: 15px;
  font-size: .76rem;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .74;
}

.hours-table {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  column-gap: clamp(38px, 5vw, 70px);
  row-gap: 6px;
  font-weight: 500;
}

.hours-table span:nth-child(even) { text-align: right; }

.opening-separator {
  width: 1px;
  height: 100%;
  min-height: 112px;
  background: var(--pink);
}

.address-route {
  display: inline-block;
  margin-top: 10px;
  color: inherit;
  text-decoration: none;
  font-size: .9em;
  font-weight: 500;
  opacity: .75;
  transition: opacity .2s ease;
}

.address-route:hover { opacity: 1; }

@media (max-width: 700px) {
  :root { --content-width: 100%; }

  main { padding: 72px 28px 44px; }
  .intro-logo { width: min(78vw, 520px); }
  .hero-word { width: 100%; margin-bottom: 16px; }
  .claim { margin-bottom: 24px; }
  .hero-image { margin-bottom: 26px; }
  .hero-text, .address { margin-bottom: 26px; }
  .button, .button-wrap { width: 100%; }
  .button-wrap { margin-bottom: 32px; }

  .info-block { padding-top: 30px; }
  .info-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    font-size: clamp(1rem, 4.8vw, 1.32rem);
  }
  .info-address, .info-hours {
    width: 100% !important;
    justify-self: stretch !important;
  }
  .opening-separator {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    min-height: 0 !important;
    background: var(--pink) !important;
  }
  .hours-table {
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    justify-content: stretch !important;
    column-gap: 24px;
  }
}

/* ---------- Footer ---------- */

footer {
  background: var(--pink);
  display: flex;
  justify-content: center;
  padding: 28px 48px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 1s var(--ease) forwards 5.4s;
}

.footer-inner {
  width: var(--content-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-links a + a {
  border-left: 1px solid currentColor;
  opacity: .75;
  padding-left: 32px;
}

footer a {
  color: var(--green);
  text-decoration: none;
  font-size: .96rem;
  font-weight: 500;
  opacity: 1;
  transition: opacity .2s ease;
}

footer a:hover { opacity: .6; }

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  border-left: 0 !important;
  padding-left: 0 !important;
  flex: 0 0 auto;
}

.footer-instagram svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: inherit;
  display: block;
  flex: 0 0 auto;
}

@media (max-width: 700px) {
  footer { padding: 28px; }
  .footer-inner { gap: 20px; flex-wrap: nowrap; }
  .footer-links { gap: 20px; flex-wrap: nowrap; }
  .footer-links a + a { padding-left: 20px; }
  .footer-instagram { gap: 0; }
  .footer-instagram span { display: none; }
  .footer-instagram svg { width: 20px; height: 20px; }
}

/* ---------- Menu overlay (dialog shell) ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 36px);
  background: rgba(58, 90, 51, .84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .3s ease;
}

.menu-overlay.is-open { display: flex; opacity: 1; }

.menu-dialog {
  position: relative;
  width: min(920px, 100%);
  height: min(92vh, 1100px);
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-dialog);
  transform: translateY(12px) scale(.98);
  transition: transform .32s var(--ease);
}

.menu-overlay.is-open .menu-dialog { transform: translateY(0) scale(1); }

.menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 40;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(243, 204, 226, .96);
  color: var(--green);
  font-family: inherit;
  font-size: 1.18rem;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.menu-close:hover {
  transform: scale(.94);
  background: var(--green);
  color: var(--pink);
}

.menu-scroll {
  height: 100%;
  overflow-y: auto;
  padding: clamp(72px, 8vw, 96px) clamp(18px, 4vw, 56px) clamp(28px, 4vw, 56px);
  overscroll-behavior: contain;
}

body.menu-is-open { overflow: hidden; }

@media (max-width: 700px) {
  .menu-overlay { padding: 0; align-items: stretch; }
  .menu-dialog { width: 100%; height: 100svh; max-height: none; border-radius: 0; }
  .menu-close { top: 14px; right: 14px; width: 36px; height: 36px; font-size: 1.1rem; }
  .menu-scroll { padding: 78px 16px 28px; }
}

/* ---------- Web-Speisekarte ---------- */

.menu-dialog-html {
  --menu-bg: #f5f1eb;
  --menu-green: #3a5a33;
  --menu-pink: #f3cce2;
  --menu-beige: #f1ead8;
  --menu-text: #1f1f1f;
  width: min(920px, calc(100vw - 48px));
  height: min(92vh, 1100px);
  background: var(--menu-bg);
  color-scheme: light;
}

.menu-dialog-html .menu-tabs,
.menu-dialog-html .web-menu,
.menu-dialog-html .cafe-section,
.menu-dialog-html .apero-section {
  color-scheme: light;
}

.menu-tabs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 86px 18px 22px;
  background: rgba(245, 241, 235, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 90, 51, .12);
}

.menu-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-tabs a:hover { transform: translateY(-1px); opacity: .88; }

.menu-tabs a:nth-child(1) { background: var(--menu-pink); color: var(--menu-green); }
.menu-tabs a:nth-child(2) { background: var(--menu-beige); color: var(--menu-green); }
.menu-tabs a:nth-child(3) { background: var(--menu-green); color: var(--menu-pink); }

.menu-html-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 74px 0 0;
  background: var(--menu-pink);
  scroll-behavior: smooth;
}

.web-menu {
  width: 100%;
  color: var(--menu-text);
}

.web-menu-section {
  scroll-margin-top: 96px;
  padding: clamp(34px, 6vw, 70px) max(24px, calc((100% - 760px) / 2)) clamp(56px, 8vw, 90px);
}

.cafe-section { background: var(--menu-pink); }
.apero-section { background: var(--menu-beige); }

.web-menu h1 {
  color: var(--menu-text);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 0 0 clamp(30px, 5vw, 46px);
}

.menu-group { margin: 0 0 42px; }
.menu-group:last-child { margin-bottom: 0; }

.menu-group h2,
.wine-group h3 {
  color: var(--menu-text);
  font-size: clamp(1rem, 2.1vw, 1.14rem);
  line-height: 1.25;
  letter-spacing: -.015em;
  font-weight: 500;
  margin: 0 0 10px;
}

.wine-group h3 { margin-top: 18px; margin-bottom: 6px; }

.menu-group h2 span,
.menu-item small {
  font-size: 1em;
  font-weight: inherit;
  color: #666;
}

.menu-item,
.wine-item,
.wine-head {
  display: grid;
  align-items: baseline;
  gap: 16px;
  font-size: clamp(.98rem, 2.1vw, 1.12rem);
  line-height: 1.3;
  letter-spacing: -.012em;
  font-weight: 400;
}

.menu-item {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 6px 0;
  border-bottom: 1px solid rgba(58, 90, 51, .08);
}

.menu-item > span:first-child,
.wine-item > span:first-child { min-width: 0; }

.menu-item > span:last-child,
.wine-item > span:not(:first-child),
.wine-head > span:not(:first-child) {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-note {
  margin: 13px 0 5px;
  font-size: clamp(.98rem, 2.1vw, 1.12rem);
  line-height: 1.25;
  letter-spacing: -.015em;
  font-weight: 500;
}

.menu-note.menu-note-plain { font-weight: 500; }

.wine-head,
.wine-item {
  grid-template-columns: minmax(0, 1fr) 52px 66px 52px;
  padding: 5px 0;
}

.wine-item { border-bottom: 1px solid rgba(58, 90, 51, .08); }

.wine-head {
  color: var(--menu-text);
  font-size: .86rem;
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(58, 90, 51, .22);
}

.allergene p {
  font-size: clamp(.98rem, 2.1vw, 1.12rem);
  line-height: 1.45;
  letter-spacing: -.012em;
  font-weight: 500;
}

.allergene a,
.allergen-link-btn {
  position: relative;
  z-index: 1;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
}

.allergene a:hover,
.allergen-link-btn:hover { opacity: .7; }

@media (max-width: 700px) {
  .menu-dialog-html { width: 100%; height: 100svh; border-radius: 0; }
  .menu-tabs { padding: 14px 74px 14px 14px; gap: 8px; overflow-x: auto; }
  .menu-tabs a { min-height: 36px; padding: 0 15px; font-size: .86rem; }
  .menu-dialog-html .menu-close { top: 14px; right: 14px; width: 36px; height: 36px; font-size: 1.1rem; }
  .menu-dialog-html .menu-tabs { padding-right: 62px; }
  .menu-html-scroll { padding-top: 64px; }
  .web-menu-section { scroll-margin-top: 82px; padding: 34px 22px 64px; }
  .web-menu h1 { font-size: clamp(1.4rem, 7.5vw, 1.9rem); }
  .wine-head, .wine-item { grid-template-columns: minmax(0, 1fr) 42px 54px 42px; gap: 10px; }
}

@media (max-width: 430px) {
  .wine-head, .wine-item {
    grid-template-columns: minmax(0, 1fr) 36px 48px 36px;
    gap: 8px;
    font-size: .92rem;
  }
}

/* ---------- Allergen popup ---------- */

.allergen-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 500;
  background: rgba(20, 28, 18, .5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

.allergen-overlay.is-open { display: flex; }

.allergen-dialog {
  width: min(900px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: var(--bg);
  color: var(--text);
  color-scheme: light;
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow-dialog);
}

.allergen-dialog h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
}

.allergen-dialog h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: -.015em;
  font-weight: 500;
}

.allergen-intro,
.allergen-disclaimer,
.allergen-legend p {
  font-size: .95rem;
  line-height: 1.45;
  letter-spacing: -.012em;
}

.allergen-table { width: 100%; border-collapse: collapse; margin-top: 16px; }

.allergen-table th {
  text-align: left;
  padding: 10px 0;
  border-bottom: 2px solid rgba(31, 31, 31, .25);
  font-size: .9rem;
  font-weight: 500;
}

.allergen-table td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(31, 31, 31, .12);
  vertical-align: top;
  font-size: .92rem;
  line-height: 1.35;
}

.allergen-table td:nth-child(2),
.allergen-table td:nth-child(3),
.allergen-table th:nth-child(2),
.allergen-table th:nth-child(3) {
  text-align: right;
  white-space: nowrap;
  padding-left: 18px;
}

.allergen-section td {
  padding-top: 20px;
  font-weight: 500;
  border-bottom: 2px solid rgba(31, 31, 31, .25);
}

.allergen-close {
  float: right;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--pink);
  color: var(--green);
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.allergen-close:hover { background: var(--green); color: var(--pink); }

@media (max-width: 700px) {
  .allergen-dialog {
    width: 100%;
    height: 100svh;
    max-height: none;
    border-radius: 0;
    padding: 24px 20px 52px;
  }
  .allergen-table td, .allergen-table th { font-size: .84rem; }
  .allergen-table td:nth-child(2),
  .allergen-table td:nth-child(3),
  .allergen-table th:nth-child(2),
  .allergen-table th:nth-child(3) { padding-left: 10px; }
}

/* ---------- Page views (Home / Impressum / Datenschutz) ---------- */

.view {
  width: 100%;
  opacity: 0;
  transition: opacity .22s ease;
}

.view.is-active { opacity: 1; }
.view.is-leaving { opacity: 0; }
.view[hidden] { display: none; }
.view:focus { outline: none; }

.back-link {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--green);
  text-decoration: none;
  font-size: .96rem;
  font-weight: 500;
  transition: opacity .2s ease, transform .2s ease;
}

.back-link:hover { opacity: .65; transform: translateX(-2px); }

.legal-content { width: 100%; max-width: 760px; color: var(--green); }

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--green);
}

.legal-content section { margin-bottom: 36px; }

.legal-content h2 {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -.012em;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--green);
}

.legal-content p,
.legal-content li {
  font-size: .97rem;
  line-height: 1.75;
  color: rgba(31, 31, 31, .82);
  margin-bottom: 12px;
}

.legal-content ul { padding-left: 22px; margin-bottom: 12px; }

.legal-content strong { color: var(--green); }

.legal-content a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity .2s ease;
}

.legal-content a:hover { opacity: .65; }

.legal-content .notice {
  margin-top: 14px;
  padding-top: 32px;
  border-top: 1.5px solid rgba(58, 90, 51, .18);
}

@media (max-width: 700px) {
  .back-link { margin-bottom: 32px; }
  .legal-content h1 { margin-bottom: 28px; }
  .legal-content p { margin-bottom: 20px; }
}

/* ---------- Keyframes ---------- */

@keyframes introReveal { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes introExit { to { opacity: 0; transform: translateY(-10px) scale(1.008); } }
@keyframes introBackgroundFade { to { background: var(--bg); } }
@keyframes introFadeOut { to { opacity: 0; visibility: hidden; } }
@keyframes pageReveal { to { opacity: 1; } }
@keyframes staedtliReveal { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUpScale { to { opacity: 1; transform: translateY(0) scale(1); } }
