/* ==========================================================================
   TastenReich Orgelbau – Website
   Corporate Design aus dem Logo: Pfeifenblau #0E3083 · Tiefschwarz #1A171B · Antiqua → Cormorant Garamond
   Hausregeln (taste-skill): keine Etiketten über Überschriften, keine Haarlinien, Rahmen, Schatten,
   Verläufe oder Milchglas – Flächen werden durch Tonstufen getrennt, Text steht in voller Tinte.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }

:root {
  color-scheme: only light;  /* the design is light only: keep browsers' automatic dark modes from recolouring it */
  /* colour roles */
  --blue: #0e3083;          /* accent: actions, links, the services field */
  --blue-700: #0b2669;
  --blue-900: #071a45;      /* dark fields */
  --blue-300: #b9c6ea;      /* text on dark fields */
  --ink: #1a171b;           /* all running text */
  --muted: #5d5a62;         /* secondary notes only */
  --paper: #f6f6f4;         /* page ground: low-chroma bone */
  --stone: #ebeae6;         /* one tone step */
  --stone-2: #e1dfda;       /* second tone step */
  --white: #fff;
  /* type */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.6rem, 6.4vw, 5.8rem);
  --fs-h2: clamp(2rem, 3.6vw, 3rem);
  --fs-h3: 1.5rem;
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  /* frame */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 92px;
  --section: clamp(96px, 12vw, 176px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--sans); font-kerning: normal;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.12; }
p { margin: 0 0 1em; }
sup, sub { line-height: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display { font: 500 var(--fs-display)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.display__sub { display: block; color: var(--blue); font: 500 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--serif); margin: .35em 0 0; letter-spacing: -.01em; }
h1 .display__sub { font-size: .5em; }
.display-2 { font: 500 var(--fs-h2)/1.05 var(--serif); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.display-3 { font: 600 var(--fs-h3)/1.15 var(--serif); color: var(--ink); }
.lead, .lead p { font-size: var(--fs-h3); line-height: 1.45; color: var(--ink); font-family: var(--serif); font-weight: 500; }
.pipes { width: 22px; height: 26px; fill: var(--blue); display: block; }
.pipes--low { width: 28px; }

.prose { max-width: 68ch; }
.prose p, .prose li { hyphens: auto; -webkit-hyphens: auto; }
.prose h2 { font: 600 1.75rem/1.2 var(--serif); margin: 1.6em 0 .5em; }
.prose h3 { font: 600 1.25rem/1.25 var(--sans); margin: 1.5em 0 .5em; }
.prose h4 { font: 600 var(--fs-body)/1.3 var(--sans); margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.15em; margin: 0 0 1.2em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--blue); }
.prose strong { font-weight: 600; }
.prose--legal { max-width: 74ch; }
.legal-stand { margin-top: 2.5em; color: var(--muted); font-size: var(--fs-small); }
.fr { white-space: nowrap; font-size: .92em; }
.fr sup { font-size: .68em; vertical-align: .55em; }
.fr sub { font-size: .68em; vertical-align: -.08em; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .9em 1.6em; border: 0;
  background: var(--blue); color: #fff; text-decoration: none; cursor: pointer;
  font: 600 var(--fs-body)/1 var(--sans);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--blue-700); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: var(--stone); color: var(--blue); }
.btn--ghost:hover { background: var(--stone-2); color: var(--blue-700); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--blue-300); color: var(--blue-900); }
.btn--ghost-light { background: var(--blue-700); color: #fff; }
.btn--ghost-light:hover { background: var(--blue-900); color: #fff; }
.link-arrow { font: 600 var(--fs-body)/1.2 var(--sans); text-decoration: none; display: inline-flex; gap: .5em; align-items: center; }
.link-arrow { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link-arrow:hover { text-decoration-color: var(--blue-700); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(7, 26, 69, .5); } /* taste-skill-ignore: sticky bar floats over content */
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.is-scrolled .site-header__in { height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 74px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 56px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font: 600 var(--fs-body)/1 var(--sans); position: relative; }
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current]::after { transform: scaleX(1); }
.main-nav > ul > li > a[aria-current] { color: var(--blue); }
.sub-toggle { display: none; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 320px; list-style: none; margin: 0; padding: 14px;
  background: #fff; box-shadow: 0 18px 40px -20px rgba(7, 26, 69, .45); /* taste-skill-ignore: dropdown menu floats */
  display: none; grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: grid; }
.sub a { display: block; padding: 9px 6px; text-align: center; text-decoration: none; color: var(--ink); font: 500 1.2rem/1 var(--serif); background: var(--paper); }
.sub a:hover, .sub a[aria-current] { color: #fff; background: var(--blue); }
.sub__all { grid-column: 1 / -1; }
.sub__all a { font: 600 var(--fs-small)/1.2 var(--sans); color: var(--blue); text-align: left; padding: 6px 6px 12px; background: none; }
.sub__all a:hover { background: none; color: var(--blue-700); text-decoration: underline; }
.nav-cta { text-decoration: none; color: #fff; background: var(--blue); font: 600 var(--fs-body)/1 var(--sans); padding: 12px 16px; white-space: nowrap; transition: background-color .25s; }
.nav-cta:hover { background: var(--blue-700); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  :root { --header-h: 76px; }
  .brand img { height: 60px; }
  .is-scrolled .brand img { height: 50px; }
  .is-scrolled .site-header__in { height: 66px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: var(--stone); border: 0; padding: 12px 16px; cursor: pointer;
    font: 600 1rem/1 var(--sans); color: var(--ink); position: relative; z-index: 2;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease), background .3s; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-open .nav-toggle { color: #fff; background: var(--blue-700); }
  .nav-open .nav-toggle__bars { background: transparent; }
  .nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: var(--blue-900); padding: calc(var(--header-h) + 20px) var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; gap: 4px; }
  .main-nav > ul > li { flex-wrap: wrap; }
  .main-nav > ul > li > a { color: #fff; font: 500 2.1rem/1.1 var(--serif); padding: 12px 0; flex: 1; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav > ul > li > a[aria-current] { color: var(--blue-300); }
  .sub-toggle { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 0; color: #fff; cursor: pointer; }
  .sub-toggle span { width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
  .sub-toggle[aria-expanded="true"] span { transform: rotate(-135deg); }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .sub, .has-sub .sub.is-open { position: static; box-shadow: none; background: transparent; padding: 0 0 16px; width: 100%; min-width: 0; } /* taste-skill-ignore: removes the dropdown shadow */
  .has-sub .sub.is-open { display: grid; }
  .sub a { color: #fff; background: var(--blue-700); }
  .sub a:hover, .sub a[aria-current] { background: #fff; color: var(--blue-900); }
  .sub__all a { color: var(--blue-300); background: none; }
  .nav-cta { margin-top: 28px; align-self: flex-start; font-size: 1.25rem; background: #fff; color: var(--blue-900); }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--blue-900); box-shadow: none; } /* taste-skill-ignore: removes shadow */
  body.nav-open .brand { position: relative; z-index: 2; filter: brightness(0) invert(1); }
}

/* ---------- hero slideshow ---------- */
.hero { position: relative; height: clamp(560px, calc(100svh - var(--header-h)), 920px); overflow: hidden; background: var(--blue-900); color: #fff; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 0s linear 1.4s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.4s var(--ease), visibility 0s; z-index: 1; }
.slide picture, .slide__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide picture { z-index: 0; }
.slide__img { object-fit: cover; transform: scale(1.02); will-change: transform; }
.slide:nth-child(3n+1) .slide__img { transform-origin: 30% 40%; }
.slide:nth-child(3n+2) .slide__img { transform-origin: 70% 30%; }
.slide:nth-child(3n) .slide__img { transform-origin: 50% 70%; }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .slide__img { animation: kenburns 9s linear both; }
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.11); } }
.hero__veil { display: none; }
/* neutral scrim under the text on the photograph (the one allowed gradient) */
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(7, 18, 40, .55) 0%, rgba(7, 18, 40, .22) 100%), /* taste-skill-ignore: scrim */
              linear-gradient(0deg, rgba(7, 18, 40, .6) 0%, rgba(7, 18, 40, 0) 28%); /* taste-skill-ignore: scrim */
}
.slide__cap {
  position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 32px;
  display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 4px;
  color: #fff; text-decoration: none; max-width: min(420px, 40vw);
  background: rgba(7, 18, 40, .55); padding: 12px 16px;
}
.slide__meta { font: 600 var(--fs-small)/1.2 var(--sans); color: var(--blue-300); }
.slide__title { font: 500 var(--fs-h3)/1.2 var(--serif); }
.slide__more { font: 600 var(--fs-small)/1.2 var(--sans); display: inline-flex; gap: .5em; }
.slide__more { text-decoration: underline; text-underline-offset: .25em; }
.slide__cap:hover { color: #fff; background: rgba(7, 18, 40, .8); }

.hero__ui { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-block: 72px 96px; pointer-events: none; }
.hero__claim { max-width: 860px; pointer-events: auto; }
.hero__h { font: 500 var(--fs-display)/.98 var(--serif); letter-spacing: -.02em; margin: 0; color: rgba(255, 255, 255, .88); text-wrap: balance; }
.hero__lead { margin: 36px auto 0; max-width: 34ch; font: 500 var(--fs-h3)/1.35 var(--serif); color: rgba(255, 255, 255, .88); }
.hero__actions { margin: 32px 0 0; }
.hero__controls { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; align-items: center; justify-content: flex-end; gap: 22px; pointer-events: auto; }
@media (min-width: 1321px) { .hero__controls { left: calc((100vw - var(--wrap)) / 2); right: calc((100vw - var(--wrap)) / 2); } }
.hero__progress { display: flex; gap: 6px; }
.hero__progress span { width: 28px; height: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; cursor: pointer; position: relative; }
.hero__progress span::before { content: ""; position: absolute; inset: -10px 0; }
.hero__progress i { display: block; height: 100%; width: 0; background: #fff; }
.hero__progress span.is-done i { width: 100%; }
.hero__progress span.is-active i { animation: progress var(--dur, 6500ms) linear forwards; }
.hero.is-paused .hero__progress span.is-active i { animation-play-state: paused; }
@keyframes progress { from { width: 0; } to { width: 100%; } }
.hero__btns { display: flex; gap: 8px; }
.hero__btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .25s; }
.hero__btn:hover { background: rgba(255, 255, 255, .32); }
.hero__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__btn .i-play { display: none; fill: currentColor; stroke: none; }
.hero.is-paused .hero__btn .i-play { display: block; }
.hero.is-paused .hero__btn .i-pause { display: none; }
@media (max-width: 760px) {
  .hero { height: max(calc(100svh - var(--header-h)), 600px); }
  .slide::before { background: radial-gradient(ellipse 90% 50% at 50% 50%, rgba(7, 18, 40, .6) 0%, rgba(7, 18, 40, .3) 100%), linear-gradient(0deg, rgba(7, 18, 40, .6) 0%, rgba(7, 18, 40, 0) 25%); } /* taste-skill-ignore: scrim */
  .slide__cap { top: 16px; right: var(--gutter); max-width: calc(100vw - 2 * var(--gutter)); padding: 10px 12px; }
  .slide__title { font-size: 1.1rem; }
  .hero__ui { padding-block: 96px 92px; }
  .hero__lead { margin-top: 24px; }
  .hero__actions { margin-top: 24px; }
  .hero__controls { bottom: 24px; gap: 12px; }
  .hero__progress { flex: 1; }
  .hero__progress span { flex: 1; width: auto; }
  .hero__btn { width: 42px; height: 42px; }
}

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0 var(--section); }
.section--stone { background: var(--stone); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__text p { font-size: 1.15rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.two-col { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .two-col > div:first-child { position: static; } }

/* intro (home) */
.intro { padding: var(--section) 0; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.intro__head .display-2 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.intro__text { font-size: var(--fs-body); }
.intro__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2em; }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } }

/* services: a whole field of the logo blue */
.services { padding: var(--section) 0; background: var(--blue); color: #fff; }
.services__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.services__aside { position: relative; }
.services__h { color: #fff; margin: 0; }
/* a hinted rule under the heading, in the light colour of the bands, fading out to the right */
.services__h::after {
  content: ""; display: block; width: min(220px, 100%); height: 2px; margin-top: 22px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .2) 45%, rgba(255, 255, 255, 0) 100%); /* taste-skill-ignore: hinted rule under the heading */
}
/* a small organ front, one pipe per service; the pipe of the service under the pointer lights up */
.pipes { display: block; width: 100%; height: auto; max-width: 240px; margin-top: clamp(40px, 5vw, 64px); }
.pipe { fill: rgba(255, 255, 255, .2); }
.pipe .pipe__mouth { fill: var(--blue); }
/* lighting up: a soft-edged glow rises from the foot to the top of the pipe; going out, it slowly fades */
.pipe__glow {
  transform-box: fill-box; transform: translateY(100%); opacity: 0;
  transition: opacity 1.6s cubic-bezier(.4, 0, .2, 1), transform 0s linear 1.6s;
}
.pipe.is-lit .pipe__glow {
  transform: none; opacity: 1;
  transition: transform 2.4s cubic-bezier(.45, 0, .25, 1), opacity .8s ease-out;
}
@media (prefers-reduced-motion: reduce) { .pipe__glow, .pipe.is-lit .pipe__glow { transition-duration: .01s; transition-delay: 0s; } }
.services__list { list-style: none; margin: 0; padding: 0; }
.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 40px; padding: 36px 28px 38px; }
/* every second service on a band across the whole section: clear edges, the colour of the unlit pipes
   building up from the left edge of the section (gradient fixed to the viewport so it spans the full width) */
.services { isolation: isolate; overflow-x: clip; }
.service { position: relative; }
/* alternating: odd services flush left (title, then text), even services flush right and mirrored (text, then title) */
.service:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); text-align: right; }
.service:nth-child(even) h3 { grid-column: 2; grid-row: 1; }
.service:nth-child(even) .service__d { grid-column: 1; grid-row: 1; }
.service:nth-child(even)::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: -100vw;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .2) 55%, rgba(255, 255, 255, .2) 100%) fixed; /* taste-skill-ignore: band in the pipe colour */
}
.service h3 { font: 500 var(--fs-h3)/1.15 var(--serif); color: var(--blue-300); margin: 0; text-wrap: balance; transition: color .35s var(--ease); }
.service:hover h3, .service:focus-within h3 { color: #fff; }
.service p { margin: 0; color: #fff; }
.service__d p + p { margin-top: 14px; }
.service__link { font: 600 var(--fs-small)/1.2 var(--sans); color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-decoration-thickness: 1px; text-underline-offset: .35em; transition: text-decoration-color .25s; }
.service__link:hover, .service:hover .service__link { color: #fff; text-decoration-color: #fff; }
@media (max-width: 900px) {
  .services__layout { grid-template-columns: 1fr; }
  .services__aside { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-inline: 28px; }
  .pipes { max-width: 120px; margin: 0; }
  .service:nth-child(even)::before { left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); background-attachment: scroll; }
}
@media (max-width: 620px) {
  .service, .service:nth-child(even) { grid-template-columns: 1fr; padding: 30px 18px 32px; }
  .service:nth-child(even) h3, .service:nth-child(even) .service__d { grid-column: auto; grid-row: auto; }
  .services__aside { padding-inline: 18px; }
}

/* cards */
.latest { padding: var(--section) 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); transition: background-color .3s var(--ease); }
.card:hover { color: inherit; background: var(--stone); }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.045); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__year { font: 600 var(--fs-small)/1 var(--sans); color: var(--blue); }
.card__title { font: 600 1.5rem/1.15 var(--serif); }
.card__sub { margin: 0; }

.card:hover .card__title { color: var(--blue); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card__title { font-size: 1.25rem; } }

/* members */
.members { padding: 0 0 var(--section); }
.members__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.members__text p { margin: 0 0 .25em; }
.members__text p:first-child { font: 600 1.5rem/1.25 var(--serif); margin-bottom: 1em; }
.members__text p:first-child strong { font-weight: 600; }
.members__text a { font-weight: 600; text-decoration: none; }
.members__text a:hover { text-decoration: underline; }
.members__text p:has(a) { margin-bottom: 1.1em; }
.members__logos { background: #fff; padding: 28px; width: 100%; }
.insta-card { margin-top: 12px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; text-decoration: none; color: var(--ink); transition: background-color .25s; }
.insta-card:hover { background: var(--stone); color: var(--ink); }
.insta-card svg, .insta svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.6; flex: none; }
.insta-card svg .fill, .insta svg .fill { fill: var(--blue); stroke: none; }
.insta-card span { display: flex; flex-direction: column; }
.insta-card strong { font: 600 var(--fs-body)/1.3 var(--sans); color: var(--blue); }
@media (max-width: 900px) { .members__grid { grid-template-columns: 1fr; } }

/* call to action band */
.cta-band { background: var(--blue-900); color: #fff; padding: clamp(64px, 8vw, 104px) 0; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band .pipes { fill: var(--blue-300); margin-bottom: 18px; }
.cta-band__t { font: 500 clamp(2rem, 3.6vw, 3rem)/1.08 var(--serif); margin: 0; max-width: 640px; color: #fff; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); background: #fff; }
.page-hero .display { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.page-hero .lead { margin-top: 28px; max-width: 760px; }
.page-hero__lead { margin: 24px 0 0; font: 500 var(--fs-h3)/1.35 var(--serif); }
.contact__img { margin: calc(-1 * clamp(28px, 4vw, 44px)) calc(-1 * clamp(28px, 4vw, 44px)) 28px; }
.contact__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero .lead p { margin-bottom: .6em; }
.crumbs { font: 400 var(--fs-small)/1.3 var(--sans); color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 .45em; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.split .btn { margin-top: 10px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__img { max-width: 520px; } }
.stats { display: flex; gap: clamp(24px, 4vw, 64px); margin: 40px 0 0; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font: 600 var(--fs-small)/1.3 var(--sans); }
.stats dd { margin: 0 0 6px; font: 500 3.4rem/1 var(--serif); color: var(--blue); }

/* year page hero */
.page-hero--year { padding-bottom: 0; }
.page-hero__year { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: end; padding-bottom: clamp(32px, 5vw, 56px); }
.bigyear { font: 500 clamp(3.2rem, 8vw, 6.8rem)/.95 var(--serif); color: var(--blue); letter-spacing: -.03em; font-variant-numeric: lining-nums; text-wrap: balance; }
.toc { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.toc li { break-inside: avoid; margin-bottom: 6px; }
.toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); font: 500 var(--fs-h3)/1.25 var(--serif); transition: color .2s; }
.toc a:hover { color: var(--blue); }
@media (max-width: 900px) { .page-hero__year { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .toc { columns: 1; } }

.years ul { list-style: none; margin: 0; padding: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.years ul { gap: 4px 22px; }
.years a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); font: 500 var(--fs-h3)/1 var(--serif); transition: color .2s; }
.years a:hover { color: var(--blue); text-decoration: underline; }
.years a[aria-current] { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.timeline-sec .years { margin-bottom: 24px; }
@media (min-width: 901px) { .timeline-sec .years { position: sticky; top: calc(var(--header-h) - 1px); z-index: 5; background: var(--paper); } }

/* ---------- projects ---------- */
.projects { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.project { scroll-margin-top: calc(var(--header-h) + 16px); }
.project__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.project__top:not(:has(.project__lead)) { grid-template-columns: 1fr; }
.project__title { font: 500 clamp(2rem, 3.6vw, 3.1rem)/1.06 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.project__subtitle { margin: 18px 0 0; font: 500 1.5rem/1.3 var(--serif); color: var(--blue); }
.project__facts { margin: 22px 0 0; font: 400 var(--fs-small)/1.4 var(--sans); color: var(--muted); }
.project__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.project__top:has(.project__lead) + .project__gallery { margin-left: calc((100% - clamp(28px, 5vw, 72px)) * 7 / 12 + clamp(28px, 5vw, 72px)); }
.project__body { margin-top: clamp(32px, 4vw, 52px); }
.divider { display: flex; justify-content: center; margin: clamp(88px, 10vw, 144px) 0; }
.divider .pipes { opacity: .55; }
@media (max-width: 900px) {
  .project__top { grid-template-columns: 1fr; align-items: start; }
  .project__lead { max-width: 520px; }
  .project__top:has(.project__lead) + .project__gallery { margin-left: 0; max-width: 520px; grid-template-columns: repeat(3, 1fr); }
}

/* tiles (4:5) */
.tile { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile .tile__doc { object-fit: contain; padding: 10%; background: #fff; }
.tile--wide { max-width: 420px; }
.inline-fig { margin: 8px 0 28px; }

/* ---------- disposition (a real data table: columns per division) ---------- */
.dispo { margin: clamp(32px, 4vw, 52px) 0; background: #fff; padding: clamp(24px, 3vw, 40px); max-width: 1100px; }
.dispo__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 20px; }
.dispo__title { font: 500 2rem/1.1 var(--serif); }
.dispo__label { margin: 0; font: 500 1.35rem/1.2 var(--serif); color: var(--blue); }
.dispo__grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 28px 40px; }
.dispo__div { padding: 4px 0 8px; min-width: 0; }
.dispo__werk { font: 600 var(--fs-body)/1.3 var(--sans); color: var(--blue); margin-bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
.dispo__range { font: 400 var(--fs-small)/1.2 var(--sans); color: var(--muted); }
.dispo__regs { list-style: none; margin: 0; padding: 0; }
.dispo__regs li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 3px 0; line-height: 1.35; }
.dispo__regs .rg { min-width: 0; }
.dispo__regs .ft { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; font-weight: 600; }
.dispo__regs .rn { color: var(--muted); font-size: .9em; }
.dispo__regs .mk { color: var(--blue); font-weight: 600; margin-left: 1px; font-size: .8em; }
.dispo__regs .is-ext .rg, .dispo__regs .is-ext .ft { font-style: italic; color: var(--blue); }
.dispo__regs .grp { display: block; font: 600 var(--fs-small)/1.3 var(--sans); color: var(--muted); padding: 12px 0 4px; }
.dispo__regs .grp:first-child { padding-top: 0; }
.dispo__regs .acc-sep { display: block; height: 10px; padding: 0; }
.dispo__regs .acc .rg { color: var(--muted); font-style: italic; }
.dispo__meta { margin: 12px 0 0; display: grid; gap: 6px; }
.dispo__meta > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 20px; background: var(--paper); }
.dispo__meta dt { font: 600 var(--fs-body)/1.5 var(--sans); }
.dispo__meta dd { margin: 0; }

.dispo__notes { list-style: none; margin: 14px 0 0; padding: 0; color: var(--muted); font-size: var(--fs-small); }
.dispo__notes li { margin: 3px 0; }
@media (max-width: 1000px) { .dispo__grid { grid-template-columns: repeat(min(var(--cols), 2), minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .dispo { padding: 20px 16px; margin-left: calc(-1 * var(--gutter) / 2); margin-right: calc(-1 * var(--gutter) / 2); }
  .dispo__grid { grid-template-columns: 1fr; }
  .dispo__meta > div { grid-template-columns: 1fr; gap: 2px; }
}

/* pager (year pages) */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-bottom: clamp(64px, 8vw, 112px); }
.pager a { text-decoration: none; color: var(--ink); }
.pager__prev, .pager__next { display: flex; flex-direction: column; font: 500 2.4rem/1 var(--serif); gap: 8px; }
.pager__prev span, .pager__next span { font: 600 var(--fs-small)/1 var(--sans); color: var(--muted); }
.pager__next { text-align: right; align-items: flex-end; }
.pager__prev:hover, .pager__next:hover { color: var(--blue); }
.pager__all { font: 600 var(--fs-body)/1 var(--sans); padding: 14px 20px; background: var(--stone); }
.pager__all:hover { background: var(--blue); color: #fff; }

/* ---------- timeline (Was wir tun) ---------- */
.timeline-sec { padding: clamp(40px, 5vw, 64px) 0 var(--section); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__year { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: 48px 0; scroll-margin-top: calc(var(--header-h) + 80px); }
.timeline__year + .timeline__year { margin-top: 8px; }
.timeline__mark { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.timeline__y { display: block; font: 500 clamp(3.4rem, 6vw, 5rem)/.9 var(--serif); color: var(--blue); text-decoration: none; letter-spacing: -.02em; }
.timeline__y:hover { color: var(--blue-700); }
.timeline__n { display: block; margin-top: 12px; font: 600 var(--fs-small)/1 var(--sans); color: var(--muted); }
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.timeline__list a { display: flex; gap: 16px; align-items: center; padding: 10px; margin: -10px; text-decoration: none; color: var(--ink); transition: background-color .2s, color .2s; }
.timeline__list a:hover { background: #fff; color: var(--blue); }
.tl__img { width: 88px; flex: none; aspect-ratio: 4 / 5; background: var(--stone-2); overflow: hidden; display: grid; place-items: center; }
.tl__img img { width: 100%; height: 100%; object-fit: cover; }
.tl__ph .pipes { width: 18px; opacity: .45; }
.tl__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tl__t { font: 600 1.2rem/1.2 var(--serif); }
.tl__s { font-size: var(--fs-small); color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) {
  .timeline__year { grid-template-columns: 1fr; gap: 18px; }
  .timeline__mark { position: static; display: flex; align-items: baseline; gap: 16px; }
  .timeline__list { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.feature-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }

.feature-list h3 { font: 600 1.4rem/1.2 var(--serif); }
.feature-list p { margin: 0; }
.feature-list--plain li { grid-template-columns: 1fr; gap: 6px; }
@media (max-width: 700px) { .feature-list li { grid-template-columns: 1fr; gap: 6px; } }
.team .person + .person { margin-top: clamp(64px, 8vw, 112px); }
.person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.person__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person__img--small { max-width: 240px; justify-self: end; width: 100%; }
.person__name { font: 500 clamp(2rem, 3.4vw, 2.8rem)/1.05 var(--serif); margin-bottom: 10px; }
.person__role { font: 500 1.35rem/1.3 var(--serif); color: var(--blue); margin: 0 0 22px; }
.person__name + .prose { margin-top: 14px; }
.person__cv-h { font: 600 1.4rem/1.2 var(--serif); margin: 36px 0 14px; }
.cv { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cv li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 10px 16px; background: #fff; }
.section--stone .cv li { background: var(--paper); }
.cv__y { font: 600 1.15rem/1.4 var(--serif); color: var(--blue); }
.cv__t { line-height: 1.5; }
.cv + .prose { margin-top: 18px; }
@media (max-width: 800px) {
  .person { grid-template-columns: 1fr; }
  .person__img { max-width: 420px; }
  .person__img--small { justify-self: start; max-width: 200px; }
  .cv li { grid-template-columns: 1fr; gap: 0; }
}
.partner-grid { list-style: none; padding: 0; margin: clamp(48px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.partner-grid a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px; background: var(--paper); text-decoration: none; color: var(--ink); transition: background-color .25s; }
.partner-grid a:hover { background: #fff; color: var(--ink); }
.partner-grid__logo { height: 110px; display: grid; place-items: center; margin-bottom: 12px; background: #fff; }
.partner-grid__logo img { max-height: 92px; max-width: 80%; width: auto; height: auto; object-fit: contain; }
.partner-grid__name { font: 600 1.3rem/1.2 var(--serif); }
.partner-grid__url { font-size: var(--fs-small); color: var(--blue); }
@media (max-width: 800px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------- leih-instrumente ---------- */
.offer-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.offer-grid li { display: flex; flex-direction: column; gap: 10px; }
.offer-grid h3 { font: 600 1.45rem/1.15 var(--serif); }
.offer-grid p { margin: 0; }
@media (max-width: 1000px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } }
.instrument { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 6vw, 80px) 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.instrument:first-of-type { padding-top: 0; }
.instrument__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.instrument__body .display-3 { font-size: 2rem; margin-bottom: 22px; }
.specs { margin: 0 0 22px; display: grid; gap: 4px; }
.specs > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 11px 16px; background: var(--paper); }
.specs dt { font: 600 var(--fs-body)/1.5 var(--sans); }
.specs dd { margin: 0; }
.instrument__notes { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.instrument__notes li { background: #fff; color: var(--ink); padding: 8px 12px; }
@media (max-width: 860px) { .instrument { grid-template-columns: 1fr; } .instrument__media { max-width: 520px; } .specs > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.form { display: grid; gap: 22px; position: relative; scroll-margin-top: calc(var(--header-h) + 24px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 600 var(--fs-body)/1.2 var(--sans); }
.field input, .field textarea, .field select {
  font: 400 1.0625rem/1.5 var(--sans); color: var(--ink); background: #fff; border: 1px solid #b9b5ad; border-radius: 0;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230e3083' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 48, 131, .18); } /* taste-skill-ignore: focus ring of a form field */
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #b3261e; }
.rental { margin: 0; padding: clamp(20px, 3vw, 28px); border: 0; background: var(--stone); display: grid; gap: 20px; min-width: 0; }
.rental legend { float: left; width: 100%; padding: 0; font: 600 1.5rem/1.2 var(--serif); color: var(--blue); }
.rental legend + * { clear: both; }
.rental[hidden] { display: none; }
.rental__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
@media (max-width: 420px) { .rental__row { grid-template-columns: 1fr; } }
.btn--small { padding: .75em 1.25em; }
.instrument__cta { margin: 26px 0 0; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: invisible spam trap, not a rule */
.form__note { margin: 0; max-width: 62ch; }
.form__status { margin: 0; min-height: 1.4em; }
.form__status.is-ok { color: #1f5a37; font-weight: 600; }
.form__status.is-err { color: #8c1d18; font-weight: 600; }
.form__flash { display: none; margin: 0; padding: 16px 18px; background: #fff; }
.form__flash--ok { color: #1f5a37; }
.form__flash--err { color: #8c1d18; }
.form__flash:target, .form__flash.is-shown { display: block; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.contact__card { background: var(--blue-900); color: #fff; padding: clamp(28px, 4vw, 44px); position: sticky; top: calc(var(--header-h) + 24px); }
.contact__card .display-3 { color: #fff; margin-bottom: 14px; }
.contact__card p { color: #fff; }
.contact__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 4px; }
.contact__list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 14px; background: var(--blue-700); }
.contact__list span { font: 600 var(--fs-small)/1.6 var(--sans); color: var(--blue-300); }
.contact__list a { color: #fff; text-decoration: none; word-break: break-word; }
.contact__list a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__card { position: static; } }

/* ---------- footer: the name returns at full width ---------- */
.site-footer { background: var(--stone); padding: clamp(64px, 8vw, 104px) 0 0; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.site-footer__brand img { width: 150px; }
.site-footer__h { font: 600 1.3rem/1.2 var(--serif); color: var(--blue); margin-bottom: 14px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin: 0 0 6px; }
.insta { display: inline-flex; align-items: center; gap: 10px; }
.insta svg { width: 22px; height: 22px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; padding-bottom: 32px; font-size: var(--fs-small); }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 20px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- lightbox (a real overlay) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7, 18, 46, .95); display: grid; place-items: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: min(92vw, 1600px); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; background: #111; }
.lightbox__fig figcaption { color: #fff; font-size: var(--fs-small); text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font: 300 2rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox { padding: 64px 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; } .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); } }

/* ---------- motion: entrances only when motion is welcome ---------- */
/* one orchestrated moment: the opening of the home page (title, line, action), nothing else animates on its own */
@media (prefers-reduced-motion: no-preference) {
  .hero__claim > * { animation: rise .9s var(--ease) both; }
  .hero__claim > :nth-child(2) { animation-delay: .15s; }
  .hero__claim > :nth-child(3) { animation-delay: .3s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .hero, .cta-band, .lightbox, .years, .pager, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
