@font-face {
  font-family: "Righteous";
  src: url("../fonts/righteous-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* ===========================================================
   Zwischen Erstem und Letztem – Ausstellung Alexander Fey
   Gemeinde am Weidkamp, Essen-Borbeck
   =========================================================== */

:root {
  --grün:        #4e7480;
  --grün-hell:   #6b919e;
  --grün-blass:  #e6edf0;
  --dunkel:      #2b3a42;
  --text:        #33424a;
  --gold:        #c8955a;
  --gold-blass:  #f6ead9;
  --creme:       #faf8f3;
  --weiss:       #ffffff;
  --rand:        #e0ddd3;
  --entwurf-bg:  #fff6e0;
  --entwurf-rand:#e8c675;
  --max-breite:  980px;
  --radius:      10px;
  --schatten:    0 2px 14px rgba(43,58,66,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--grün); }
a:hover { color: var(--dunkel); }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--dunkel);
  line-height: 1.25;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin-top: 1.4em; }
h3 { font-size: 1.15rem; margin-top: 1.2em; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ---------- Kopfzeile / Navigation ---------- */
header.site-header {
  background: var(--dunkel);
  color: var(--weiss);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.brand {
  color: var(--weiss);
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.2;
}
.brand strong { display: block; font-size: 1.15rem; }
.brand span { display: block; font-size: 0.75rem; color: #b9c3c7; font-family: -apple-system, sans-serif; }

nav.main-nav { display: none; }
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: #dfe6e8;
  text-decoration: none;
  font-size: 0.93rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--weiss); border-bottom-color: var(--grün-hell); }

button.nav-toggle {
  background: none;
  border: 1px solid #55666d;
  color: var(--weiss);
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
  font-size: 1.1rem;
  line-height: 1;
}
@media (min-width: 1000px) {
  nav.main-nav { display: block; }
  button.nav-toggle { display: none; }
}
nav.mobile-nav {
  display: none;
  background: #223037;
  border-top: 1px solid #3a4a52;
}
nav.mobile-nav.open { display: block; }
nav.mobile-nav ul { list-style: none; margin: 0; padding: 0.5rem 1.2rem 1rem; }
nav.mobile-nav a {
  display: block;
  color: #e7ecee;
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid #33424a;
  font-size: 0.98rem;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--grün) 0%, var(--grün-hell) 100%);
  color: var(--weiss);
  padding: 3rem 0 2.4rem;
  text-align: center;
}
.hero h1 { color: var(--weiss); margin-bottom: 0.3em; }
.hero .untertitel {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #eef6f1;
  margin-bottom: 1.1em;
}
.hero .kuenstler-name { font-size: 1.05rem; color: #eef6f1; margin-bottom: 1.6em; }
.hero .meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.3rem;
  justify-content: center;
  font-size: 0.95rem;
  color: #eef6f1;
}
.hero .cta-row { margin-top: 1.6rem; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* Startseite: Titelbild rechts neben dem Einstiegstext, auf dem Handy darunter */
.hero-mit-bild .hero-grid { display: grid; gap: 1.8rem; align-items: center; justify-items: center; }
.hero-mit-bild .hero-bild { margin: 0; width: min(70vw, 340px); background: var(--creme); padding: 8px; border-radius: 18px; box-shadow: 0 10px 30px rgba(29, 42, 37, 0.25); }
.hero-mit-bild .hero-bild img { border-radius: 11px; width: 100%; }
@media (min-width: 820px) {
  .hero-mit-bild { text-align: left; }
  .hero-mit-bild .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; justify-items: stretch; }
  .hero-mit-bild .hero-bild { justify-self: end; width: min(100%, 380px); }
  .hero-mit-bild .meta, .hero-mit-bild .cta-row { justify-content: flex-start; }
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.3rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
}
.btn-primary { background: var(--weiss); color: var(--grün); }
.btn-primary:hover { background: #eef6f1; color: var(--dunkel); }
.btn-outline { background: transparent; color: var(--weiss); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--weiss); }
.btn-dark { background: var(--dunkel); color: var(--weiss); }
.btn-dark:hover { background: #1c2731; }

/* ---------- Abschnitte ---------- */
main { display: block; }
section.block { padding: 2.6rem 0; }
section.block.alt { background: var(--grün-blass); }
section.block.eng { padding: 1.6rem 0; }

.lead {
  font-size: 1.08rem;
  color: var(--dunkel);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 620px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .card-grid.cols-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 860px) { .card-grid.cols-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--schatten);
}
.card h3 { margin-top: 0; }

/* ---------- Werke-Galerie ---------- */
.werk-tile {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  box-shadow: var(--schatten);
  transition: transform 0.15s ease;
}
.werk-tile:hover { transform: translateY(-2px); }
.werk-tile img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.werk-tile .werk-tile-info { padding: 0.7rem 0.9rem 0.9rem; }
.werk-tile .werk-tile-info .titel { font-family: Georgia, serif; color: var(--dunkel); font-size: 1rem; }
.werk-tile .werk-tile-info .format { font-size: 0.8rem; color: #6b7a80; }

.werk-detail-bild img {
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.werk-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
@media (min-width: 760px) {
  .werk-detail-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--grün-blass);
  color: var(--grün);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  margin: 0 0.3rem 0.3rem 0;
  font-weight: 600;
}
.tag.gold { background: var(--gold-blass); color: #9a6a2f; }

/* ---------- Entwurf/Platzhalter-Hinweise ---------- */
.entwurf-hinweis {
  background: var(--entwurf-bg);
  border: 1px solid var(--entwurf-rand);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: #6b551c;
  margin: 1.1rem 0;
}
.entwurf-hinweis strong { color: #57430f; }

.ki-hinweis {
  display: block;
  font-size: 0.78rem;
  font-style: italic;
  color: #9a6a2f;
  margin-top: 0.3rem;
}

/* ---------- Quellen / Stimmen ---------- */
.stimme {
  border-left: 4px solid var(--grün);
  padding: 0.2rem 0 0.2rem 1.1rem;
  margin: 1.3rem 0;
}
.stimme .autor {
  display: block;
  font-size: 0.85rem;
  color: #6b7a80;
  margin-top: 0.4rem;
}
.stimme.theologie { border-left-color: var(--gold); }
.stimme.bibel { border-left-color: #8a8fae; font-style: italic; }

/* ---------- Programm / Tabelle ---------- */
.programm-liste { list-style: none; margin: 0; padding: 0; }
.programm-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rand);
}
.programm-item .datum {
  font-weight: 700;
  color: var(--dunkel);
  font-size: 0.92rem;
}
.programm-item .zeit { font-weight: 400; color: #6b7a80; font-size: 0.82rem; display:block; }
.programm-item .titel { color: var(--dunkel); font-weight: 600; }
.programm-item .kategorie { font-size: 0.8rem; color: var(--grün); }
.programm-item .beschreibung { margin-top: 0.3rem; font-size: 0.95rem; }
.programm-item .beteiligung {
  font-size: 0.82rem;
  color: #6b7a80;
  margin-top: 0.25rem;
}

/* ---------- Formulare ---------- */
form.anfrage {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--schatten);
  max-width: 640px;
}
form.anfrage label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--dunkel); margin: 0.9rem 0 0.3rem; }
form.anfrage input, form.anfrage select, form.anfrage textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid #c9c4b6;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--creme);
}
form.anfrage textarea { min-height: 90px; resize: vertical; }
form.anfrage .hinweis-form { font-size: 0.8rem; color: #6b7a80; margin-top: 0.3rem; }
form.anfrage button { margin-top: 1.3rem; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--dunkel);
  color: #cfd8db;
  padding: 2.2rem 0 1.6rem;
  margin-top: 3rem;
  font-size: 0.88rem;
}
footer.site-footer a { color: #d9e4e6; }
footer.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 700px) { footer.site-footer .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
footer.site-footer h4 { color: var(--weiss); font-size: 0.95rem; margin-bottom: 0.5em; }
footer.site-footer .copy { border-top: 1px solid #3c4a51; margin-top: 1.6rem; padding-top: 1rem; font-size: 0.8rem; color: #93a0a4; }

/* ---------- Breadcrumb / Zurück ---------- */
.zurueck { display:inline-block; margin-bottom: 1.2rem; font-size: 0.9rem; text-decoration:none; }

/* Barrierefreiheit: Fokusanzeige */
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Sprachwahl ---------- */
.sprachwahl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.3rem;
}
.sprachwahl button {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font-size: 0.87rem;
  cursor: pointer;
  color: var(--text);
}
.sprachwahl button.active { background: var(--dunkel); color: var(--weiss); border-color: var(--dunkel); }
.sprachtext[dir="rtl"] { text-align: right; font-family: Tahoma, "Segoe UI", sans-serif; }

/* ---------- Audio-Player ---------- */
.audio-player { margin: 0.6rem 0 1.3rem; }
.audio-player button.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grün-blass);
  color: var(--grün);
  border: 1px solid #cfe3d7;
  border-radius: 24px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.audio-player button.play-btn:hover { background: #ddeee4; }
.audio-player button.play-btn[disabled] {
  background: #f1efe8; color: #9aa5a9; border-color: #e2ded2; cursor: not-allowed; font-weight: 400;
}

/* ---------- Gruppen-/Triptychon-Badges ---------- */
.badge-mose { background: #f6e9e9; color: #8a3b3b; }
.badge-offenbarung { background: #e8eef3; color: #4d6f8a; }
.badge { display:inline-block; font-size:0.75rem; border-radius:20px; padding:0.2rem 0.7rem; margin:0 0.3rem 0.3rem 0; font-weight:600; }

.triptychon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.4rem 0;
}
@media (min-width: 700px) { .triptychon-grid { grid-template-columns: repeat(3, 1fr); } }
.triptychon-grid a { display:block; }
.triptychon-grid img { border-radius: 8px; box-shadow: var(--schatten); }

/* ---------- Kinder-Bereich ---------- */
body.kinder-bereich { background: #fffaf0; }
body.kinder-bereich header.site-header { background: #d97b4f; }
body.kinder-bereich nav.mobile-nav { background: #b8613a; }
body.kinder-bereich nav.mobile-nav a { border-bottom-color: #c96f47; }
body.kinder-bereich h1, body.kinder-bereich h2 { color: #b8613a; font-family: Georgia, serif; }
body.kinder-bereich .hero { background: linear-gradient(180deg,#f2a25c,#e8834f); }
body.kinder-bereich .btn-primary { color: #d97b4f; }
.kinder-tile { border-radius: 16px; }
.kinder-fun-box {
  background: #fff3e2; border: 2px dashed #f0b184; border-radius: 16px;
  padding: 1rem 1.2rem; font-size: 1.02rem; margin: 1rem 0;
}

/* ---------- Druckvorlagen (intern) ---------- */
.intern-hinweis {
  background: #fdeaea; border: 1px solid #f0c2c2; color: #7a2b2b;
  border-radius: var(--radius); padding: 0.9rem 1.1rem; margin-bottom: 1.4rem; font-size: 0.92rem;
}
.druck-liste { display:grid; grid-template-columns: 1fr; gap: 0.6rem; }
@media (min-width: 700px) { .druck-liste { grid-template-columns: repeat(3,1fr); } }
.druck-item { background:var(--weiss); border:1px solid var(--rand); border-radius:8px; padding:0.8rem; font-size:0.86rem; }
.druck-item a { display:inline-block; margin-top:0.3rem; }

/* ---------- Virtueller Rundgang ---------- */
.rundgang-fortschritt {
  font-size: 0.85rem;
  color: var(--grün);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.rundgang-progressbar {
  height: 6px;
  background: var(--rand);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.6rem;
}
.rundgang-progressbar > div {
  height: 100%;
  background: var(--grün);
}
.rundgang-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rand);
}
.rundgang-nav .verlassen { font-size: 0.85rem; text-align: center; }
.rundgang-stationen {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.5rem;
  margin: 1.4rem 0;
}
.rundgang-stationen a {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--rand);
  border-radius: 8px;
  padding: 0.4rem 0.2rem;
  background: var(--weiss);
}
.rundgang-stationen a.aktuell { border-color: var(--grün); background: var(--grün-blass); font-weight: 700; }

/* ---------- Audio-Player: Fortschrittsbalken/Spulen ---------- */
.audio-player {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.6rem 0 1.3rem;
}
.audio-player .audio-seek { flex: 1 1 140px; min-width: 100px; accent-color: var(--grün); }
.audio-player .audio-zeit { font-size: 0.8rem; color: #6b7a80; min-width: 5.5em; }

/* ---------- Werknummer-Eingabe (statt QR-Scan) ---------- */
.werknummer-form {
  display: flex;
  align-items: end;
  gap: 0.7rem;
  flex-wrap: wrap;
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.2rem 0 1.6rem;
}
.werknummer-form label { font-size: 0.85rem; font-weight: 600; color: var(--dunkel); flex: 1 1 100%; }
.werknummer-form input { width: 90px; padding: 0.5rem 0.6rem; border: 1px solid #c9c4b6; border-radius: 6px; font-size: 1rem; }

/* ---------- Anfrage-Formular: Sende-Status ---------- */
.anfrage-status { margin-top: 0.9rem; font-size: 0.92rem; padding: 0.1rem 0; }
.anfrage-status.erfolg { color: #2f6b3f; font-weight: 600; }
.anfrage-status.fehler { color: #a03b3b; font-weight: 600; }

/* Titel der Ausstellung und Name des Künstlers in der Plakatschrift-Anmutung */
.schrift-titel, .brand strong, .hero h1, .site-footer .foot-grid > div:first-child h4 {
  font-family: "Righteous", Impact, "Arial Black", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.02em;
}
.schrift-name { font-family: "Righteous", "Arial Rounded MT Bold", Impact, sans-serif; font-weight: 400; letter-spacing: 0.02em; color: var(--dunkel); }
.brand strong { font-size: 1.05rem; }
.hero h1 { font-size: clamp(1.7rem, 4.6vw, 2.9rem); line-height: 1.15; }
h2.schrift-titel { font-size: clamp(1.4rem, 3.4vw, 2rem); }
h2.schrift-titel, h1.schrift-titel { color: var(--dunkel); line-height: 1.1; }
.hero h1.schrift-titel { color: var(--weiss); }


/* Untertitel unter dem Haupttitel: größer, nicht kursiv */
.hero .untertitel { font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-style: normal; font-size: clamp(1.35rem, 3.2vw, 1.9rem); color: #fff; margin-bottom: 0.9em; }

/* Titel wie auf dem Plakat in Versalien */
.schrift-titel, .brand strong, .hero h1, .site-footer .foot-grid > div:first-child h4 { text-transform: uppercase; letter-spacing: 0.05em; }
.brand strong { font-size: 0.98rem; }

/* Künstlername als eigene, große Zeile über der Zeile zur Ausstellung */
.hero .kuenstler-gross { font-family: "Righteous", Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.05; color: #ffb84d; margin: 0.15em 0 0.2em; }

/* Kachel mit Logo und Link zur Gemeinde-Website (Besuch & Gemeinde) */
.gemeinde-kachel { display: flex; align-items: center; gap: 1.2rem; max-width: 560px; background: var(--weiss); border: 1px solid var(--rand); border-radius: var(--radius); box-shadow: var(--schatten); padding: 0.8rem; text-decoration: none; color: var(--text); }
.gemeinde-kachel:hover, .gemeinde-kachel:focus-visible { border-color: var(--grün); box-shadow: 0 4px 18px rgba(43, 58, 66, 0.16); }
.gemeinde-kachel img { width: 120px; height: 120px; flex: none; border-radius: 8px; object-fit: cover; }
.gemeinde-text { display: flex; flex-direction: column; gap: 0.35rem; }
.gemeinde-text strong { font-size: 1.1rem; line-height: 1.3; color: var(--dunkel); }
.gemeinde-text span { color: var(--grün); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 440px) { .gemeinde-kachel { flex-direction: column; text-align: center; } .gemeinde-kachel img { width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; } }

/* Mit dem Menüpunkt "Download" ist die Leiste länger: auf mittleren Breiten enger setzen, nicht umbrechen */
nav.main-nav a { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1300px) {
  nav.main-nav ul { gap: 0.65rem; flex-wrap: nowrap; }
  nav.main-nav a { font-size: 0.86rem; }
  .brand strong { font-size: 0.9rem; }
}

/* Schreibgeschütztes Feld "Anfrage zu" im Programm-Formular */
form.anfrage input[readonly] { background: #eef2f4; color: var(--dunkel); border-style: dashed; }

/* Sprunglinks und Schaltflächenreihen auf hellem Grund (z. B. "Bilder entdecken") */
.sprunglinks { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.4rem 0 0; }

/* Anker nicht unter der festen Kopfzeile verstecken; Bewegung nur, wenn sie erwünscht ist */
html { scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Bildbänder: Ausschnitte aus Gemälden von Alexander Fey als ruhiger Auftakt von Unterseiten */
.bildband { margin: 0; background: var(--grün-blass); line-height: 0; }
.bildband img { width: 100%; height: clamp(110px, 19vw, 260px); object-fit: cover; object-position: center; }
.bildband.im-text { border-radius: var(--radius); overflow: hidden; margin: 1.8rem 0; }
.bildband.im-text img { height: clamp(100px, 17vw, 190px); }
