/* ============================================================
   REVIVAL CHURCH GERMANY — styles.css (v3)
   Light/Dark-Themes via [data-theme], Fokus Lesbarkeit.
   ============================================================ */

/* ---------- Schriften (selbst gehostet, SIL Open Font License) ----------
   Keine Verbindung zu Google beim Seitenaufruf. Nur Latin + Latin-Ext. */
/* archivo italic latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* archivo italic latin */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* archivo normal latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* archivo normal latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* newsreader italic latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* newsreader italic latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* newsreader normal latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* newsreader normal latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(fonts/newsreader-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Konstante — ändern sich mit dem Theme nicht */
  --deep: #16120b;
  --deep-2: #241e14;
  --deep-text: #f1ede3;
  --line-deep: rgba(241, 237, 227, 0.16);
  --gold-deep: #8c6a20;
  --flame: #b98f33;
  --flame-2: #ecd08a;
  --gold-light: #fbf1c0;
  --gold-sheen: linear-gradient(100deg,
    #8c6a20 0%, #b98f33 18%, #fbf1c0 42%,
    #ecd08a 56%, #b98f33 74%, #8c6a20 100%);

  /* Theme: Light (Standard) */
  --bg: #f1ede3;
  --bg-2: #e9e4d6;
  --bg-hover: #f7f4ec;
  --text: #16120b;
  --line: rgba(22, 18, 11, 0.16);
  --nav-bg: rgba(241, 237, 227, 0.88);
  --ring: rgba(22, 18, 11, 0.5);
  --gold-ink: var(--flame);        /* Gold auf hellem Grund */

  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #16120b;
  --bg-2: #211b12;
  --bg-hover: #241e14;
  --text: #f1ede3;
  --line: rgba(241, 237, 227, 0.18);
  --nav-bg: rgba(22, 18, 11, 0.85);
  --ring: rgba(241, 237, 227, 0.55);
  --gold-ink: var(--flame-2);      /* Gold auf dunklem Grund */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.06rem;
  line-height: 1.62;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

/* Eigener Cursor nur, wenn main.js ihn auch bewegt — bei „Bewegung reduzieren“
   bleibt der normale Mauszeiger, sonst wäre gar keiner zu sehen. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body { cursor: none; }
  a, button, summary { cursor: none; }
}

::selection { background: var(--flame); color: var(--deep-text); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

section { scroll-margin-top: 4.5rem; }

button { font: inherit; color: inherit; }

/* ---------- Preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--deep);
  color: var(--deep-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  transition: clip-path 0.8s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__logo {
  width: min(300px, 64vw);
  height: auto;
  animation: loaderPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.035); opacity: 1; }
}

/* ---------- Custom Cursor ---------- */
.cursor, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 400;
  border-radius: 50%;
  display: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor, .cursor-ring { display: block; }
}
.cursor {
  width: 8px; height: 8px;
  background: var(--flame);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid var(--ring);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
    border-color 0.3s, background 0.3s, opacity 0.3s;
}
.cursor-ring.is-hover {
  width: 62px; height: 62px;
  border-color: var(--flame);
  background: rgba(185, 143, 51, 0.08);
}
.cursor-ring.is-down { width: 26px; height: 26px; }
body.on-dark .cursor-ring { border-color: rgba(241, 237, 227, 0.6); }

/* ---------- Scroll-Fortschritt ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 150;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold-sheen);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Körnung ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -1%); }
  60% { transform: translate(-1%, -2%); }
  80% { transform: translate(1%, 2%); }
}

/* ---------- Bild-Tönungen ---------- */
.tone { position: relative; overflow: hidden; }
.tone img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.94);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}
.tone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(185, 143, 51, 0.28), rgba(22, 18, 11, 0.42));
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.tone:hover img { filter: grayscale(0.1) contrast(1.02); transform: scale(1.045); }
.tone:hover::after { opacity: 0.35; }

.tone-dark { position: absolute; inset: 0; overflow: hidden; }
.tone-dark img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.32) contrast(1.1);
}
.tone-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 18, 11, 0.55) 0%, rgba(22, 18, 11, 0.25) 45%, var(--deep) 100%),
    linear-gradient(120deg, rgba(185, 143, 51, 0.22), transparent 55%);
}

.tone-duo { position: relative; overflow: hidden; border-radius: var(--radius); }
.tone-duo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: transform 0.9s var(--ease), filter 0.7s var(--ease);
}
.tone-duo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--flame);
  mix-blend-mode: multiply;
  opacity: 0.85;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.tone-duo:hover img { transform: scale(1.06); filter: grayscale(0.15); }
.tone-duo:hover::after { opacity: 0.15; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 1.5px solid var(--text);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
  white-space: nowrap;
  will-change: transform;
}
.btn--solid { background: var(--text); color: var(--bg); }
.btn--solid:hover { background: var(--flame); border-color: var(--flame); color: var(--deep-text); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
/* Für dunkle Flächen (Revival Nations) */
.btn--gold { background: var(--flame-2); border-color: var(--flame-2); color: var(--deep); }
.btn--gold:hover { background: var(--deep-text); border-color: var(--deep-text); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  color: var(--deep-text);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease), color 0.4s var(--ease);
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  color: var(--text);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}
.nav__brand em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-ink);
}
.nav__logo {
  height: 30px;
  width: auto;
  flex: none;
  display: block;
}
.nav__links {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  font-size: 0.95rem;
  font-weight: 550;
}
.nav__links a {
  position: relative;
  padding: 0.2em 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold-ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__right { display: flex; align-items: center; gap: 0.7rem; }

.nav__theme {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: transparent;
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
@media (hover: hover) {
  .nav__theme:hover { transform: rotate(40deg); }
}
.nav__theme svg { width: 17px; height: 17px; }
.nav__theme .icon-moon { display: none; fill: currentColor; }
[data-theme="dark"] .nav__theme .icon-sun { display: none; }
[data-theme="dark"] .nav__theme .icon-moon { display: block; }

.nav__cta { font-size: 0.88rem; padding: 0.7em 1.3em; }
.nav:not(.scrolled) .nav__cta {
  background: var(--deep-text);
  border-color: var(--deep-text);
  color: var(--deep);
}
.nav:not(.scrolled) .nav__cta:hover {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--deep-text);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  z-index: 120;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.nav.menu-open {
  z-index: 120;
  color: var(--deep-text);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* ---------- Mobiles Menü ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--deep);
  color: var(--deep-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
}
.menu.open { clip-path: inset(0 0 0% 0); }
.menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu__links a {
  font-size: clamp(2.4rem, 9vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.menu__links a i {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--flame);
  font-weight: 600;
}
.menu__links a:hover { color: var(--flame-2); }
.menu__meta { margin-top: 3rem; opacity: 0.75; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  background: var(--deep);
  color: var(--deep-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(4.5rem + 2vw) var(--pad) 2rem;
  position: relative;
  overflow: hidden;
}
.hero__bg { z-index: 0; }
.hero__embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;   /* canvas ist ein replaced element — inset allein streckt es nicht */
  z-index: 1;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  top: -30%; right: -15%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at center,
    rgba(185, 143, 51, 0.5) 0%,
    rgba(185, 143, 51, 0.15) 35%,
    transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
  animation: glow 8s ease-in-out infinite alternate;
}
@keyframes glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.8; }
  to { transform: translate(-6%, 8%) scale(1.15); opacity: 1; }
}
.hero__eyebrow {
  font-size: clamp(0.82rem, 1.5vw, 0.98rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.55em; height: 0.55em;
  background: var(--flame);
  border-radius: 50%;
  margin-right: 0.7em;
  vertical-align: 0.02em;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero__title {
  position: relative;
  z-index: 2;
  margin: auto 0;
  line-height: 0.92;
  will-change: transform;
}
.hero__word {
  display: block;
  font-size: clamp(3.6rem, 14.5vw, 15rem);
  font-weight: 900;
  font-stretch: 110%;
  letter-spacing: -0.035em;
  color: var(--deep-text);
  text-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}
.hero__word .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotate(4deg);
  animation: charIn 1s var(--ease) forwards;
}
@keyframes charIn { to { opacity: 1; transform: none; } }
.hero__serif {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 4rem);
  color: var(--flame-2);
  margin-top: -0.35em;
  margin-left: 0.08em;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.7s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-deep);
  padding-top: 1.4rem;
}
.hero__claim {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 34ch;
}
.hero__meta {
  display: flex;
  gap: 1.6rem;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero__cd { color: var(--flame-2); font-weight: 650; }
.hero__cd:empty { display: none; }
.hero__scroll { color: var(--flame-2); }
.hero__scroll:hover { text-decoration: underline; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--flame);
  color: var(--deep-text);
  overflow: hidden;
  padding: 0.85rem 0;
  transform: rotate(-1deg) scale(1.02);
  margin: -0.6rem 0 0;
  position: relative;
  z-index: 3;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 700;
  font-size: clamp(0.92rem, 1.8vw, 1.18rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Intro ---------- */
.intro {
  padding: clamp(5rem, 12vw, 10rem) var(--pad);
  max-width: 1200px;
}
.intro__label {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 650;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.intro__label::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: var(--text);
}
.intro__text {
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.22;
  max-width: 24ch;
}
.intro__text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 480;
  color: var(--flame);
}
.intro__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.intro__facts > div {
  background: var(--bg);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: background 0.35s var(--ease);
}
.intro__facts > div:hover { background: var(--bg-2); }
.intro__facts b {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--flame);
}
.intro__facts span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

/* ---------- Kapitel-Köpfe ---------- */
.chapter__no {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--flame);
  display: block;
  margin-bottom: 0.8rem;
}
.chapter__name {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 880;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.chapter__sub {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  opacity: 0.85;
  max-width: 46ch;
}

/* ---------- Revival Church / Cards ---------- */
.chapter { padding: clamp(4rem, 9vw, 8rem) var(--pad); }
.chapter__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.2rem;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  background: var(--bg-hover);
  box-shadow: 0 24px 48px -24px rgba(22, 18, 11, 0.4);
}
.card__fig { aspect-ratio: 16 / 10; }
.card__tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame);
  margin: 1.4rem 1.6rem 0;
}
.card h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.7rem 1.6rem 0;
}
.card p { font-size: 1.02rem; opacity: 0.9; flex: 1; margin: 0.7rem 1.6rem 0; }
.card__meta {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  border-top: 1px solid var(--line);
  padding: 0.9rem 0 0;
  margin: 1.4rem 1.6rem 1.6rem;
}

/* ---------- Index / Bereiche ---------- */
.index { padding: clamp(4rem, 9vw, 8rem) var(--pad); }
.index__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.index__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.index__strip figure { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.index__list { border-top: 1px solid var(--line); }
.row {
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.row summary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto 3rem;
  align-items: baseline;
  gap: 1rem;
  padding: clamp(1.3rem, 2.8vw, 2rem) 0.4rem;
  transition: padding 0.4s var(--ease);
}
.row summary::-webkit-details-marker { display: none; }
/* Nur mit echter Maus: auf Touch bliebe der Hover nach dem Tippen
   „kleben“ und die Zeile stünde dauerhaft eingerückt. */
@media (hover: hover) {
  .row summary:hover { padding-left: 1.2rem; }
  .row summary:hover .row__name { color: var(--flame); }
}
.row__name {
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 0.35s var(--ease);
}
.row__hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  opacity: 0.75;
  text-align: right;
}
.row__arrow {
  font-size: 1.4rem;
  justify-self: end;
  transition: transform 0.4s var(--ease);
}
.row[open] .row__arrow { transform: rotate(90deg); color: var(--flame); }
.row[open] { background: var(--bg-2); }
.row__body {
  display: grid;
  grid-template-columns: minmax(0, 62ch) auto;
  gap: 1.5rem 3rem;
  padding: 0 0.4rem clamp(1.6rem, 3vw, 2.4rem) 0.4rem;
  align-items: start;
}
.row__body p { font-size: 1.06rem; opacity: 0.9; }
.row__meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}
.row__meta span {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35em 0.9em;
  background: var(--bg);
}

/* Schwebende Bild-Vorschau */
.preview {
  position: fixed;
  top: 0; left: 0;
  width: min(24vw, 320px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85) rotate(-2deg);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55);
}
.preview.show { opacity: 1; transform: scale(1) rotate(-2deg); }
.preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Revival Global ---------- */
.global {
  background: var(--deep);
  color: var(--deep-text);
  padding: clamp(4.5rem, 10vw, 9rem) var(--pad);
  position: relative;
  overflow: hidden;
}
.global::before {
  content: "";
  position: absolute;
  bottom: -40%; left: -20%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(185, 143, 51, 0.22), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.global__inner { max-width: 1200px; margin: 0 auto; position: relative; }
.chapter__no--light { color: var(--flame-2); }
.global .chapter__sub { opacity: 0.85; }
.global__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.global__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.global__strip figure { aspect-ratio: 4 / 3; }
.global__list { list-style: none; }
.global__list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) 1.4fr 3rem;
  gap: 1.5rem;
  align-items: baseline;
  padding: clamp(1.4rem, 3vw, 2.1rem) 0;
  border-top: 1px solid var(--line-deep);
  transition: padding-left 0.4s var(--ease);
}
.global__list li:last-child { border-bottom: 1px solid var(--line-deep); }
@media (hover: hover) {
  .global__list li:hover { padding-left: 1.2rem; }
}
.global__list b {
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.global__list span { opacity: 0.85; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.global__list i {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--flame-2);
  justify-self: end;
  letter-spacing: 0.1em;
}
.global__give {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.global__give p { font-size: clamp(1.05rem, 1.8vw, 1.3rem); opacity: 0.85; max-width: 40ch; }

/* ---------- Besuch ---------- */
.visit { padding: clamp(5rem, 11vw, 10rem) var(--pad); }
.visit__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: 1200px;
  align-items: start;
}
.visit__title {
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0.5rem 0 1.4rem;
}
.visit__dot { color: var(--flame); }
.visit__text {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  opacity: 0.88;
  max-width: 40ch;
  margin-bottom: 2rem;
}
.countdown {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin-bottom: 2.2rem;
  background: var(--bg-2);
}
.countdown__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.countdown__time {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--flame);
  font-variant-numeric: tabular-nums;
}
.visit__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.visit__fig {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  margin-bottom: 1.6rem;
}
.visit__fig figcaption {
  position: absolute;
  left: 1rem; bottom: 0.9rem;
  z-index: 2;
  color: var(--deep-text);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.visit__fig figcaption small {
  display: block;
  margin-top: 0.35em;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  opacity: 0.62;
}
.visit__fig figcaption small a { text-decoration: underline; text-underline-offset: 2px; }
.visit__facts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.visit__facts > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.visit__facts dt {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
  padding-top: 0.2em;
}
.visit__facts dd {
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.visit__facts a:hover { color: var(--flame); }

/* ---------- Termine ---------- */
.termine { padding: clamp(4rem, 9vw, 8rem) var(--pad); }
.termine__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
/* ---------- Footer ---------- */
.footer {
  background: var(--deep);
  color: var(--deep-text);
  padding: clamp(3rem, 7vw, 6rem) var(--pad) 2rem;
  overflow: hidden;
}
.footer__big {
  font-size: clamp(4rem, 16.5vw, 17rem);
  font-weight: 900;
  font-stretch: 110%;
  letter-spacing: -0.03em;
  line-height: 0.85;
  text-align: center;
  background: linear-gradient(180deg, var(--deep-text) 55%, rgba(241, 237, 227, 0.12));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  will-change: transform;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line-deep);
}
.footer__cols h4 {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flame-2);
  margin-bottom: 1rem;
}
.footer__cols a {
  display: block;
  padding: 0.32rem 0;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.footer__cols a:hover { opacity: 1; }
@media (hover: hover) {
  .footer__cols a:hover { transform: translateX(4px); }
}
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-deep);
  font-size: 0.9rem;
  opacity: 0.7;
}
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a:hover { text-decoration: underline; }

/* ---------- Theme-Feinheiten ---------- */
[data-theme="dark"] .tone img { filter: grayscale(1) contrast(1.05) brightness(0.85); }
[data-theme="dark"] .tone:hover img { filter: grayscale(0.1) brightness(0.95); }
[data-theme="dark"] .global,
[data-theme="dark"] .footer { border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .index__strip { grid-template-columns: repeat(2, 1fr); }
  .row summary { grid-template-columns: 1fr 2rem; }
  .row__hint { display: none; }
  .row__body { grid-template-columns: 1fr; padding-left: 0.4rem; }
  .row__meta { flex-direction: row; flex-wrap: wrap; }
  .visit__grid { grid-template-columns: 1fr; }
  .global__list li { grid-template-columns: 1fr; gap: 0.4rem; }
  .global__list i { justify-self: start; }
  .global__strip { grid-template-columns: 1fr 1fr; }
  .global__strip figure:nth-child(3) { display: none; }
  .preview { display: none; }
}

@media (min-width: 901px) {
  .menu { display: none; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__word .char { opacity: 1; transform: none; animation: none; }
  .hero__serif { opacity: 1; animation: none; }
  .hero__embers { display: none; }
  .loader { display: none; }
}

/* ============================================================
   ERWEITERUNG — Rechtliches, Spenden, Zugänglichkeit
   ============================================================ */

/* Kräftigeres Gold für kleinen Text.
   Das helle Gold (--flame) erreicht auf dem Creme-Grund nur ~2,6:1
   und ist als Textfarbe zu schwach; als Fläche/Akzent bleibt es. */
:root { --gold-strong: #7a5c1c; }
[data-theme="dark"] { --gold-strong: #ecd08a; }

/* ---------- Fokus & Sprungmarke ----------
   Die Seite blendet den Systemcursor aus — ohne sichtbaren Fokus
   wäre sie per Tastatur nicht bedienbar. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero a:focus-visible,
.global a:focus-visible,
.footer a:focus-visible,
.menu a:focus-visible,
.pagehead a:focus-visible,
.nav:not(.scrolled) a:focus-visible,
.nav:not(.scrolled) button:focus-visible { outline-color: var(--flame-2); }

.skip {
  position: fixed;
  left: var(--pad);
  top: 0;
  z-index: 500;
  transform: translateY(-140%);
  background: var(--flame);
  color: var(--deep);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7em 1.2em;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.25s var(--ease);
}
.skip:focus-visible { transform: translateY(0); outline-offset: -5px; }

/* ---------- Seitenkopf der Unterseiten ----------
   Dunkles Band: die Navigation ist hell, solange nicht gescrollt
   wurde — ohne Hero bräuchte sie sonst einen hellen Grund. */
.pagehead {
  position: relative;
  background: var(--deep);
  color: var(--deep-text);
  padding: clamp(7.5rem, 15vw, 11rem) var(--pad) clamp(2.6rem, 6vw, 4.5rem);
  overflow: hidden;
}
.pagehead__glow {
  position: absolute;
  top: -55%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at center,
    rgba(185, 143, 51, 0.34) 0%,
    rgba(185, 143, 51, 0.1) 38%,
    transparent 70%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}
.pagehead__inner { position: relative; z-index: 2; max-width: 1200px; }
.pagehead__eyebrow {
  font-size: clamp(0.8rem, 1.4vw, 0.94rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.pagehead__eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.55em; height: 0.55em;
  background: var(--flame);
  border-radius: 50%;
  margin-right: 0.7em;
  vertical-align: 0.02em;
}
.pagehead__title {
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 880;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-top: 1.2rem;
}
.pagehead__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--flame-2);
  letter-spacing: -0.01em;
}
.pagehead__sub {
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  opacity: 0.85;
  max-width: 52ch;
}
.pagehead__stamp {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* ---------- Dokumentseiten ----------
   Links die nummerierte Inhaltsschiene, rechts der Text. */
.doc {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad) clamp(4rem, 9vw, 7rem);
}

.doc__rail { position: sticky; top: 6rem; }
.doc__rail h2 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-strong);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}
.doc__rail ol { list-style: none; counter-reset: rail; }
.doc__rail li { counter-increment: rail; }
.doc__rail a {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  align-items: baseline;
  padding: 0.5rem 0 0.5rem 0.9rem;
  margin-left: -0.9rem;
  font-size: 0.94rem;
  line-height: 1.35;
  opacity: 0.65;
  border-left: 1.5px solid transparent;
  transition: opacity 0.3s, border-color 0.3s, color 0.3s;
}
.doc__rail a::before {
  content: counter(rail, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.doc__rail a:hover { opacity: 1; }
.doc__rail a.is-current {
  opacity: 1;
  color: var(--gold-strong);
  border-left-color: var(--flame);
  font-weight: 600;
}

.doc__body { max-width: 68ch; }
.doc__lead {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.012em;
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}
.doc__body section { scroll-margin-top: 5.5rem; }
.doc__body section + section { margin-top: clamp(2.6rem, 5vw, 4rem); }
.doc__body h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.doc__no {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-strong);
  margin-bottom: 0.5rem;
}
.doc__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.7rem 0 0.5rem;
}
.doc__body p + p { margin-top: 0.9rem; }
.doc__body ul, .doc__body ol { margin: 0.9rem 0 0; padding-left: 1.15rem; }
.doc__body li { margin-bottom: 0.45rem; }
.doc__body li::marker { color: var(--flame); }
.doc__body a {
  color: var(--gold-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.25s;
}
.doc__body a:hover { opacity: 0.7; }

/* Datenblock: Anschrift, Vertretung, Kontakt … */
.doc__data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.2rem;
}
/* Ungerade Zellenzahl: die letzte füllt die Zeile — sonst bliebe ein Loch */
.doc__data > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.doc__data > div {
  background: var(--bg);
  padding: 1.2rem 1.3rem;
  transition: background 0.35s var(--ease);
}
.doc__data > div:hover { background: var(--bg-2); }
.doc__data dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 0.4rem;
}
.doc__data dd { font-size: 1rem; line-height: 1.5; }
.doc__data dd a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.doc__data dd a:hover { color: var(--gold-strong); }

/* Frage-Antwort-Zeilen */
.doc__pairs { border-top: 1px solid var(--line); margin-top: 1.2rem; }
.doc__pairs > div {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 0.3rem 1.6rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.doc__pairs dt { font-weight: 650; font-size: 0.95rem; }
.doc__pairs dd { opacity: 0.9; font-size: 0.97rem; }

/* Hinweiskasten */
.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--flame);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-2);
  padding: 1.1rem 1.3rem;
  margin-top: 1.2rem;
  font-size: 0.97rem;
}
.note b {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 0.4rem;
}

/* ---------- Spenden ----------
   Die Bankverbindung ist der Inhalt — also wird sie das Bild.
   Ziffern bewusst in Textfarbe: eine IBAN muss man abtippen
   können, Gold hätte hier zu wenig Kontrast. */
.give { padding: clamp(4rem, 9vw, 8rem) var(--pad); }
.give__inner { max-width: 1200px; margin: 0 auto; }
.give__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.give__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.give__text p + p { margin-top: 1rem; }
.give__use { list-style: none; margin-top: 1.8rem; border-top: 1px solid var(--line); }
.give__use li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.give__use b { font-weight: 700; letter-spacing: -0.01em; }
.give__use span { font-size: 0.97rem; opacity: 0.85; }

.bank {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.bank__top {
  padding: 1.3rem clamp(1.2rem, 3vw, 1.9rem);
  border-bottom: 1px solid var(--line);
}
.bank__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-strong);
  margin-bottom: 0.4rem;
}
.bank__holder { font-weight: 750; font-size: 1.1rem; letter-spacing: -0.015em; }
.bank__iban {
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1.2rem, 3vw, 1.9rem);
  border-bottom: 1px solid var(--line);
}
.bank__num {
  font-size: clamp(1.25rem, 3.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
/* Feste Spaltenzahl: bei auto-fit bliebe in der letzten Zeile ein Loch,
   in dem die Trennlinien-Fläche als grauer Block durchscheint. */
.bank__rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.bank__rows > div { background: var(--bg-2); padding: 1rem clamp(1.2rem, 3vw, 1.9rem); }
.bank__rows dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.35rem;
}
.bank__rows dd { font-weight: 650; font-variant-numeric: tabular-nums; }
.bank__foot {
  padding: 1.1rem clamp(1.2rem, 3vw, 1.9rem);
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Wofür gespendet wird: Gemeinde oder Revival Nations.
   Der Knopf bei Revival Nations springt hierher (#spenden-nations). */
.bank { scroll-margin-top: 6rem; }
.bank__for {
  padding: 1.1rem clamp(1.2rem, 3vw, 1.9rem) 1.2rem;
  border-bottom: 1px solid var(--line);
}
.zweck {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.zweck__btn {
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0.5em 1.1em;
  border: 0;
  border-radius: 999px;
  background: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.zweck__btn[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.zweck__btn[aria-pressed="false"]:hover { background: var(--bg-hover); }
.bank__hint { margin-top: 0.8rem; font-size: 0.93rem; opacity: 0.85; }
.bank__rows dd.is-new { animation: zweckNeu 1.4s var(--ease); }
@keyframes zweckNeu { from { color: var(--gold-strong); } }

/* Kopier-Knopf */
.copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0.6em 1.1em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.copy:hover { border-color: var(--text); }
.copy svg { width: 15px; height: 15px; flex: none; }
.copy .copy__ok { display: none; }
.copy.is-done { border-color: var(--flame); color: var(--gold-strong); }
.copy.is-done .copy__idle { display: none; }
.copy.is-done .copy__ok { display: inline; }
.copy[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; }
  .doc__data { grid-template-columns: 1fr; }
  .doc__rail {
    position: static;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
  }
  .doc__rail h2 { border-bottom: 0; padding-bottom: 0.4rem; }
  .doc__rail ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0 1.2rem;
  }
  .doc__rail a { border-left: 0; margin-left: 0; padding-left: 0; }
  .give__grid { grid-template-columns: 1fr; }
  .doc__pairs > div { grid-template-columns: 1fr; }
}

/* Technische Bezeichner im Fliesstext (localStorage-Keys, Hostnamen) */
.doc__body code,
.doc__pairs code {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg-2);
  overflow-wrap: anywhere;
}
.note code { background: var(--bg); }
.doc__body em { font-family: var(--serif); font-style: italic; font-size: 1.06em; }

/* Kopier-Knopf: Ausweich-Zustand, wenn nur markiert statt kopiert werden konnte */
.copy .copy__mark { display: none; }
.copy.is-marked { border-color: var(--flame); color: var(--gold-strong); }
.copy.is-marked .copy__idle { display: none; }
.copy.is-marked .copy__mark { display: inline; }

/* Bankkarte auf schmalen Schirmen: Felder untereinander statt gequetscht */
@media (max-width: 700px) {
  .bank__rows { grid-template-columns: 1fr; }
}

/* Die drei Eckdaten im Intro: feste Spalten statt auto-fit.
   Mit auto-fit fielen sie unter ~430px auf zwei Spalten zurueck — bei drei
   Kacheln blieb dann ein Feld leer, in dem die Trennlinien-Flaeche als
   grauer Block durchschien. Auf Handybreite stehen sie jetzt untereinander. */
.intro__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .intro__facts { grid-template-columns: 1fr; }
}

/* „Verwendungszweck“ ist breiter als seine Spalte — Wort trennen lassen
   statt kuerzen: der Begriff steht im Ueberweisungsformular genauso. */
.bank__rows dt {
  hyphens: auto;
  overflow-wrap: break-word;
}

/* ============================================================
   HANDY — alles, was unter ~560px anders laufen muss
   ============================================================ */

/* Schräges Marquee und Glow-Flächen ragen ein paar Pixel über den Rand.
   clip statt hidden: kein eigener Scroll-Container, sticky bleibt intakt. */
main { overflow-x: clip; }
/* Ältere Browser ohne clip (iOS ≤ 15): hidden. Kostet dort nur das
   Mitlaufen der Inhaltsschiene auf den Unterseiten, nicht die Breite. */
@supports not (overflow-x: clip) {
  main { overflow-x: hidden; }
}

/* Burger: Tippfläche 44 × 44 statt 42 × 26 */
.nav__burger {
  width: 44px; height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  margin-right: -9px;
}

@media (max-width: 900px) {
  /* Die lange E-Mail-Adresse hat die Spalte auf 450px aufgedrückt —
     das Handy hat daraufhin die ganze Startseite herausgezoomt. */
  .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .visit__facts dd a { overflow-wrap: anywhere; }
}

/* IBAN: Schrift wächst mit der Breite, damit sie in einer Zeile steht
   statt „02“ allein umzubrechen. Faktor gemessen: Textbreite ≈ 15,75 × Schriftgröße. */
@media (max-width: 700px) {
  .bank__num {
    font-size: clamp(0.9rem, calc(6.1vw - 5px), 1.9rem);
    text-wrap: balance;
  }
}

@media (max-width: 560px) {
  /* Hero: Wort füllt die Breite (Textbreite ≈ 5 × Schriftgröße),
     Unterzeile sitzt darunter statt halb im Wort. */
  .hero__word { font-size: calc(19vw - 7px); }
  .hero__serif { margin-top: 0.15em; }
  .hero__foot { gap: 1.2rem; }
  .hero__meta { gap: 0.55rem 1.2rem; font-size: 0.8rem; }
  .hero__meta span:first-child { flex-basis: 100%; }

  /* Kontakt-Zeilen: Label über dem Wert */
  .visit__facts > div { grid-template-columns: 1fr; gap: 0.3rem; padding: 1.1rem 0; }

  /* Footer zweispaltig statt vier Blöcke untereinander */
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.2rem; }
}

/* Sehr schmale Geräte (iPhone SE 1. Gen.): Kopfzeile passt sonst nicht */
@media (max-width: 374px) {
  .nav { gap: 0.6rem; }
  .nav__brand { font-size: 0.9rem; gap: 0.45rem; }
  .nav__right { gap: 0.4rem; }
  .nav__theme { width: 38px; height: 38px; }
  /* „Erweckungsschule“ schob sonst den Pfeil aus dem Bild */
  .row__name { font-size: 1.45rem; }
}

/* Startbild (Fahnen im Lobpreis): Auf Hochformat-Schirmen den Ausschnitt
   auf den Mann mit den Fahnen legen — mittig sähe man nur Stoff. */
.hero__bg img { object-position: 80% 50%; }

/* ---------- Pastoren ---------- */
.pastor { padding: 0 var(--pad) clamp(4rem, 9vw, 8rem); }
.pastor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 1200px;
}
/* Bewusst ohne Grau-Gold-Tönung: Bei den Pastoren zählen Nähe und Wärme,
   und das einzige Farbfoto zieht den Blick genau hierher. */
.pastor__fig {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}
.pastor__fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transition: transform 0.9s var(--ease);
}
@media (hover: hover) {
  .pastor__fig:hover img { transform: scale(1.03); }
}
[data-theme="dark"] .pastor__fig img { filter: brightness(0.92); }
.pastor__who {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 2rem 0 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.pastor__who b {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pastor__who span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-strong);
}
@media (max-width: 900px) {
  .pastor__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Besuch-Knopf auch auf dem Handy ----------
   Der wichtigste Schritt für Neue gehört immer in Reichweite.
   Auf schmalen Schirmen reicht der Platz nicht für Schriftzug und Knopf:
   dann nur die Flamme — der Schriftzug bleibt für Screenreader lesbar. */
@media (max-width: 900px) {
  .nav__cta { display: inline-flex; }
  .nav.menu-open .nav__cta { visibility: hidden; }
}
@media (max-width: 600px) {
  .nav__word {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .nav__logo { height: 34px; }
  .nav__cta { font-size: 0.8rem; padding: 0.62em 1.05em; }
}

/* ---------- Vision ----------
   Bleibt in beiden Themes dunkel: großes Bekenntnis links, Gemeinde-Foto
   rechts, das nach links ins Dunkel ausläuft. */
.vision {
  background: var(--deep);
  color: var(--deep-text);
  position: relative;
  overflow: hidden;
}
.vision__hero {
  position: relative;
  min-height: min(100svh, 880px);
  display: flex;
  align-items: flex-end;
}
.vision__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60%;
}
.vision__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
  filter: grayscale(1) contrast(1.08) brightness(0.8);
}
.vision__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--deep) 0%, rgba(22, 18, 11, 0.7) 18%, rgba(22, 18, 11, 0) 55%),
    linear-gradient(0deg, var(--deep) 0%, rgba(22, 18, 11, 0) 32%);
}
.vision__head {
  position: relative;
  z-index: 1;
  padding: clamp(7rem, 12vw, 9rem) var(--pad) clamp(3rem, 6vw, 5rem);
}
.vision__label {
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}
.vision__title {
  font-size: clamp(2.7rem, 8.4vw, 7.8rem);
  font-weight: 900;
  font-stretch: 112%;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}
.vision__title span { color: var(--flame-2); }
.vision__lead {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  max-width: 34ch;
  opacity: 0.88;
}
.vision__list {
  list-style: none;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.4rem clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1rem, 3vw, 2rem) var(--pad) clamp(4.5rem, 9vw, 8rem);
}
.vision__list li {
  border-top: 1px solid var(--line-deep);
  padding-top: 1.4rem;
}
.vision__list i {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--flame-2);
  margin-bottom: 0.9rem;
}
.vision__list b {
  display: block;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.vision__list p { font-size: 0.98rem; line-height: 1.6; opacity: 0.78; }
.vision__list li:nth-child(2) { transition-delay: 0.08s; }
.vision__list li:nth-child(3) { transition-delay: 0.16s; }
.vision__list li:nth-child(4) { transition-delay: 0.24s; }
[data-theme="dark"] .vision { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

@media (max-width: 1100px) {
  .vision__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Handy: Foto oben über die volle Breite, Text läuft unten hinein */
@media (max-width: 900px) {
  .vision__hero { display: block; min-height: 0; }
  .vision__photo { position: relative; width: 100%; height: clamp(300px, 88vw, 560px); }
  .vision__photo::after {
    background: linear-gradient(0deg, var(--deep) 4%, rgba(22, 18, 11, 0) 60%);
  }
  .vision__head { margin-top: -4.5rem; padding-top: 0; }
}
@media (max-width: 600px) {
  .vision__list { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
}

/* ---------- Sprachwahl ----------
   Immer sichtbar in der Leiste, nie im Menü versteckt: Wer kein Deutsch
   liest, muss „EN“ oder „RU“ sofort entdecken. */
.lang {
  display: flex;
  align-items: center;
  gap: 1px;
  height: 40px;
  padding: 0 3px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}
.lang a {
  display: grid;
  place-items: center;
  height: 32px;
  min-width: 30px;
  padding: 0 0.4em;
  border-radius: 999px;
  opacity: 0.72;
  transition: opacity 0.3s, background 0.3s, color 0.3s;
}
.lang a:hover { opacity: 1; }
.lang a[aria-current="page"] { opacity: 1; background: var(--deep-text); color: var(--deep); }
.nav.scrolled .lang a[aria-current="page"] { background: var(--text); color: var(--bg); }
.nav.menu-open .lang a[aria-current="page"] { background: var(--deep-text); color: var(--deep); }

/* Kurzform des Besuch-Knopfs, wo der Platz knapp ist */
.cta__short { display: none; }
@media (min-width: 901px) and (max-width: 1150px) {
  .nav__links { gap: clamp(1rem, 2vw, 2.4rem); }
  .nav__word em { display: none; }
  .nav__cta .cta__long { display: none; }
  .nav__cta .cta__short { display: inline; }
}
@media (max-width: 480px) {
  .nav__cta .cta__long { display: none; }
  .nav__cta .cta__short { display: inline; }
}
@media (max-width: 350px) {
  .nav__brand { flex: none; }
  .nav__right { gap: 0.4rem; }
  .nav__cta { padding: 0.62em 0.8em; }
  .lang a { min-width: 26px; padding: 0 0.3em; }
}

/* ---------- Nächster Termin in „Was bei uns läuft“ ----------
   Kommt aus dem Google-Kalender (main.js); fehlt termine.json, bleibt nur der feste Rhythmus. */
.row__meta .row__next {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.row__meta .row__next.is-off {
  background: transparent;
  border-color: var(--gold-strong);
  color: var(--gold-strong);
}

/* ---------- Kalender ----------
   Termine aus dem Google-Kalender (main.js baut alles auf). Jede Art hat eine Farbe —
   gedeckt auf Creme, heller im Dunkelmodus. */
.cal {
  --k-gottesdienst: #b98f33; --k-connect: #4f7d5a; --k-schule: #c0622d;
  --k-healing: #4d68b0; --k-jugend: #b0507a; --k-other: #8a8273;
  max-width: 1100px;
}
[data-theme="dark"] .cal {
  --k-gottesdienst: #ecd08a; --k-connect: #8fc79c; --k-schule: #f0a070;
  --k-healing: #9db4f0; --k-jugend: #e79bc0; --k-other: #b8b0a0;
}
.cal [data-kind="gottesdienst"] { --kind: var(--k-gottesdienst); }
.cal [data-kind="connect"] { --kind: var(--k-connect); }
.cal [data-kind="schule"] { --kind: var(--k-schule); }
.cal [data-kind="healing"] { --kind: var(--k-healing); }
.cal [data-kind="jugend"] { --kind: var(--k-jugend); }
.cal [data-kind="other"] { --kind: var(--k-other); }
.cal [hidden] { display: none !important; }
.cal__dot {
  display: inline-block;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--kind, currentColor);
}
@keyframes calIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Knöpfe */
.cal__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0 1.1em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cal__btn svg { width: 16px; height: 16px; flex: none; }
.cal__btn--light { background: var(--deep-text); color: var(--deep); }
.cal__btn--light:hover { background: var(--flame-2); }
.cal__btn--solid { background: var(--text); color: var(--bg); }
.cal__btn--solid:hover { background: var(--flame); color: var(--deep); }
.cal__btn--line { border-color: var(--line); }
.cal__btn--line:hover { border-color: currentColor; }
@media (hover: hover) {
  .cal__btn:hover { transform: translateY(-1px); }
}

/* „Als Nächstes“ — bleibt in beiden Themes dunkel */
.cal__next {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding: clamp(1.2rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--deep-text);
  animation: calIn 0.7s var(--ease) both;
}
.cal__next::before {
  content: "";
  position: absolute;
  right: -12%; top: -70%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(185, 143, 51, 0.3), transparent 65%);
  pointer-events: none;
}
[data-theme="dark"] .cal__next { background: var(--deep-2); box-shadow: inset 0 0 0 1px var(--line); }
.cal__next-main { position: relative; display: flex; align-items: center; gap: 1.2rem; min-width: 0; }
.cal__next-main > div { min-width: 0; }
.cal__next .cal__tile { width: 4.4rem; height: 5.1rem; border-color: rgba(236, 208, 138, 0.5); }
.cal__next .cal__tile b { font-size: 1.85rem; }
.cal__next .cal__tile .cal__mon { color: var(--flame-2); }
.cal__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--flame-2);
}
.cal__next.is-live .cal__eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.6em; height: 0.6em;
  margin-right: 0.6em;
  border-radius: 50%;
  background: var(--flame-2);
  vertical-align: 0.05em;
  animation: blink 1.6s ease-in-out infinite;
}
.cal__next-title {
  margin-top: 0.2rem;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cal__next-where { margin-top: 0.25rem; font-size: 0.95rem; opacity: 0.75; }
.cal__next-actions { position: relative; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cal__next .cal__btn--line { border-color: var(--line-deep); }
.cal__next .cal__btn--line:hover { border-color: var(--deep-text); }

/* Filter */
.cal__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.cal__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 42px;
  padding: 0 1.05em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cal__chip:hover { border-color: var(--text); }
.cal__chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.cal__chip[aria-pressed="true"] .cal__dot { box-shadow: 0 0 0 2px var(--bg); }

/* Liste nach Wochen */
.cal__list { transition: opacity 0.18s var(--ease), transform 0.18s var(--ease); }
.cal__list.is-swapping { opacity: 0; transform: translateY(6px); }
.cal__week { margin-top: clamp(2rem, 4vw, 3rem); }
.cal__week-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.2rem 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.cal__week-head h3 { font-size: 0.82rem; font-weight: 750; letter-spacing: 0.16em; text-transform: uppercase; }
.cal__week-head span { font-size: 0.88rem; opacity: 0.7; }
.cal__items { list-style: none; }
.cal__item {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
  animation: calIn 0.55s var(--ease) both;
  animation-delay: calc(min(var(--i), 10) * 45ms);
}
/* Farbstreifen der Art: beim Überfahren und beim Aufklappen */
.cal__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--kind);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.cal__item.is-open { background: var(--bg-2); }
.cal__item.is-open::before { transform: scaleY(1); }
@media (hover: hover) {
  .cal__item:hover { background: var(--bg-2); }
  .cal__item:hover::before { transform: scaleY(1); }
}
.cal__row {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  width: 100%;
  padding: 1.05rem clamp(0.6rem, 1.4vw, 1.1rem);
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}
.cal__tile {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 4rem; height: 4.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.1;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.cal__tile span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
.cal__tile b { font-size: 1.6rem; font-weight: 850; letter-spacing: -0.02em; }
.cal__tile .cal__mon { font-weight: 700; color: var(--gold-strong); opacity: 1; }
.cal__item.is-today .cal__tile { background: var(--text); border-color: var(--text); color: var(--bg); }
.cal__item.is-today .cal__tile .cal__mon { color: inherit; opacity: 0.8; }
.cal__main { flex: 1 1 auto; min-width: 0; }
.cal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 1rem; font-size: 0.92rem; }
.cal__time { font-weight: 650; font-variant-numeric: tabular-nums; }
.cal__kind { display: inline-flex; align-items: center; gap: 0.45em; font-size: 0.8rem; letter-spacing: 0.06em; opacity: 0.8; }
.cal__title {
  display: block;
  margin-top: 0.1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cal__chev {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.2rem; height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.cal__chev svg { width: 14px; height: 14px; }
.cal__item.is-open .cal__chev { transform: rotate(180deg); background: var(--text); border-color: var(--text); color: var(--bg); }

/* Abgesagt: bleibt sichtbar, damit niemand umsonst kommt */
.cal__item.is-off .cal__title { text-decoration: line-through; text-decoration-thickness: 2px; opacity: 0.55; }
.cal__item.is-off .cal__tile,
.cal__item.is-off .cal__time { opacity: 0.55; }
.cal__item.is-off .cal__kind { color: var(--gold-strong); opacity: 1; font-weight: 700; }
.cal__item.is-off .cal__dot { background: var(--gold-strong); }

/* Aufklappen: Höhe weich über grid-template-rows */
.cal__detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.cal__item.is-open .cal__detail { grid-template-rows: 1fr; }
.cal__detail-in {
  overflow: hidden;
  visibility: hidden;
  padding-left: calc(4rem + clamp(0.9rem, 2vw, 1.5rem) + clamp(0.6rem, 1.4vw, 1.1rem));
  padding-right: clamp(0.6rem, 1.4vw, 1.1rem);
  transition: visibility 0s 0.45s;
}
.cal__item.is-open .cal__detail-in { visibility: visible; transition-delay: 0s; }
.cal__where { font-size: 0.95rem; opacity: 0.75; }
.cal__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.9rem; padding-bottom: 1.4rem; }

.cal__more {
  margin-top: 1.4rem;
  min-height: 44px;
  padding: 0 1.3em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  transition: border-color 0.3s, background 0.3s;
}
.cal__more:hover { border-color: var(--text); background: var(--bg-2); }
.cal__empty { padding: 1.4rem 0.4rem; opacity: 0.8; }

/* Abonnieren */
.cal__abo {
  max-width: 1100px;
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.4rem clamp(1.2rem, 2.4vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cal__abo p { max-width: 52ch; }
.cal__abo b { font-weight: 800; }
.cal__abo-links { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.cal__abo-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.1em;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 0.3s, color 0.3s;
}
.cal__abo-links a:hover { background: var(--text); color: var(--bg); }

@media (max-width: 640px) {
  .cal__filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--pad) * -1);
    padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .cal__filter::-webkit-scrollbar { display: none; }
  .cal__chip { flex: none; }
  .cal__tile { width: 3.4rem; height: 4rem; }
  .cal__tile b { font-size: 1.35rem; }
  .cal__chev { width: 2rem; height: 2rem; }
  .cal__detail-in { padding-left: clamp(0.6rem, 1.4vw, 1.1rem); }
  .cal__next-actions { width: 100%; }
  .cal__next-main { gap: 0.9rem; }
  .cal__next .cal__tile { width: 3.6rem; height: 4.3rem; }
  .cal__next .cal__tile b { font-size: 1.5rem; }
  .cal__next-title { font-size: 1.45rem; }
}
/* Lange Wörter wie „Erweckungsschule“ dürfen trennen statt überzulaufen */
.cal__next-title, .cal__title { hyphens: auto; overflow-wrap: break-word; }
/* „Mehr über …“ springt zur Zeile — nicht unter die feste Leiste */
.index__list .row { scroll-margin-top: 5.5rem; }
