/* MaCo Objektpflege · Stylesheet
   Sections: fonts · tokens · base · buttons · header · hero · seasons drawing ·
   services · band · steps · faq · contact · footer · callbar · reveals · media queries */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ground: #f4f1e8;
  --surface: #ebe6d8;
  --raised: #fffdf8;
  --ink: #12261c;
  --ink-soft: #4b5b51;
  --line: #d9d2c0;
  --green: #1f5537;
  --green-deep: #143a26;
  --green-deeper: #0f2d1d;
  --gold: #d4a23c;
  --gold-deep: #b5841f;
  --gold-hover: #c4932c;
  --on-dark: #f1ede2;
  --on-dark-soft: #b8c7bc;

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --gutter: clamp(22px, 4vw, 40px);
  --section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;

  color-scheme: light;
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::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(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 750; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; hyphens: manual; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 18ch; }
.h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 0.6rem; hyphens: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 8px; transition: top 0.2s; }
.skip:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font: 600 1.0625rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px -8px rgb(181 132 31 / 0.6); }
.btn--gold:hover { background: var(--gold-hover); box-shadow: 0 10px 24px -10px rgb(181 132 31 / 0.7); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--ground); }
.btn--line-light { border-color: rgb(241 237 226 / 0.5); color: var(--on-dark); }
.btn--line-light:hover { background: var(--on-dark); color: var(--green-deep); border-color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgb(18 38 28 / 0.35); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; transition: transform 0.4s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 800 1.45rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand__sub { font: 500 0.92rem/1.1 var(--font-display); color: var(--green); letter-spacing: 0.01em; margin-top: 3px; }

.site-nav ul { display: flex; gap: 6px; }
.site-nav a {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 550; text-decoration: none; color: var(--ink-soft);
  transition: color 0.2s, background-color 0.2s;
}
.site-nav a:hover { color: var(--ink); background: var(--surface); }
.site-nav a[aria-current="true"] { color: var(--ink); }
.site-nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-deep); transform: translateX(-50%);
}

.site-header__contact { display: flex; align-items: center; gap: 18px; }

.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; margin-inline: auto;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3.5rem, 2rem + 4vw, 6rem); overflow: clip; }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.hero__text { container-type: inline-size; }
.hero__title { font-size: clamp(2.4rem, 10.4cqi, 5.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; margin-bottom: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.07em; }
.hero__title .line > span { display: inline-block; animation: rise 0.9s var(--ease-out) both; }
.hero__title .line--soft { color: var(--green); font-weight: 650; }
.hero__title .line--soft > span { animation-delay: 0.12s; }
.hero__lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); color: var(--ink-soft); max-width: 36ch; margin-bottom: 2rem; animation: fade-up 0.8s 0.3s var(--ease-out) both; }
/* desktop: number and address as text to copy; phones use the call bar instead */
.hero__contact { display: grid; margin: 0; max-width: 34rem; animation: fade-up 0.8s 0.42s var(--ease-out) both; }
.hero__contact-row { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); align-items: center; gap: 4px 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.hero__contact-row:last-child { border-bottom: 1px solid var(--line); }
.hero__contact dt { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft); }
.hero__contact dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.copy {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0; border: 0; background: none;
  color: var(--ink); font: 600 clamp(1.02rem, 0.95rem + 0.25vw, 1.15rem)/1.3 var(--font-body); text-align: left; cursor: pointer;
}
.copy__value { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color 0.2s; overflow-wrap: anywhere; }
.copy:hover .copy__value { text-decoration-color: var(--gold-deep); }
.copy .icon { width: 18px; height: 18px; color: var(--ink-soft); transition: color 0.2s; }
.copy:hover .icon { color: var(--ink); }
.copy .icon--done { display: none; color: var(--green); }
.copy.is-done .icon--copy { display: none; }
.copy.is-done .icon--done { display: block; }
.copy__status { font-size: 0.85rem; font-weight: 600; color: var(--green); }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Seasons drawing ---------- */
.seasons { margin: 0; position: relative; }
.seasons::before {
  /* sanfter Lichtfleck hinter der Zeichnung, wechselt mit der Jahreszeit */
  content: ""; position: absolute; inset: 8% 6% 18% 10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(212 162 60 / 0.22), transparent);
  transition: background 1.2s;
}
.seasons[data-season="herbst"]::before { background: radial-gradient(closest-side, rgb(196 120 40 / 0.2), transparent); }
.seasons[data-season="winter"]::before { background: radial-gradient(closest-side, rgb(120 160 190 / 0.22), transparent); }

.seasons__art { --sw: 1.8; width: 100%; height: auto; overflow: visible; }
.seasons__art .ln, .seasons__art .ln * { fill: none; stroke: var(--ink); stroke-width: var(--sw); stroke-linecap: round; stroke-linejoin: round; }
.seasons__art .accent, .seasons__art .accent * { stroke: var(--gold-deep); }
.seasons__art .accent-fill { fill: var(--gold); }
.seasons__art .fill-green { fill: rgb(31 85 55 / 0.14); }
.seasons__art .fill-gold { fill: rgb(212 162 60 / 0.38); stroke: var(--gold-deep); }
.seasons__art .fill-ground { fill: var(--ground); }
.seasons__art .ink-fill { fill: var(--ink); stroke: none; }
.seasons__art .snow, .seasons__art .cloud { fill: var(--raised); }
.seasons__art .grass { stroke: var(--green); }
.seasons__art .grit { fill: var(--ink-soft); }
.seasons__art .flake { fill: none; stroke: var(--ink-soft); stroke-width: calc(var(--sw) * 0.85); stroke-linecap: round; }

/* draw-on of the house when the page loads */
.seasons__art .draw { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.8s var(--ease-out) both; }
.seasons__art .base .draw:nth-child(2) { animation-delay: 0.1s; }
.seasons__art .base .draw:nth-child(3) { animation-delay: 0.2s; }
.seasons__art .base .draw:nth-child(4) { animation-delay: 0.25s; }
.seasons__art .base .draw:nth-child(5) { animation-delay: 0.35s; }
.seasons__art .base .draw:nth-child(6),
.seasons__art .base .draw:nth-child(7) { animation-delay: 0.55s; }
.seasons__art .base .draw:nth-child(8),
.seasons__art .base .draw:nth-child(9) { animation-delay: 0.7s; animation-duration: 2.2s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* season layers */
.seasons .s { opacity: 0; transition: opacity 0.9s ease; }
.seasons[data-season="sommer"] .s--sommer,
.seasons[data-season="herbst"] .s--herbst,
.seasons[data-season="winter"] .s--winter { opacity: 1; }

.sun { transform-box: fill-box; transform-origin: center; }
.seasons[data-season="sommer"] .sun { animation: sun-in 1.2s var(--ease-out) both; }
.sun__rays { transform-box: view-box; transform-origin: 520px 86px; animation: spin 40s linear infinite; }
@keyframes sun-in { from { transform: translateY(24px) scale(0.9); } to { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.cloud { animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-10px); } to { transform: translateX(12px); } }

.seasons__art .leaf { stroke-width: var(--sw); stroke-linejoin: round; }
.leaf { transform-box: fill-box; transform-origin: center; animation: leaf-fall 3.4s var(--d, 0s) linear infinite; animation-play-state: paused; }
.seasons[data-season="herbst"] .leaf { animation-play-state: running; }
@keyframes leaf-fall {
  0% { transform: translate(0, -20px) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translate(16px, 30px) rotate(140deg); }
  88% { opacity: 1; }
  100% { transform: translate(-4px, 82px) rotate(280deg); opacity: 0; }
}

.flake { animation: snow 4.4s var(--d, 0s) linear infinite; animation-play-state: paused; }
.seasons[data-season="winter"] .flake { animation-play-state: running; }
@keyframes snow {
  0% { transform: translate(0, -30px); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(14px, 330px); opacity: 0; }
}

.shovel { transform-box: fill-box; transform-origin: bottom center; }
.seasons[data-season="winter"] .shovel { animation: lean 1s 0.3s var(--ease-out) both; }
@keyframes lean { from { transform: rotate(-14deg); opacity: 0; } to { transform: none; opacity: 1; } }

.seasons.is-paused * { animation-play-state: paused !important; }

/* season tabs with progress */
.seasons__tabs { display: flex; justify-content: center; gap: 6px; margin-top: 18px; padding: 5px; width: max-content; margin-inline: auto; background: var(--surface); border-radius: 999px; }
.seasons__tabs button {
  position: relative; overflow: hidden;
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 0.95rem/1 var(--font-body); color: var(--ink-soft); background: transparent;
  transition: color 0.25s, background-color 0.25s;
}
.seasons__tabs button:hover { color: var(--ink); }
.seasons__tabs button[aria-pressed="true"] { background: var(--raised); color: var(--ink); box-shadow: 0 2px 8px -4px rgb(18 38 28 / 0.3); }
.seasons__tabs button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--gold-deep); transform: scaleX(0); transform-origin: left;
}
.seasons.is-cycling .seasons__tabs button[aria-pressed="true"]::after { animation: progress var(--cycle, 5.5s) linear both; }
.seasons.is-paused .seasons__tabs button::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Services (bento) ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.cell { position: relative; display: flex; flex-direction: column; background: var(--raised); border-radius: var(--radius); overflow: hidden; }
.cell__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.cell__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cell:hover .cell__media img { transform: scale(1.045); }
.cell__body { flex: none; padding: clamp(22px, 1.2rem + 1vw, 34px); }
.cell__body > p { color: var(--ink-soft); margin-bottom: 1.1rem; }

.ticks li { position: relative; padding-left: 26px; margin-top: 0.45rem; line-height: 1.45; }
.ticks li::before {
  /* das Dach aus dem Logo als Aufzählungszeichen */
  content: ""; position: absolute; left: 3px; top: 0.5em; width: 9px; height: 9px;
  border-left: 2px solid var(--gold-deep); border-top: 2px solid var(--gold-deep);
  transform: rotate(45deg);
}

.cell--haus { background: var(--green-deep); color: var(--on-dark); }
.cell--haus .cell__body > p { color: var(--on-dark-soft); }
.cell--haus .ticks li::before { border-color: var(--gold); }

/* ---------- Band (Landsberg) ---------- */
.band { position: relative; }
.band__media { position: relative; height: clamp(360px, 52vw, 680px); overflow: hidden; background: var(--green-deep); }
.band__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(15 45 29 / 0.35)); }
.band__inner { position: relative; margin-top: clamp(-200px, -14vw, -90px); }
.band__card {
  max-width: 640px; background: var(--ground); border-radius: var(--radius);
  padding: clamp(26px, 1.5rem + 2vw, 52px);
  box-shadow: 0 30px 60px -40px rgb(18 38 28 / 0.55);
}
.band__card .h2 { margin-bottom: 1.25rem; }
.band__card p { color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps__track { position: relative; }
.steps__line { display: none; }
.steps__list { display: grid; gap: 34px; counter-reset: step; position: relative; }
.step { position: relative; padding-left: 76px; }
.step__dot {
  position: absolute; left: 0; top: -6px;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: var(--ground);
  font: 800 1.35rem/1 var(--font-display);
  box-shadow: 0 0 0 6px var(--ground);
}
.step p { color: var(--ink-soft); max-width: 38ch; }
/* vertical connector on small screens */
.steps__list::before {
  content: ""; position: absolute; left: 27px; top: 20px; bottom: 40px; width: 2px;
  background: var(--gold-deep); transform-origin: top; border-radius: 2px;
}

/* ---------- FAQ ---------- */
.faq { background: var(--surface); }
.faq__grid { display: grid; gap: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font: 650 clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem)/1.3 var(--font-display); letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--raised);
  transition: transform 0.4s var(--ease-out), background-color 0.2s;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq__a { padding: 0 56px 26px 0; color: var(--ink-soft); max-width: 68ch; }
.faq__a a { color: var(--green); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { position: relative; background: var(--green-deep); color: var(--on-dark); padding-block: var(--section); overflow: hidden; }
.contact__grid { display: grid; gap: 40px; align-items: center; }
.contact .h2 { margin-bottom: 1rem; }
.contact__lead { color: var(--on-dark-soft); max-width: 40ch; margin-bottom: 1.5rem; }
.contact__phone {
  display: inline-block; position: relative; margin-bottom: 1.75rem;
  font: 800 clamp(2.4rem, 1.4rem + 5vw, 5.25rem)/1 var(--font-display); letter-spacing: -0.035em;
  color: var(--on-dark); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.contact__phone::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 4px; border-radius: 4px;
  background: var(--gold); transform: scaleX(0.18); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
.contact__phone:hover::after, .contact__phone:focus-visible::after { transform: scaleX(1); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.75rem; }
.contact__mail { display: inline-block; padding-block: 10px; color: var(--on-dark-soft); font-weight: 550; }
.contact__mail:hover { color: var(--on-dark); }
.contact :focus-visible { outline-color: var(--gold); }
.contact__art { display: none; }
.contact__art svg { width: 100%; overflow: visible; }
.contact__art path { fill: none; stroke: rgb(241 237 226 / 0.85); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.contact__window { fill: var(--gold); transform-box: fill-box; transform-origin: center; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 36px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer__brand { margin: 0; }
.site-footer__brand strong { color: var(--ink); font-family: var(--font-display); }
.site-footer__links { display: flex; gap: 22px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; color: var(--ink); }
/* small print: own row under a hairline, copyright and credit together */
.site-footer__credit { flex-basis: 100%; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.site-footer__credit a { color: var(--ink-soft); text-underline-offset: 3px; }
.site-footer__credit a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */
.back-link { font-weight: 600; color: var(--green); }
.legal { max-width: 780px; padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.legal h1 { font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.5rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--green); }
.credits li { margin-top: 0.4rem; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Reveals (only with JS, only with motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal-up { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
  .js .reveal-up.is-in { opacity: 1; transform: none; }

  .js .reveal-clip { clip-path: inset(14% 0 0 0 round var(--radius)); opacity: 0; transform: translateY(24px); transition: clip-path 1s var(--ease-out), opacity 0.7s ease, transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
  .js .reveal-clip.is-in { clip-path: inset(0 0 0 0 round var(--radius)); opacity: 1; transform: none; }
  .js .reveal-clip .cell__media img { transform: scale(1.15); transition: transform 1.6s var(--ease-out); }
  .js .reveal-clip.is-in .cell__media img { transform: scale(1); }
  .js .reveal-clip.is-in:hover .cell__media img { transform: scale(1.045); }


  .js .steps__list::before { transform: scaleY(0); transition: transform 1.4s var(--ease-out); }
  .js .steps.is-in .steps__list::before { transform: scaleY(1); }
  .js .steps__line path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out); }
  .js .steps.is-in .steps__line path { stroke-dashoffset: 0; }
  .js .step { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.8s var(--ease-out); transition-delay: calc(0.2s + var(--i, 0) * 260ms); }
  .js .step__dot { transform: scale(0.4); transition: transform 0.7s var(--ease-out); transition-delay: inherit; }
  .js .steps.is-in .step { opacity: 1; transform: none; }
  .js .steps.is-in .step__dot { transform: none; }

  .js .contact__art path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-out); }
  .js .contact__art .contact__window { transform: scale(0); transition: transform 0.7s 1.6s var(--ease-out); }
  .js .contact.is-in .contact__art path { stroke-dashoffset: 0; }
  .js .contact.is-in .contact__art .contact__window { transform: none; }

  @supports (animation-timeline: view()) {
    .band__media img { animation: parallax linear both; animation-timeline: view(); }
    @keyframes parallax { from { transform: scale(1.12) translateY(-5%); } to { transform: scale(1.12) translateY(5%); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .flake, .leaf { display: none; }
}

/* ---------- Media queries ---------- */
@media (min-width: 640px) {
  /* horizontal cards: photo left at full card height, one reading line on the right */
  .bento { gap: 16px; }
  .cell { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
  .cell__media { aspect-ratio: auto; min-height: 220px; }
  .cell__media img { position: absolute; inset: 0; }
  .cell__body { padding: 22px 26px 24px; }
  .cell .h3 { font-size: 1.3rem; }
  .cell__body > p { margin-bottom: 0.7rem; }
  .cell .ticks li { margin: 0 0 0.3rem; }
}

@media (min-width: 760px) {
  .hero { padding-bottom: clamp(1rem, 2vw, 2rem); }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  .steps { --steps-gap: clamp(24px, 3vw, 48px); }
  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--steps-gap); }
  .steps__list::before { display: none; }
  /* from the first dot's centre to the third dot's centre */
  .steps__line { display: block; position: absolute; left: 28px; top: 8px; width: calc((100% - 2 * var(--steps-gap)) * 2 / 3 + 2 * var(--steps-gap)); height: 40px; overflow: visible; }
  .steps__line path { fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; vector-effect: non-scaling-stroke; }
  .step { padding-left: 0; padding-top: 84px; }
  .step__dot { top: 0; }
}

@media (min-width: 960px) {
  .services .h2 { margin-bottom: 2rem; }
  /* three photo cards in a row, the green Hausmeister card full width below */
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cell { display: flex; }
  .cell__media { aspect-ratio: 16 / 9; min-height: 0; }
  .cell--haus { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .cell--haus .cell__media { aspect-ratio: auto; min-height: 240px; }
  .cell--haus .cell__body { padding: 28px 36px; align-self: center; }
  .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
  .faq__title { position: sticky; top: calc(var(--header-h) + 32px); }
  .contact__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .contact__art { display: block; justify-self: end; width: min(100%, 380px); }
}

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .site-header__contact { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ground); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 20px 30px -24px rgb(18 38 28 / 0.4);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease-out), visibility 0s 0.3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.3s var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 14px 4px; border-radius: 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a[aria-current="true"]::after { display: none; }
}

@media (max-width: 759px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .hero__contact { display: none; }
  .seasons__art { --sw: 2.8; }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgb(244 241 232 / 0.97); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px -18px rgb(18 38 28 / 0.4);
    animation: bar-in 0.7s 0.6s var(--ease-out) both;
  }
  .callbar__btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 54px; border-radius: 14px; text-decoration: none;
    font: 650 1.05rem/1 var(--font-body);
    transition: transform 0.15s;
  }
  .callbar__btn:active { transform: scale(0.97); }
  .callbar__btn--call { background: var(--gold); color: var(--ink); }
  .callbar__btn--wa { background: var(--green); color: var(--on-dark); }
  .contact__actions { display: none; }
  .hero { padding-block: 1.25rem 3rem; }
  .hero__grid { gap: 1.25rem; }
  .hero__title { font-size: clamp(2.1rem, 10.4cqi, 2.9rem); margin-bottom: 1rem; }
  .hero__lead { font-size: 1.0625rem; margin-bottom: 0; }
  .seasons__tabs { margin-top: 10px; }
  .band__media { height: 340px; }
  .band__media img { object-position: 72% 30%; }
  .band__inner { margin-top: -56px; }
  .band__card { margin-inline: -6px; }
}
@keyframes bar-in { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 400px) {
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.3rem; }
  .seasons__tabs button { padding: 0 14px; min-height: 36px; }
  .hero { padding-top: 0.75rem; }
  .hero__title { font-size: 2rem; }
  .hero__grid { gap: 0.75rem; }
}
