/* ==========================================================================
   Horse Vitality & Join – Stylesheet
   ========================================================================== */

/* 01 Fonts (self-hosted, latin subset – DSGVO-freundlich) */
@font-face {
  font-family: "Young Serif";
  src: url("../assets/fonts/young-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../assets/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2")
    format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* 02 Tokens */
:root {
  /* colour */
  --paper: #f8f7f2; /* Seitenhintergrund hell beige */
  --white: #ffffff;
  --main-beige: #d6cea9; /* Hauptfarbton Beige */
  --main-beige-dark: #b8af85; /* Dunkleres Beige für Verläufe/Bordüren */
  --gold: #d3af00; /* Akzent-/Highlight-Farbe Gold */
  --gold-deep: #b09200; /* Dunkleres Gold für Hovers */
  --dark-bg: #3a362a; /* Dunkler Kontrast-Hintergrund (Dunkelbeige/Braun) */
  --dark-bg-deep: #2b281f; /* Sehr dunkler Ton für Hero/Footer */
  --sand-soft: #f2ebd9; /* Weicher Sandton für Flächen */
  --ink: #22201b; /* Textfarbe Dunkel */
  --muted: #615c4d; /* Sekundärer Text */
  --line: #e2dcbf; /* Trennlinien */
  --line-strong: #c4bd9b;

  /* type */
  --font-display:
    "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:
    "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, Roboto,
    sans-serif;

  /* layout */
  --max: 72rem;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --header-h: 4.5rem;
  --radius: 0.75rem;
  --focus: 3px solid var(--gold);
}

/* 03 Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
address {
  margin: 0;
}
ul,
ol {
  padding: 0;
}
address {
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
}
h3 {
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  line-height: 1.15;
}
h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

a {
  color: var(--gold-deep);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}
a:hover {
  color: var(--gold);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible {
  outline-color: var(--gold);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 04 Layout utilities */
.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--dark-bg-deep);
  color: #fff;
  border-radius: 0.5rem;
}
.skip-link:focus {
  top: 0.75rem;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section--paper {
  background: var(--paper);
}
.section--white {
  background: var(--white);
}
.section--hay {
  background: var(--sand-soft);
}
.section--dark {
  background: var(--dark-bg);
  color: #f3f0e6;
}

.section__head {
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.section__cta {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  margin-top: 2.5rem;
}
.section__cta p {
  max-width: 62ch;
}

.prose > * + *,
.prose .split > div > * + * {
  margin-top: 1rem;
}
.prose p {
  max-width: 64ch;
}
.prose--wide p {
  max-width: 80ch;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 1.25rem;
}
.prose h4 {
  margin-top: 1.5rem;
}
.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 500;
}

.container > h2 + .split {
  margin-top: 1.75rem;
}

.media {
  margin: 0;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arch {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--main-beige);
}

/* 05 Buttons & actions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0.6rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.btn--primary {
  background: var(--gold);
  color: var(--dark-bg-deep);
}
.btn--primary:hover {
  background: var(--gold-deep);
  color: #fff;
}
.btn--ghost {
  border-color: var(--dark-bg);
  color: var(--dark-bg);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--dark-bg);
  color: #fff;
}

.on-dark .btn--primary {
  background: var(--gold);
  color: var(--dark-bg-deep);
}
.on-dark .btn--primary:hover {
  background: #fff;
  color: var(--dark-bg-deep);
}
.on-dark .btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.on-dark .btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--dark-bg-deep);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.prose > .actions {
  margin-top: 1.6rem;
}

/* 06 Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(214, 206, 169, 0.95);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line-strong);
}
.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.4rem;
  color: var(--ink);
  text-decoration: none;
}
.brand__logo {
  width: 3rem;
  height: 3rem;
}
.brand__text {
  display: grid;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.brand__sub {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 0.6rem;
  cursor: pointer;
}
.nav-toggle .icon--close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon--open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon--close {
  display: block;
}

.site-nav {
  flex-basis: 100%;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  list-style: none;
  padding-bottom: 0.6rem;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.2rem;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  color: var(--gold-deep);
}
.site-nav a[aria-current="true"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* Dropdown Menu Styles */
.has-dropdown {
  position: relative;
}
.icon--inline {
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.2rem;
  transition: transform 0.2s ease;
}
/* FIX: ".dropdown-menu" allein hatte nur die Spezifität (0,1,0) und
   verlor damit gegen ".site-nav ul { display: flex; }" (Spezifität
   (0,1,1)) weiter oben – das Untermenü war dadurch praktisch IMMER
   sichtbar, egal welche Klasse JS setzte. Mit ".has-dropdown" davor
   liegt die Spezifität jetzt bei (0,2,0) und gewinnt zuverlässig. */
.has-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13.5rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0 !important;
  z-index: 100;
  flex-direction: column !important;
  gap: 0 !important;
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu a {
  padding: 0.6rem 1rem !important;
  font-size: 0.9rem !important;
  border-bottom: none !important;
}
.dropdown-menu a:hover {
  background: var(--main-beige);
  color: var(--ink) !important;
}

@media (min-width: 72rem) {
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    display: flex;
  }
  .has-dropdown:hover .icon--inline {
    transform: rotate(180deg);
  }
}

@media (max-width: 47.99rem) {
  .brand__sub {
    display: none;
  }
  .brand__name {
    font-size: 1.15rem;
  }
}

@media (max-width: 71.99rem) {
  .js .header__inner {
    flex-wrap: nowrap;
  }
  .js .nav-toggle {
    display: inline-flex;
  }
  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.35);
  }
  .js .site-nav.is-open {
    display: block;
  }
  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
    padding: 0.5rem 0 1rem;
  }
  .js .site-nav a {
    padding: 0.85rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav a[aria-current="true"] {
    border-bottom-color: var(--gold);
  }

  /* Korrektur für das Dropdown auf Mobilgeräten */
  /* FIX: auch hier ".has-dropdown" ergänzt (siehe Kommentar oben bei
     der Basis-Regel), sonst gewinnt ".js .site-nav ul" bzw.
     ".site-nav ul" gegen "display: none" und das Menü bleibt offen. */
  .has-dropdown .dropdown-menu {
    position: static;
    display: none; /* Standardmäßig ausgeblendet */
    box-shadow: none;
    border: none;
    padding-left: 1rem !important;
    background: transparent;
  }

  .has-dropdown .dropdown-menu.is-open {
    display: block; /* Aufklappen, wenn 'is-open' aktiv ist */
  }
}

@media (min-width: 72rem) {
  .site-nav {
    flex-basis: auto;
  }
  .site-nav ul {
    padding-bottom: 0;
    gap: 0 0.6rem;
  }
  .site-nav a {
    padding: 0.5rem 0.55rem;
  }
}

/* 07 Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(30rem, 78svh, 46rem);
  padding-block: clamp(3rem, 8vw, 6rem);
  background: var(--dark-bg-deep);
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(43, 40, 31, 0.9),
    rgba(43, 40, 31, 0.75)
  );
}
@media (min-width: 48rem) {
  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(43, 40, 31, 0.95) 0%,
      rgba(43, 40, 31, 0.8) 42%,
      rgba(43, 40, 31, 0.2) 80%
    );
  }
}
.hero__copy {
  max-width: 38rem;
}
.hero h1 {
  font-size: clamp(2.75rem, 1.3rem + 6.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero__copy > * + * {
  margin-top: 1.1rem;
}
.hero__copy p {
  color: rgba(255, 255, 255, 0.93);
}
.hero__copy p a {
  color: var(--main-beige);
}
.hero__copy p a:hover {
  color: #fff;
}
.hero__lead {
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  line-height: 1.45;
  font-weight: 500;
  color: #fff;
}
.hero .actions {
  margin-top: 1.75rem;
}

.credentials-band {
  background: var(--main-beige);
  border-bottom: 1px solid var(--line-strong);
}
.credentials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
}
.credentials li {
  padding: 0.85rem 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
  border-top: 1px solid var(--line-strong);
}
.credentials li:first-child {
  border-top: 0;
}
@media (min-width: 36rem) {
  .credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .credentials li:nth-child(2) {
    border-top: 0;
  }
  .credentials li:nth-child(even) {
    border-inline-start: 1px solid var(--line-strong);
  }
}
@media (min-width: 48rem) {
  .credentials {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .credentials li {
    border-top: 0;
    font-size: 1.25rem;
    padding-block: 1.5rem;
  }
  .credentials li + li {
    border-inline-start: 1px solid var(--line-strong);
  }
}

/* 08 About */
.about {
  display: grid;
  gap: 2rem 4.5rem;
  align-items: center;
}
.about__photo {
  max-width: 16rem;
}
.milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.5rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  list-style: none;
}
.milestones li {
  display: grid;
  gap: 0.3rem;
  align-content: start;
  padding-top: 0.9rem;
  border-top: 2px solid var(--gold);
}
.milestones__year {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold-deep);
}
@media (min-width: 56rem) {
  .about {
    grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
  }
  .about__photo {
    max-width: none;
  }
}

/* 09 Therapies */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
}
.chips a {
  display: inline-flex;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--dark-bg);
  border-radius: 999px;
  font-weight: 600;
  color: var(--dark-bg);
  text-decoration: none;
}
.chips a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark-bg-deep);
}

.services {
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.service {
  display: grid;
  gap: 1.5rem 3.5rem;
  align-items: start;
}
.service__media {
  max-width: 16rem;
}
@media (min-width: 56rem) {
  .service {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  }
  .service:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  }
  .service:nth-child(even) .service__media {
    order: 2;
  }
  .service__media {
    max-width: none;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}
.service--compact {
  grid-template-columns: 1fr;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border-inline-start: 4px solid var(--gold);
  border-radius: 0.5rem;
}

/* 10 Lists */
.list {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.2rem;
}
.list li::marker {
  color: var(--gold-deep);
}
.prose .list {
  max-width: 64ch;
}

.list-trio {
  display: grid;
  gap: 1.75rem 2.5rem;
  margin-top: 1.75rem;
}
.list-trio h4 {
  margin: 0 0 0.6rem;
}
@media (min-width: 64rem) {
  .list-trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .list-trio--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .list-trio--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 11 Split layouts & cards */
.split {
  display: grid;
  gap: 2rem 4rem;
  align-items: center;
}
.split--top {
  align-items: start;
}
.split > .media {
  width: 100%;
  max-width: 22rem;
  justify-self: center;
}
@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .split--even {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .split--reverse {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
  .split--reverse > .media {
    order: -1;
  }
}

.panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--sand-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
}
.list--questions {
  list-style: none;
  padding: 0;
  gap: 0.55rem;
}
.list--questions li {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
  padding-left: 0.9rem;
  border-inline-start: 3px solid var(--gold);
}

.cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
}
.card--wide {
  margin-top: 1.5rem;
}
.card .lead {
  font-size: 1.15rem;
}
@media (min-width: 52rem) {
  .cards--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 12 Prices */
.prices {
  display: grid;
  gap: 2.5rem 5rem;
  align-items: start;
}
.ledger__groups {
  display: grid;
  gap: 2.25rem 3.5rem;
}
.ledger__group h3 {
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold);
  font-size: 1.4rem;
}
.ledger__group ul {
  list-style: none;
}
.ledger__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  padding: 0.6rem 0;
}
.ledger__dots {
  flex: 1 1 1rem;
  min-width: 1rem;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-0.28em);
}
.ledger__value {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ledger__row--ask {
  justify-content: space-between;
}
.ledger__links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.ledger__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--gold-deep);
}
.ledger__link .icon {
  width: 1rem;
  height: 1rem;
}
.ledger__note {
  padding: 0.6rem 0;
  color: var(--muted);
}

@media (min-width: 44rem) {
  .ledger__groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  .prices {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  }
}

/* 13 Testimonials */
.testimonials {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 52rem) {
  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.testimonial {
  margin: 0;
  padding: 1.5rem;
  background: var(--paper);
  border-inline-start: 4px solid var(--gold);
  border-radius: 0.5rem;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
}
.testimonial figcaption {
  margin-top: 0.9rem;
  font-weight: 700;
}

/* 14 Contact & form */
.section--dark h2 {
  color: #fff;
}
.section--dark a {
  color: var(--main-beige);
}
.section--dark a:hover {
  color: #fff;
}
.contact {
  display: grid;
  gap: 2.5rem 5rem;
  align-items: start;
}
.contact__address {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.35;
  color: #fff;
}
.contact__list {
  margin-top: 1.5rem;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.contact__action .lead {
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.25;
  color: #fff;
}
.contact__action .actions {
  margin-top: 1.5rem;
}
@media (min-width: 52rem) {
  .contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
}
.form h3 {
  font-size: 1.5rem;
}
.form__row {
  display: grid;
  gap: 0.35rem;
}
.form__row label {
  font-weight: 700;
  font-size: 0.95rem;
}
.form input:not([type="checkbox"]),
.form select,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 0.5rem;
}
.form__consent input {
  accent-color: var(--gold-deep);
}
.form .btn--primary {
  background: var(--gold);
  color: var(--dark-bg-deep);
  justify-self: start;
}
.form .btn--primary:hover {
  background: var(--gold-deep);
  color: #fff;
}

/* 15 Footer & quickbar */
.site-footer {
  padding-block: 1.75rem;
  background: var(--dark-bg-deep);
  color: var(--main-beige);
  font-size: 0.95rem;
}
.site-footer a {
  color: #fff;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 2rem;
}
.footer__inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
}

.quickbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--dark-bg-deep);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.4);
}
.quickbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.6rem;
  padding: 0.4rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.quickbar a + a {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.18);
}
.quickbar a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

@media (max-width: 55.99rem) {
  body {
    padding-bottom: calc(3.6rem + env(safe-area-inset-bottom));
  }
}
@media (min-width: 56rem) {
  .quickbar {
    display: none;
  }
}

[hidden] {
  display: none !important;
}

/* 16 Motion & Print */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .hero__copy > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__copy > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero__copy > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero__copy > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero__copy > :nth-child(5) {
    animation-delay: 0.32s;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
