/* ═══════════════════════════════════════════════════════════════
   VFIB FRANKENTHAL — BASIS  (Reset · Typografie · Layout-Utilities)
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--surface-page);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input { font: inherit; }
strong { font-weight: 700; color: var(--ink); }

::selection { background: var(--gold-300); color: var(--green-900); }

/* ── Überschriften ── */
.t-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--green-800);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.t-h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-800);
  text-wrap: balance;
}
.t-h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  color: var(--green-800);
}
.t-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.t-script {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--gold-600);
}
.t-lead { font-size: var(--fs-lead); line-height: 1.6; text-wrap: pretty; }
.t-small { font-size: var(--fs-small); }
.t-muted { color: var(--text-muted); }

.on-dark .t-h2, .on-dark .t-h3, .on-dark .t-display { color: var(--text-on-dark); }
.on-dark { color: var(--text-on-dark-muted); }
.on-dark strong { color: var(--text-on-dark); }
.on-dark .t-eyebrow { color: var(--gold-400); }
.on-dark .t-script { color: var(--gold-400); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.section-head {
  display: grid;
  gap: var(--space-3);
  justify-items: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 5vw, 56px);
}

/* ── Utilities ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-nav {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--green-800); color: var(--text-on-dark);
  padding: 8px 24px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 9999; font-size: var(--fs-small); font-weight: 600;
  text-decoration: none; transition: top var(--t-mid) var(--ease-out);
}
.skip-nav:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

@media print {
  .skip-nav,
  .lang-switch,
  .topbar .btn,
  .modal-overlay,
  .toast,
  .share-row,
  .prayer-section { display: none !important; }
}
