/* ==========================================================================
   Schmiedhofgut – Startseite
   ========================================================================== */

@font-face {
  font-family: "Lovelace";
  src: url("../assets/fonts/Lovelace-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FT Sterling";
  src: url("../assets/fonts/FTSterling-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --terracotta: #d06f5c;
  --terracotta-dark: #832613;
  --grey: #6d7279;
  --beige: #eeeae4;
  --rose: #fde0e6;
  --rose-text: #af727c;
  --white: #fff;

  --font-serif: "Lovelace", "Times New Roman", serif;
  --font-sans: "FT Sterling", "Helvetica Neue", Arial, sans-serif;

  --s: 1;                              /* Skalierungsfaktor, 1.2 ab 1601px */
  --container: 1400px;
  --gutter: clamp(20px, 6vw, 100px);
  --section-y: clamp(72px, 9vw, calc(120px * var(--s)));

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* XL: ab 1601px Content-Breite 1920px, alles ×1.2 */
@media (min-width: 1601px) {
  :root {
    --s: 1.2;
    --container: 1700px;
    --gutter: clamp(20px, 6vw, 110px);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: calc(18px * var(--s));
  line-height: 1.55;
  color: var(--grey);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide {
  width: 100%;
  padding-inline: clamp(8px, 1vw, 12px);
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

.label {
  font-family: var(--font-sans);
  font-size: calc(15px * var(--s));
  line-height: 1.5;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.label--dark { color: var(--terracotta-dark); }

.lead {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, calc(35px * var(--s)));
  line-height: 1.35;
  color: var(--grey);
}
.lead--dark { color: var(--terracotta-dark); }

.headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, calc(35px * var(--s)));
  line-height: 1.3;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.body {
  font-size: calc(18px * var(--s));
  line-height: 1.55;
  max-width: calc(500px * var(--s));
  margin-bottom: clamp(36px, 4.5vw, 64px);
}

/* --------------------------------------------------------------------------
   Buttons – Liquid Glass & Varianten
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: calc(32px * var(--s));
  padding: calc(9px * var(--s)) calc(22px * var(--s)) calc(4px * var(--s));
  border: 0;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: calc(15px * var(--s));
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  color: inherit;
  background: transparent;
  transition: background-color .35s ease, color .35s ease, transform .5s var(--ease-out), box-shadow .35s ease;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: calc(30px * var(--s)); padding: calc(8px * var(--s)) calc(18px * var(--s)) calc(3px * var(--s)); }

/* milchiges, halbtransparentes Glas */
.btn-glass,
.btn-group.btn-glass {
  color: var(--white);
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -1px 0 rgba(255, 255, 255, .08),
    0 4px 24px rgba(0, 0, 0, .12);
  border: 1px solid rgba(255, 255, 255, .22);
}
.btn-glass:hover { background: rgba(255, 255, 255, .24); }

.btn-group {
  display: inline-flex;
  padding: 0;
  border-radius: 999px;
}
.btn-group .btn { border-radius: 999px; }
.btn-ghost { color: var(--white); padding-inline: 20px 18px; }
.btn-ghost:hover { color: rgba(255, 255, 255, .8); }

.btn-terracotta {
  color: var(--terracotta-dark);
  background: var(--terracotta);
}
.btn-terracotta:hover { background: #d87b69; }

.btn-rose {
  color: var(--rose-text);
  background: var(--rose);
}
.btn-rose:hover { background: #fbd3db; }

.btn-outline {
  color: var(--terracotta-dark);
  border: 1px solid var(--terracotta-dark);
}
.btn-outline:hover { background: rgba(131, 38, 19, .08); }

.btn-outline-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .6);
}

/* runder Hero-CTA */
.btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 11vw, calc(136px * var(--s)));
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--terracotta-dark);
  font-family: var(--font-serif);
  font-size: calc(15px * var(--s));
  line-height: 1.25;
  text-align: center;
  padding: 18px 16px 14px;
  transition: transform .7s var(--ease-out), background-color .35s ease;
}
.btn-circle:hover { transform: scale(1.06) rotate(-4deg); background: #d87b69; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: clamp(18px, 2.4vw, 30px) clamp(16px, 2.4vw, 30px);
  color: var(--white);
  transition: transform .5s var(--ease-out), background-color .5s ease, padding .5s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(60, 62, 66, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled { padding-block: 12px; }
.site-header.is-hidden { transform: translateY(-110%); }

.site-header > * { position: relative; }
.site-logo { justify-self: center; }
.site-logo img {
  width: clamp(96px, 9vw, calc(118px * var(--s)));
  height: auto;
  transition: width .5s ease;
}
.site-header.is-scrolled .site-logo img { width: 72px; }
.header-actions { justify-self: end; }
.menu-toggle { justify-self: start; }

/* --------------------------------------------------------------------------
   Menü-Overlay
   -------------------------------------------------------------------------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(109, 114, 121, .92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility 0s .5s;
}
.menu[hidden] { display: flex; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s ease; }

.menu-close {
  position: absolute;
  top: clamp(18px, 2.4vw, 30px);
  left: clamp(16px, 2.4vw, 30px);
}
.menu-list {
  display: grid;
  gap: clamp(6px, 1.5vw, 14px);
}
.menu-list a {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
  transition-delay: calc(var(--i) * 60ms + 120ms);
}
.menu.is-open .menu-list a { opacity: 1; transform: none; }
.menu-list a:hover { color: var(--rose); }
.menu-footer {
  display: flex;
  gap: 10px;
  margin-top: clamp(32px, 5vw, 56px);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: -12% 0 0 0;         /* Luft nach oben für Parallax */
  z-index: -2;
  will-change: transform;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  transform: scale(1.08);
  animation: hero-zoom 2.4s var(--ease-out) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 35%),
    linear-gradient(to top, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 45%),
    rgba(40, 35, 30, .18);
}

.hero-content {
  position: relative;
  width: 100%;
  padding-inline: 10vw;    /* Headline-Block = 80% der Fensterbreite */
  padding-top: 140px;      /* Abstand zu Header … */
  padding-bottom: 140px;   /* … und zu CTA / Pfeil */
}

.hero-title-wrap {
  position: relative;
  /* "Glücksmomente" (≈8.1em) + 30% Einzug füllen genau die 80% Breite */
  font-size: 6.9vw;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1em;
  line-height: 1.02;
  letter-spacing: -.005em;
  margin-bottom: 0;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.hero-title .line > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1.2s var(--ease-out);
}
.hero-title .line:nth-child(1) { padding-left: 0; }
.hero-title .line:nth-child(2) { text-align: right; }   /* rechts bündig = gleicher Rand wie Zeile 1 links */
.hero-title .line:nth-child(3) { padding-left: 18.5%; }
.hero-title .line:nth-child(1) > span { transition-delay: .15s; }
.hero-title .line:nth-child(2) > span { transition-delay: .3s; }
.hero-title .line:nth-child(3) > span { transition-delay: .45s; }
.hero.is-loaded .hero-title .line > span { transform: none; }

.hero-illu {
  position: absolute;
  display: block;
  width: .96em;            /* relativ zur Headline-Größe */
  will-change: transform;
}
.hero-illu img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(12px) rotate(-4deg);
  transition: opacity 1s ease, transform 1.2s var(--ease-out);
}
.hero.is-loaded .hero-illu img { opacity: 1; transform: none; }
.hero-illu--kuh  { left: 7%;  top: -.95em; }
.hero-illu--hahn { left: 74%; top: 1.45em; width: .75em; }
.hero-illu--hase { left: 13%; top: 2.35em; width: .65em; }
.hero-illu--kuh img  { transition-delay: .9s; }
.hero-illu--hahn img { transition-delay: 1.05s; }
.hero-illu--hase img { transition-delay: 1.2s; }

.hero-cta {
  position: absolute;
  right: 10vw;
  bottom: clamp(40px, 8vh, 60px);
  opacity: 0;
  transition: opacity 1s ease .9s, transform .7s var(--ease-out), background-color .35s ease;
}
.hero.is-loaded .hero-cta { opacity: 1; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0;
  animation: fade-in 1s ease 1.4s forwards, bob 2.4s ease-in-out 2.4s infinite;
}
@keyframes fade-in { to { opacity: .9; } }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* --------------------------------------------------------------------------
   Sektionen
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section-y); }

.intro { padding-bottom: clamp(56px, 7vw, 100px); }
.intro .lead { max-width: calc(1420px * var(--s)); }

/* Drei Karten */
.cards { padding-top: 0; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 10px);
}
.card {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3.1;
  overflow: hidden;
  border-radius: 2px;
  color: var(--white);
  isolation: isolate;
}
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.4s var(--ease-out);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 40%),
    linear-gradient(to top, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 35%);
  transition: opacity .6s;
}
.card:hover img { transform: scale(1.05); }
.card-title {
  position: absolute;
  z-index: 1;
  top: clamp(28px, 4vw, 48px);
  left: clamp(24px, 3.5vw, 44px);
  right: clamp(24px, 3.5vw, 44px);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(22px, 2.3vw, calc(29px * var(--s)));
  line-height: 1.25;
  max-width: 9em;
}
.card-btn {
  position: absolute;
  z-index: 1;
  bottom: clamp(28px, 4vw, 44px);
  left: clamp(24px, 3.5vw, 44px);
}

/* Split-Layouts (Apartments, Kinder) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
}
.split-text { padding-top: clamp(0px, 2vw, 32px); }
.split-media img {
  width: 100%;
  aspect-ratio: 19 / 20;
  object-fit: cover;
}
.kids .split-media img { aspect-ratio: 17 / 20; object-position: 50% 30%; }

.split--list {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  margin-top: clamp(64px, 10vw, 150px);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}
.apartment-stage {
  position: relative;
  aspect-ratio: 25 / 18;
  overflow: hidden;
}
.apartment-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .7s ease, transform 1.3s var(--ease-out);
}
.apartment-stage img.is-active { opacity: 1; transform: none; }

.apartment-list li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 2px 0;
  transition: color .3s;
}
.apartment-list li a { opacity: .45; }
.apartment-list li a.is-active { opacity: 1; color: var(--terracotta); }
.apartment-list span {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, calc(35px * var(--s)));
  line-height: 1.55;
}
.apartment-list small {
  font-size: calc(15px * var(--s));
  min-width: calc(90px * var(--s));
  text-align: left;
}

/* Familie */
.family {
  background: var(--terracotta);
  color: var(--terracotta-dark);
  padding-top: 0;
}
.family-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 85vh;
  object-fit: cover;
  object-position: 50% 35%;
}
.family-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  column-gap: clamp(40px, 7vw, 110px);
  padding-top: clamp(48px, 8vw, 120px);
}
.family-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}
.family-facade {
  width: 100%;
  max-width: calc(360px * var(--s));
  margin-top: clamp(48px, 12vw, calc(190px * var(--s)));
}
.family-facade img {
  width: 100%;
  aspect-ratio: 7 / 10;
  object-fit: cover;
}
.family-cta { margin-top: auto; }
.family-right .lead { max-width: calc(840px * var(--s)); }
.family-farm { margin-top: clamp(48px, 6vw, 90px); }
.family-farm img {
  width: 100%;
  aspect-ratio: 13 / 10;
  object-fit: cover;
}

/* Erlebnis-Slider */
.experiences { background: var(--beige); }
.experiences .lead { max-width: calc(1420px * var(--s)); }

.slider {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 7vw, 100px);
  --slide-w: clamp(220px, 21vw, calc(262px * var(--s)));
  --slide-gap: calc(10px * var(--s));
}
.slider-viewport {
  overflow: hidden;
  width: auto;
  padding-right: 0;
  max-width: none;
  margin-left: max(0px, calc((100% - var(--container) - 2 * var(--gutter)) / 2));
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.slider-viewport.is-dragging { cursor: grabbing; }
.slider-track {
  display: flex;
  gap: var(--slide-gap);
  will-change: transform;
}
.slider-track.is-animating { transition: transform .8s var(--ease-out); }
.slide {
  flex: 0 0 var(--slide-w);
}
.slide a {
  position: relative;
  display: block;
  aspect-ratio: 26 / 35.5;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.4s var(--ease-out);
  -webkit-user-drag: none;
}
.slide a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 45%);
}
.slide a:hover img { transform: scale(1.06); }
.slide-title {
  position: absolute;
  z-index: 1;
  left: calc(26px * var(--s));
  bottom: calc(24px * var(--s));
  font-size: clamp(24px, 2.3vw, calc(29px * var(--s)));
  line-height: 1.2;
}

.slider-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 28px;
}
.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(46px * var(--s));
  height: calc(46px * var(--s));
  border-radius: 50%;
  border: 1px solid rgba(109, 114, 121, .4);
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  transition: background-color .3s, color .3s, opacity .3s;
}
.slider-btn:hover { background: var(--grey); color: var(--white); }
.slider-btn:disabled { opacity: .3; pointer-events: none; }

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

.site-footer {
  background: var(--grey);
  color: var(--white);
  padding-block: clamp(64px, 8vw, 100px) clamp(56px, 7vw, 90px);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 120px);
  align-items: center;
}
.footer-badge { width: calc(96px * var(--s)); height: auto; }
.footer-col h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: calc(25px * var(--s));
  line-height: 1.2;
  margin-bottom: calc(26px * var(--s));
}
.footer-col p { font-size: calc(18px * var(--s)); line-height: 1.55; }
.footer-col a { transition: opacity .3s; }
.footer-col a:hover { opacity: .7; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  margin-top: clamp(48px, 6vw, 80px);
  font-size: calc(12px * var(--s));
  letter-spacing: .02em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links li + li::before {
  content: "•";
  margin-inline: 20px;
  opacity: .8;
}
.footer-links a:hover,
.footer-social:hover { opacity: .7; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity .3s;
}

/* --------------------------------------------------------------------------
   Reveal-Animationen (FadeIn / SlideIn)
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transition: opacity 1s ease var(--delay, 0s), transform 1.1s var(--ease-out) var(--delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="slide-up"]    { transform: translateY(36px); }
[data-reveal="slide-left"]  { transform: translateX(48px); }
[data-reveal="slide-right"] { transform: translateX(-48px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .split,
  .split--list { gap: clamp(32px, 5vw, 60px); }
  .footer-grid {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-col--service { grid-column: 2; }
}

@media (max-width: 800px) {
  body { font-size: 17px; }

  .btn-ghost { display: none; }

  .hero-content { padding-inline: var(--gutter); }
  .hero-title .line:nth-child(3) { padding-left: 6%; }
  .hero-title-wrap { font-size: clamp(34px, 9.2vw, 64px); }
  .hero-illu--kuh  { left: auto; right: 4%; top: -1.5em; width: 1.4em; }
  .hero-illu--hahn { left: auto; right: 2%; top: 2.3em; width: 1.1em; }
  .hero-illu--hase { left: 2%; top: 3em; width: 1em; }
  .hero { align-items: flex-end; }
  .hero-content { padding-top: 140px; padding-bottom: 210px; }
  .hero-cta { right: auto; left: var(--gutter); bottom: 64px; }
  .hero-scroll { bottom: 28px; left: auto; right: var(--gutter); transform: none; }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .card { aspect-ratio: 4 / 5; }

  .split,
  .split--list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split--text-first .split-media { order: -1; }
  .split--list { margin-top: 64px; }
  .split-media img,
  .kids .split-media img { aspect-ratio: 4 / 3; }
  .apartment-stage { aspect-ratio: 4 / 3; }
  .apartment-list li a { opacity: 1; }
  .body { max-width: none; }

  .family-grid { display: flex; flex-direction: column; gap: 0; }
  .family-left { display: contents; }
  .family-right { display: contents; }
  .family-left .label { order: 1; }
  .family-right .lead { order: 2; }
  .family-facade { order: 3; max-width: none; margin-top: 40px; }
  .family-facade img { aspect-ratio: 4 / 5; }
  .family-farm { order: 4; margin-top: 12px; }
  .family-farm img { aspect-ratio: 4 / 3; }
  .family-cta { order: 5; margin-top: 40px; align-self: flex-start; }

  .slider { --slide-w: min(72vw, 300px); }
  .slider-nav { justify-content: flex-start; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-badge { grid-column: 1 / -1; }
  .footer-col--service { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links li + li::before { margin-inline: 12px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-links li + li::before { display: none; }
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .hero-illu img, .hero-cta { opacity: 1; transform: none; }
  .hero-illu { transform: none !important; }
  .hero-scroll { opacity: .9; }
  .hero-bg { transform: none !important; }
  .hero-bg img { transform: none; animation: none; }
}
