/* Stiftung Amitiés — Prototype CSS
   Source: archived design variant + prototype extensions.
   Preview-to-Prototype conversion, 2026-05-30; active SSoT: kunden/stiftung/styles/prototype.
   No external CDN. Standalone. TYPO3-Preflight-ready. */

:root {
  --teal: #006A66;
  --teal-dark: #004E4B;
  --teal-tint: #f0fafa;
  --ink: #2a2a2a;
  --ink-soft: #5b5b5b;
  --rule: #e0e0e0;
  --rule-soft: #ededed;
  --page-max: 1100px;

  /* Surfaces — differ in dark mode */
  --surface: #ffffff;
  --surface-alt: #fafaf9;
  --surface-soft: #f4f4f2;
  --surface-card: #ededeb;
  --shadow-soft: 0 12px 32px rgba(0,0,0,0.08);

  /* Accessibility-controlled */
  --font-scale: 1;
  --link-underline: 0;
  --motion-scale: 1;
}

/* Dark mode */
body[data-theme="dark"] {
  --ink: #ebe9e4;
  --ink-soft: #9a9892;
  --rule: #2a2c2f;
  --rule-soft: #1f2123;
  --teal: #2dd0c9;
  --teal-dark: #5cebe4;
  --teal-tint: rgba(45, 208, 201, 0.10);
  --surface: #0e1012;
  --surface-alt: #16181b;
  --surface-soft: #1c1f22;
  --surface-card: #232629;
  --shadow-soft: 0 12px 32px rgba(0,0,0,0.5);
}
body[data-theme="dark"] { background: var(--surface); color: var(--ink); }

body[data-theme="dark"] .brand img,
body[data-theme="dark"] .footer-brand img {
  filter: invert(1) hue-rotate(180deg);
}

/* High-contrast mode */
body[data-contrast="high"]:not([data-theme="dark"]) {
  --ink: #000000;
  --ink-soft: #222222;
  --rule: #000000;
  --rule-soft: #333333;
  --teal: #006A66;
  --teal-dark: #004E4B;
  --teal-tint: #E3F3F2;
}
body[data-contrast="high"][data-theme="dark"] {
  --ink: #ffffff;
  --ink-soft: #d0d0d0;
  --rule: #ffffff;
  --rule-soft: #444444;
  --teal: #5cebe4;
  --teal-dark: #8cf3ed;
  --teal-tint: rgba(92, 235, 228, 0.14);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root { --motion-scale: 0; }
}
body[data-motion="reduced"] { --motion-scale: 0; }
body[data-motion="reduced"] *,
body[data-motion="reduced"] *::before,
body[data-motion="reduced"] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

* { box-sizing: border-box; }

/* Scroll-to-top (moved to left:16px — no backlink in prototype) */
.scroll-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 120;
  width: 42px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font: 700 18px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.scroll-top:hover { border-color: var(--teal); color: var(--teal-dark); }

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: calc(16px * var(--font-scale));
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: border-color .15s ease, color .15s ease;
}
a:hover { color: var(--teal-dark); border-bottom-color: currentColor; }
body[data-underline="on"] a,
body[data-underline="on"] .menu-list a,
body[data-underline="on"] .teaser .link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
  font-size: 0.875rem;
  border-bottom: none;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* Visible focus rings */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
body[data-contrast="high"] :focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

/* Visually hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button { font-family: inherit; }
img { display: block; max-width: 100%; }
.hero-flush,
.section-flush { padding: 0; }
.lead-copy { font-size: 1.1875rem; }
.muted-copy {
  color: var(--ink-soft);
  max-width: 640px;
}
.muted-copy--donation {
  max-width: 620px;
  margin-bottom: 28px;
}
.contact-email-line {
  font-size: 1.125rem;
  margin-bottom: 24px;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: 2.25rem; line-height: 1.2; }
h2 { font-size: 1.625rem; line-height: 1.25; }
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 700; }
p  { margin: 0 0 1em; text-wrap: pretty; }

/* ── Layout container ───────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 32px;
}

.wrap > *,
.teaser,
.contact-card,
.donate-box,
.footer-grid > *,
.news-item > *,
.subject,
.visit-card > * {
  min-width: 0;
}

/* ── Header ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  font-family: inherit;
}
.icon-btn:hover { color: var(--teal); }
.icon-btn[aria-pressed="true"] { color: var(--teal); }
.icon-btn .a-glyph {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0;
  display: inline-flex;
  align-items: baseline;
}
.icon-btn .a-glyph .a-small { font-size: 0.75rem; }
.icon-btn .a-glyph .a-big   { font-size: 1.25rem; }

/* Accessibility panel */
.a11y-panel {
  position: fixed;
  top: 120px;
  right: 0;
  width: 360px;
  max-width: 100vw;
  background: var(--surface);
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  z-index: 45;
  padding: 24px 28px 28px;
  transform: translateX(105%);
  transition: transform .25s ease;
  font-size: 0.875rem;
}
.a11y-panel.open { transform: translateX(0); }
.a11y-panel header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.a11y-panel h2 {
  font-size: 1.125rem;
  margin: 0;
  letter-spacing: 0;
}
.a11y-panel .close-x {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 6px;
}
.a11y-panel .intro {
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.5;
}
.a11y-row {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.a11y-row .label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-weight: 700;
}
.a11y-row .segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid var(--rule);
}
.a11y-row .segmented button {
  background: var(--surface);
  border: none;
  border-right: 1px solid var(--rule);
  padding: 10px 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.a11y-row .segmented button:last-child { border-right: none; }
.a11y-row .segmented button:hover { color: var(--teal); }
.a11y-row .segmented button[aria-pressed="true"] {
  background: var(--teal);
  color: #ffffff;
}
.a11y-row .toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.a11y-row .toggle-row span { font-size: 0.875rem; }
.a11y-switch {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--rule);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .15s ease;
  flex-shrink: 0;
}
.a11y-switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface);
  transition: transform .15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.a11y-switch[aria-pressed="true"] { background: var(--teal); }
.a11y-switch[aria-pressed="true"]::after { transform: translateX(20px); }

.a11y-reset {
  margin-top: 16px;
  background: transparent;
  border: 1px solid var(--rule);
  padding: 10px 16px;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--ink);
  cursor: pointer;
  width: 100%;
}
.a11y-reset:hover { color: var(--teal); border-color: var(--teal); }

@media (max-width: 880px) {
  .a11y-panel { width: 100vw; border-left: none; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  text-decoration: none;
}
.brand:hover { border: none; border-bottom: none; }
.brand img { height: 80px; width: auto; }

.hamburger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger .bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.hamburger .bars span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .15s ease;
}
.hamburger:hover .bars span { background: var(--teal); }
.hamburger.open .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bars span:nth-child(2) { opacity: 0; }
.hamburger.open .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu overlay */
.menu-overlay {
  position: fixed;
  inset: 120px 0 0 0;
  height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--surface);
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 56px 32px 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.menu-list {
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-list a {
  text-align: left;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  font-size: 1.75rem;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  transition: color .15s ease, padding-left .2s ease;
  text-decoration: none;
}
.menu-list a:hover {
  color: var(--teal);
  padding-left: 8px;
  border-bottom-color: var(--rule);
}
.menu-list a.active { color: var(--teal); }
.menu-list .menu-index {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.menu-meta {
  max-width: var(--page-max);
  margin: 48px auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.menu-meta strong { color: var(--ink); font-weight: 700; }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  background: var(--surface);
  overflow: hidden;
  line-height: 0;
}
.hero-img {
  display: block;
  width: 100%;
  height: clamp(420px, 62vh, 760px);
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center 55%;
  vertical-align: bottom;
}
.hero.tall .hero-img { height: clamp(520px, 72vh, 860px); min-height: 0; }
.hero-claim {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}
.hero-claim .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.hero-claim .tag {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.hero-claim .claim {
  font-size: 1.375rem;
  line-height: 1.35;
  color: var(--ink);
  flex: 1;
  text-align: right;
  max-width: 680px;
  margin-left: auto;
}
.hero-claim .claim em { font-style: normal; color: var(--teal); }

/* ── Section primitives ──────────────────── */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.alt { background: var(--surface-alt); border-block: 1px solid var(--rule-soft); }
section.hero { padding: 0; }

.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  margin-bottom: 40px;
  align-items: start;
}
.section-head .kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  padding-top: 6px;
  border-top: 1px solid var(--teal);
  display: inline-block;
}
.section-head h2 { max-width: 720px; }
.section-head p { color: var(--ink-soft); max-width: 720px; font-size: 1.0625rem; }

.intro-block {
  max-width: 820px;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink);
}
.intro-block .lead-rule {
  width: 56px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 28px;
}

/* ── Teaser cards ────────────────────────── */
.teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.teaser {
  display: flex;
  flex-direction: column;
  background: transparent;
}
.teaser .media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--surface-card);
  overflow: hidden;
  margin-bottom: 20px;
}
.teaser .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.teaser:hover .media img { transform: scale(1.03); }
.teaser .media .gate-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  padding: 6px 10px;
  border-left: 2px solid var(--teal);
}
.teaser .num {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.teaser h3 { margin-bottom: 12px; font-size: 1.375rem; font-weight: 400; }
.teaser p { color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: 18px; flex: 1; }
.teaser .link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--teal);
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  padding-bottom: 4px;
  transition: gap .2s ease, border-color .15s ease;
  text-decoration: none;
}
.teaser .link:hover { gap: 12px; border-bottom-color: var(--teal); }
.teasers--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.teasers--four .teaser h3 { font-size: 1.1875rem; }
.media--position-left img { object-position: left center; }

a.link,
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  font-size: 0.875rem;
  font-weight: 700;
}
a.link:hover,
.button-link:hover {
  gap: 12px;
  border-bottom-color: var(--teal);
}

/* ── Feature focus ───────────────────────── */
.feature-focus { padding-block: 64px; }
.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 42px;
  align-items: center;
}
.feature-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-card);
}
.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-card__content .kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 14px;
}
.feature-card__content p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 560px;
}

/* Placeholder media (for gated/missing images) */
.placeholder-media {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 24px;
  white-space: pre-line;
  background-image:
    repeating-linear-gradient(135deg,
      var(--surface-soft) 0px, var(--surface-soft) 14px,
      var(--surface-card) 14px, var(--surface-card) 15px);
}

/* ── Donation box ────────────────────────── */
.donate-box {
  border-left: 3px solid var(--teal);
  background: var(--teal-tint);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}
.donate-box h3 {
  grid-column: 1 / -1;
  font-size: 1.125rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.donate-box .row { font-size: 0.875rem; }
.donate-box .row .label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 4px;
  font-weight: 700;
}
.donate-box .row .val { color: var(--ink); font-variant-numeric: tabular-nums; }
.donate-box .row .val.placeholder { color: var(--ink-soft); font-style: italic; }
.donate-box--spaced { margin-top: 24px; }
.donation-heading { margin-top: 32px; }
.iban-line {
  white-space: nowrap;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

/* ── New content grids ───────────────────── */
.info-grid,
.bank-grid,
.donation-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.info-card,
.bank-card,
.donation-action,
.cv-card,
.open-item,
.source-box {
  min-width: 0;
}
.info-card,
.bank-card,
.donation-action {
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: 24px;
}
.info-card { border-left: 3px solid var(--teal); }
.bank-card h3,
.donation-action h3,
.info-card h3 { font-size: 1.0625rem; }
.bank-card p,
.donation-action p,
.info-card p { color: var(--ink-soft); font-size: 0.9375rem; }
.embed-shell {
  min-height: 84px;
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed var(--rule);
  background: var(--surface-alt);
}
.raisenow-embed {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.small-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}
.label-small {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 700;
  margin-bottom: 6px;
}
.open-item {
  border-left: 3px solid var(--teal);
  background: var(--teal-tint);
  padding: 22px 24px;
}
.source-box {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.cv-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.cv-card {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.cv-card h2 { font-size: 1.375rem; }
.cv-card p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.board-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ── Project page detail ─────────────────── */
.project-hero {
  width: 100%;
  height: 56vh;
  min-height: 380px;
  max-height: 640px;
  position: relative;
  overflow: hidden;
}
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-meta { border-bottom: 1px solid var(--rule); }
.project-meta .wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 28px 32px;
}
.project-meta .kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}
.project-meta h1 { margin: 0; font-size: 2.375rem; }

.long-content { max-width: 720px; }
.long-content p { font-size: 1.0625rem; line-height: 1.7; }
.long-content h2 { margin-top: 56px; }
.long-content h2:first-child { margin-top: 0; }

.two-col {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
}
.two-col > * {
  min-width: 0;
}
.two-col .sidekey {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  padding-top: 4px;
  border-top: 1px solid var(--teal);
  align-self: start;
}

.image-strip {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.image-strip > div {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-card);
}
.image-strip img { width: 100%; height: 100%; object-fit: cover; }
.image-strip--single {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.fact { border-top: 1px solid var(--rule); padding-top: 16px; }
.fact .num {
  font-size: 2.25rem;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.fact .label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ── Board grid ──────────────────────────── */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.board-card { border-top: 1px solid var(--rule); padding-top: 18px; }
.board-card .role {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
  font-weight: 700;
}
.board-card .name { font-size: 1.125rem; color: var(--ink); margin-bottom: 6px; }
.board-card .bio { color: var(--ink-soft); font-size: 0.875rem; font-style: italic; }

/* ── Trust strip ─────────────────────────── */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-strip--topless {
  border-top: none;
  margin-top: 24px;
}
.trust-strip .trust-item {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.trust-strip .trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}
.trust-strip .trust-item .check {
  display: inline-block;
  width: 18px; height: 18px;
  border: 1.5px solid var(--teal);
  margin-bottom: 10px;
  position: relative;
}
.trust-strip .trust-item .check::after {
  content: "";
  position: absolute;
  left: 3px; top: 1px;
  width: 6px; height: 11px;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/* Trust variant: show trust-strip in home hero area */
body[data-variant="trust"] .trust-strip.show-only-trust { display: grid; }
.trust-strip.show-only-trust { display: none; }

/* ── Contact ─────────────────────────────── */
.contact-card {
  border: 1px solid var(--rule);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}
.contact-card .small { font-size: 0.8125rem; color: var(--ink-soft); }

/* Legal pages */
.legal-page .site-footer {
  margin-top: 72px;
}
.legal-content {
  max-width: 780px;
  min-width: 0;
}
.legal-content h1 {
  margin-bottom: 10px;
}
.legal-block {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  margin-top: 34px;
}
.legal-block h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.legal-block h3 {
  margin-top: 28px;
  font-size: 1rem;
}
.legal-block p {
  color: var(--ink-soft);
  overflow-wrap: break-word;
}
.legal-block ul {
  color: var(--ink-soft);
  margin: 14px 0 0;
  padding-left: 1.25rem;
}
.legal-block li {
  line-height: 1.65;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}
body.is-legal-page .style-switcher {
  display: none;
}

/* ── Footer ──────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
  padding: 56px 0 40px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4,
.footer-heading {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.footer-col p, .footer-col li { font-size: 0.875rem; line-height: 1.65; color: var(--ink-soft); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col .placeholder { font-style: italic; color: var(--ink-soft); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.footer-bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.footer-bar > * { min-width: 0; }
.footer-bar a { color: var(--ink-soft); margin-left: 18px; }
.footer-bar a:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* ── Layout variants ─────────────────────── */
body[data-layout="wide"] { --page-max: 1480px; }

/* ── Variant: Journal ────────────────────── */
body[data-variant="journal"] .hero-img {
  height: 78vh; min-height: 540px; max-height: 880px;
}
body[data-variant="journal"] .hero-claim .claim {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0;
}
body[data-variant="journal"] .hero-claim .claim em { font-style: italic; color: var(--ink); }
body[data-variant="journal"] h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 2.625rem;
}
body[data-variant="journal"] h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 2rem;
  letter-spacing: 0;
}
body[data-variant="journal"] .intro-block {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  line-height: 1.55;
  max-width: 760px;
}
body[data-variant="journal"] .teasers { grid-template-columns: 1fr; gap: 96px; }
body[data-variant="journal"] .teaser {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
body[data-variant="journal"] .teaser:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
body[data-variant="journal"] .teaser:nth-child(even) .media { order: 2; }
body[data-variant="journal"] .teaser .media { aspect-ratio: 4 / 3; margin-bottom: 0; }
body[data-variant="journal"] .teaser .num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--teal);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 12px;
}
body[data-variant="journal"] .teaser h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 16px;
}
body[data-variant="journal"] .teaser p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); }
body[data-variant="journal"] .pullquote blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 400;
}
body[data-variant="journal"] .triptych { grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
body[data-variant="journal"] .triptych figure:first-child img { aspect-ratio: 4 / 5; }
body[data-variant="journal"] .triptych figure img { aspect-ratio: 3 / 4; }
body[data-variant="journal"] .news-item .title {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0;
}
body[data-variant="journal"] section { padding-block: 96px; }
body[data-variant="journal"] section.tight { padding-block: 56px; }

/* ── Variant: Trust ──────────────────────── */
body[data-variant="trust"] .hero-img { height: 44vh; min-height: 360px; max-height: 540px; }
body[data-variant="trust"] .hero-claim { display: none; }
body[data-variant="trust"] .teasers { border-top: 1px solid var(--rule); }
body[data-variant="trust"] .teaser {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 0;
  background: var(--surface);
}
body[data-variant="trust"] .teasers > :last-child { border-right: none; }
body[data-variant="trust"] .teaser .media { aspect-ratio: 16 / 10; margin-bottom: 18px; }
body[data-variant="trust"] .teaser .num { color: var(--teal); font-weight: 700; }
body[data-variant="trust"] .teaser h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 10px; }
body[data-variant="trust"] .teaser p { font-size: 0.9375rem; }
body[data-variant="trust"] section { padding-block: 56px; }
body[data-variant="trust"] section.alt { background: var(--surface); border-block: none; }
body[data-variant="trust"] .intro-block { font-size: 1.0625rem; }

/* ── Pull quote ──────────────────────────── */
.pullquote {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
  margin: 56px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.pullquote--flush { margin: 0; }
.pullquote--plain {
  margin: 0;
  border: none;
  padding-block: 56px;
}
.pullquote .qmark {
  font-size: 6rem;
  line-height: 0.7;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.pullquote blockquote {
  margin: 0;
  font-size: 1.625rem;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0;
  text-wrap: balance;
  max-width: 760px;
}
.pullquote cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ── Timeline ────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
}
.timeline .step {
  position: relative;
  padding: 28px 28px 28px 0;
  border-top: 1px solid var(--rule);
}
.timeline .step::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 32px; height: 3px;
  background: var(--teal);
}
.timeline .step .step-num {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.timeline .step h4 { font-size: 1.0625rem; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.timeline .step p { font-size: 0.875rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ── Principles ──────────────────────────── */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 32px;
}
.principle .pnum {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: 0;
}
.principle h4,
.principle h3 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.principle p { font-size: 0.9063rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ── Compare table ───────────────────────── */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--rule);
}
.compare .col { padding: 28px 32px 28px 0; }
.compare .col + .col { padding-left: 32px; border-left: 1px solid var(--rule); }
.compare .col h4,
.compare .col h3 {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-weight: 700;
}
.compare .col.right h4,
.compare .col.right h3 { color: var(--teal); }
.compare .col ul { list-style: none; padding: 0; margin: 0; }
.compare .col li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--ink);
  line-height: 1.5;
}
.compare .col li:last-child { border-bottom: none; }
.compare .col.left li { color: var(--ink-soft); }

/* ── News list ───────────────────────────── */
.news-list { display: flex; flex-direction: column; margin-top: 16px; }
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  transition: padding-left .2s ease;
}
.news-item:last-child { border-bottom: 1px solid var(--rule); }
.news-item .date { font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.news-item .title { font-size: 1.125rem; color: var(--ink); letter-spacing: 0; }
.news-item .topic {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.news-item:hover .title { color: var(--teal); }
.news-item:hover { padding-left: 6px; }

/* ── Panorama break ──────────────────────── */
.panorama-break { width: 100%; position: relative; overflow: hidden; }
.panorama-break img { width: 100%; height: 360px; object-fit: cover; display: block; }
.panorama-break.tall img { height: 480px; }

/* ── Subjects list ───────────────────────── */
.subjects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 32px;
}
.subject { background: var(--surface); padding: 22px 24px; }
.subject .sname { font-size: 1rem; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
.subject .sdesc { font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.55; }
.subject .shours {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-top: 10px;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* ── FAQ accordion ───────────────────────── */
.faq { margin-top: 32px; }
.faq details { border-top: 1px solid var(--rule); padding: 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq details summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.0625rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  letter-spacing: 0;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after { content: "+"; font-size: 1.375rem; color: var(--teal); font-weight: 300; transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq details summary:hover { color: var(--teal); }
.faq details .answer {
  padding: 0 0 24px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 720px;
}

/* ── Word break (Über uns) ───────────────── */
.word-break {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  border-block: 1px solid var(--rule);
  padding: 56px 0;
  margin: 48px 0;
}
.word-break .big-word {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.25rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0;
  font-weight: 400;
}
.word-break .big-word em { font-style: italic; color: var(--teal); }
.word-break .gloss { font-size: 1rem; color: var(--ink-soft); max-width: 460px; line-height: 1.6; }
.word-break .gloss .ipa {
  font-family: "Courier New", monospace;
  color: var(--ink);
  font-size: 0.8125rem;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.04em;
}

.amities-wordmark {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  border-block: 1px solid var(--rule);
  padding-block: clamp(34px, 6vw, 64px);
}
.amities-wordmark__word {
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6vw, 5.4rem);
  line-height: 0.94;
  color: var(--teal);
  letter-spacing: 0;
  white-space: nowrap;
}
.amities-wordmark__word em {
  font-style: italic;
}
.amities-wordmark__copy {
  min-width: 0;
}
.amities-wordmark__copy h2 {
  margin-top: 0;
}

/* ── History timeline ────────────────────── */
.history { display: grid; grid-template-columns: 120px 1fr; gap: 0; margin-top: 24px; }
.history .year {
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--teal);
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  font-weight: 700;
}
.history .ev { padding: 22px 0; border-top: 1px solid var(--rule); }
.history .ev h4 { font-size: 1rem; margin-bottom: 6px; color: var(--ink); font-weight: 700; }
.history .ev p { font-size: 0.9063rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ── Visit card ──────────────────────────── */
.visit-card {
  border: 1px solid var(--rule);
  padding: 32px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.visit-card h4 {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  font-weight: 700;
}
.visit-card .line { font-size: 0.875rem; color: var(--ink); line-height: 1.55; }
.visit-card .sub { font-size: 0.75rem; color: var(--ink-soft); margin-top: 4px; }

/* ── Triptych ────────────────────────────── */
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.triptych figure { margin: 0; display: flex; flex-direction: column; }
.triptych figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface-card); }
.triptych figure:nth-child(2) img { aspect-ratio: 3 / 4; object-position: center 40%; }
.triptych figcaption {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ── Gallery grid ────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-grid figure,
.wide-figure {
  margin: 0;
}
.gallery-grid figure {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-card);
  display: block;
}
.gallery-grid--documentary img {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: none;
  object-fit: cover;
}
.gallery-grid figcaption,
.wide-figure figcaption {
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.45;
  margin-top: 10px;
}
.wide-figure {
  max-width: 860px;
}
.wide-figure--center {
  margin-inline: auto;
}
.wide-figure img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  background: var(--surface-card);
}

/* ── Photo hero (Management) ─────────────── */
.photo-hero {
  position: relative;
  width: 100%;
  height: 56vh;
  min-height: 380px;
  max-height: 640px;
  overflow: hidden;
}
.photo-hero img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero--stupa img { object-position: center center; }
.photo-hero .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,168,163,0.10), rgba(0,168,163,0.42));
  mix-blend-mode: multiply;
}
body[data-theme="dark"] .photo-hero .scrim {
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
  mix-blend-mode: normal;
}
.photo-hero .scrim-note {
  position: absolute;
  bottom: 24px;
  left: 32px; right: 32px;
  max-width: 1100px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.95;
}

/* ── Page transition ─────────────────────── */
.page { animation: fadeUp .35s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
body[data-motion="reduced"] .page { animation: none; }

/* ════════════════════════════════════════════
   PROTOTYPE-ONLY ELEMENTS
   (data-prototype-only="true" → entfernbar)
   ════════════════════════════════════════════ */

/* ── Provenance bar ──────────────────────── */
.provenance-bar {
  background: oklch(0.96 0.012 200);
  border-top: 2px solid var(--teal);
  border-bottom: 1px solid var(--rule-soft);
  padding: 10px 0;
  font-size: 0.75rem;
  color: var(--ink-soft);
}
body[data-theme="dark"] .provenance-bar { background: rgba(0,168,163,0.08); }
.provenance-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
.provenance-bar .provenance-label {
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-tint);
  padding: 2px 6px;
  border: 1px solid var(--teal);
}
.provenance-bar .provenance-sep { color: var(--rule); }

/* ── Style Switcher Panel ────────────────── */
.style-switcher {
  display: none;
  position: fixed;
  bottom: 72px;
  right: 16px;
  z-index: 200;
  background: rgba(250,249,247,.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 0.5px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  font: 14px/1.45 ui-sans-serif, system-ui, -apple-system, sans-serif;
  width: 320px;
  max-width: calc(100vw - 24px);
  overflow: hidden;
  color: #29261b;
}
.style-switcher.is-collapsed {
  width: auto;
  min-width: 184px;
}
body[data-theme="dark"] .style-switcher {
  background: rgba(18, 25, 25, 0.94);
  border-color: rgba(255,255,255,0.12);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0,0,0,.34);
}
body.min-edit-active .style-switcher {
  display: block;
}
.style-switcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  user-select: none;
  cursor: pointer;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}
.style-switcher.is-collapsed .style-switcher-header {
  border-bottom-color: transparent;
}
body[data-theme="dark"] .style-switcher-header {
  border-bottom-color: rgba(255,255,255,0.12);
}
.style-switcher-toggle {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: rgba(0,0,0,0.45);
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  font-family: inherit;
  line-height: 1;
}
.style-switcher-toggle:hover { color: rgba(0,0,0,0.75); }
body[data-theme="dark"] .style-switcher-toggle { color: rgba(255,255,255,0.6); }
body[data-theme="dark"] .style-switcher-toggle:hover { color: rgba(255,255,255,0.9); }
.style-switcher-body {
  padding: 6px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.style-switcher-body[hidden] { display: none; }
.ss-section {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  padding-top: 8px;
}
body[data-theme="dark"] .ss-section { color: rgba(255,255,255,0.5); }
.ss-radios { display: flex; gap: 4px; }
.ss-radios-three button { min-width: 0; }
.ss-font-radios button:nth-child(2) { font-size: 16px; }
.ss-font-radios button:nth-child(3) { font-size: 18px; }
.ss-radios button {
  flex: 1;
  background: rgba(0,0,0,0.06);
  border: 0.5px solid transparent;
  border-radius: 6px;
  min-height: 38px;
  padding: 8px 8px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  color: rgba(0,0,0,0.65);
  transition: background 0.15s, color 0.15s;
}
.ss-radios button:hover { background: rgba(0,0,0,0.1); color: rgba(0,0,0,0.85); }
body[data-theme="dark"] .ss-radios button {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
}
body[data-theme="dark"] .ss-radios button:hover {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
}
.ss-radios button.active,
.ss-radios button[aria-pressed="true"] {
  background: rgba(0,168,163,0.15);
  color: #006A66;
  font-weight: 700;
  border-color: rgba(0,168,163,0.35);
}
body[data-theme="dark"] .ss-radios button.active,
body[data-theme="dark"] .ss-radios button[aria-pressed="true"] {
  background: rgba(0,168,163,0.26);
  color: #8df2ec;
  border-color: rgba(141,242,236,0.45);
}
.ss-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}
.ss-toggle {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
  flex-shrink: 0;
}
.ss-toggle[aria-pressed="true"] { background: var(--teal); }
body[data-theme="dark"] .ss-toggle { background: rgba(255,255,255,0.18); }
.ss-toggle i {
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  transition: transform 0.15s;
  pointer-events: none;
}
.ss-toggle[aria-pressed="true"] i { transform: translateX(14px); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 880px) {
  .teasers { grid-template-columns: 1fr; gap: 48px; }
  .teasers--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .site-header .wrap { height: 96px; padding: 0 20px; }
  .brand img { height: 64px; max-width: calc(100vw - 144px); }
  .header-actions { gap: 0; }
  .icon-btn { width: 42px; height: 42px; }
  .menu-overlay {
    inset: 96px 0 0 0;
    height: calc(100vh - 96px);
    padding: 20px 24px 24px;
    overflow-y: auto;
  }
  .menu-list { gap: 0; }
  .menu-list a { min-height: 52px; padding: 12px 0; font-size: 20px; line-height: 1.2; letter-spacing: 0; align-items: center; }
  .menu-list .menu-index { font-size: 12px; }
  .menu-meta { margin: 24px auto 0; grid-template-columns: 1fr; gap: 14px; padding-top: 16px; font-size: 13px; line-height: 1.45; }
  .a11y-panel { top: 96px; max-height: calc(100vh - 96px); overflow: auto; padding: 20px 22px 24px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { grid-template-columns: 1fr; gap: 24px; }
  .project-meta .wrap { grid-template-columns: 1fr; gap: 16px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .image-strip { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .board-grid,
  .board-grid--wide { grid-template-columns: 1fr; }
  .info-grid,
  .bank-grid,
  .donation-actions { grid-template-columns: 1fr; }
  .gallery-grid,
  .gallery-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 28px; }
  .donate-box { grid-template-columns: 1fr; }
  .pullquote { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; margin: 32px 0; }
  .pullquote .qmark { font-size: 4rem; }
  .pullquote blockquote { font-size: 1.25rem; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; gap: 32px; }
  .compare { grid-template-columns: 1fr; }
  .compare .col + .col { border-left: none; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 24px; margin-top: 8px; }
  .subjects { grid-template-columns: 1fr 1fr; }
  .word-break { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; margin: 24px 0; }
  .word-break .big-word { font-size: 3.5rem; }
  .amities-wordmark { grid-template-columns: 1fr; gap: 18px; padding-block: 36px; }
  .amities-wordmark__word { font-size: clamp(3.25rem, 14vw, 5rem); white-space: normal; overflow-wrap: anywhere; }
  .history { grid-template-columns: 80px 1fr; }
  .visit-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .news-item { grid-template-columns: 100px 1fr; gap: 12px; }
  .news-item .topic { grid-column: 1 / -1; margin-top: 4px; }
  .triptych { grid-template-columns: 1fr; gap: 12px; }
  .triptych figure img { aspect-ratio: 4 / 3; }
  body[data-variant="journal"] .teaser { grid-template-columns: 1fr; gap: 20px; }
  body[data-variant="journal"] .teaser:nth-child(even) .media { order: 0; }
  h1 { font-size: 1.75rem; }
  .hero-claim .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-claim .claim { text-align: left; }
  .style-switcher {
    position: static;
    width: auto;
    max-width: none;
    margin: 24px 20px;
  }
  .style-switcher.is-collapsed { width: auto; }
}

@media (max-width: 420px) {
  .wrap { padding-inline: 20px; }
  .site-header .wrap { height: 88px; }
  .brand img { height: 56px; max-width: calc(100vw - 132px); }
  .menu-overlay { inset: 88px 0 0 0; height: calc(100vh - 88px); padding: 16px 20px 22px; }
  .menu-list a { min-height: 48px; font-size: 18px; }
  .menu-meta { margin-top: 18px; font-size: 12px; }
  .a11y-panel { top: 88px; max-height: calc(100vh - 88px); }
  .hero-img,
  .hero.tall .hero-img,
  .project-hero,
  .photo-hero { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bar a { display: inline-block; margin-left: 0; margin-right: 18px; }
  .timeline,
  .fact-grid,
  .trust-strip,
  .subjects,
  .teasers--four,
  .gallery-grid,
  .gallery-grid--four { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
  .donate-box,
  .contact-card,
  .visit-card { padding: 22px; }
  .word-break .big-word {
    font-size: clamp(2.5rem, 16vw, 3.5rem);
    overflow-wrap: anywhere;
  }
  .placeholder,
  .placeholder-media,
  .val,
  .menu-meta,
  .provenance-bar {
    overflow-wrap: anywhere;
  }
}
