/* Friedhof von Saint Denis (/friedhof): Tor, Reiter, „In Frieden“ (Marmor, Totengräber) und
   „Hinter der Mauer“ (Holzkreuze mit Zettel, Banns); rechts die Nachtwache (Team im Spiel). */
.fh { position: relative; min-height: 100vh; padding: calc(var(--header-h, 76px) + 22px) 0 80px; overflow: hidden; isolation: isolate; }
.fh-bg { position: absolute; inset: 0; z-index: -1; }
.fh-bg picture { width: 100%; height: 100%; }
.fh-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: saturate(0.55) sepia(0.35) brightness(0.9) blur(1.5px); transform: scale(1.03); }
.fh-bg::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(70% 55% at 50% 0%, rgba(12, 9, 9, 0.2), rgba(12, 9, 9, 0.7) 75%),
  linear-gradient(180deg, rgba(12, 9, 9, 0.45), rgba(12, 9, 9, 0.35) 30%, rgba(12, 9, 9, 0.6) 70%, rgba(12, 9, 9, 0.96)); }
.fh-nebel { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%; z-index: 1; pointer-events: none; opacity: 0.6;
  background: radial-gradient(40% 60% at 20% 80%, rgba(220, 210, 200, 0.16), transparent 70%), radial-gradient(45% 55% at 70% 90%, rgba(220, 210, 200, 0.13), transparent 70%);
  animation: fh-nebel 38s ease-in-out infinite alternate; }
@keyframes fh-nebel { from { transform: translateX(-4%); } to { transform: translateX(6%); } }

.fh-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; align-items: start; }

/* Kopf mit Friedhofstor */
.fh-kopf { position: relative; text-align: center; padding-top: 8px; margin-bottom: 26px; }
.fh-tor { display: block; width: min(560px, 100%); height: auto; margin: 0 auto -38px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6)); }
.fh-ort { display: block; font-family: var(--f-label); font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: #c9a45c; }
.fh-kopf h1 { margin: 6px 0 0; font-size: clamp(2.2rem, 5.4vw, 3.9rem); letter-spacing: 0.16em; text-transform: uppercase; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.7); }
.fh-und { margin: 0 0.08em 0 -0.06em; color: #c9a45c; font-family: 'IM Fell English', Georgia, serif; font-style: italic; font-size: 0.82em; letter-spacing: 0; text-transform: none; }
.fh-kopf .lead { margin: 10px auto 0; max-width: 560px; color: var(--ink-2); font-family: 'IM Fell English', Georgia, serif; font-style: italic; font-size: 1.12rem; }

/* Reiter + Suche */
.fh-werkzeug { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; padding: 10px; border-radius: 12px; background: rgba(12, 9, 9, 0.55); border: 1px solid rgba(201, 164, 92, 0.18); backdrop-filter: blur(4px); }
.fh-reiter { display: flex; flex-wrap: wrap; gap: 6px; }
.fh-reiter button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--ink-2); font: 600 0.86rem/1 var(--f-label); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.fh-reiter button b { font-weight: 700; color: #c9a45c; }
.fh-reiter button:hover { color: var(--ink); background: rgba(201, 164, 92, 0.08); }
.fh-reiter button[aria-selected="true"] { color: #1a1210; background: linear-gradient(180deg, #e2c27c, #b38d45); border-color: #8c6a2c; }
.fh-reiter button[aria-selected="true"] b { color: #3a2a12; }
.fh-suche { position: relative; display: flex; align-items: center; flex: 0 1 280px; }
.fh-suche > .icon { position: absolute; left: 12px; z-index: 1; color: #c9a45c; pointer-events: none; }
.fh-suche input { width: 100%; padding: 9px 12px 9px 38px; border-radius: 999px; border: 1px solid rgba(201, 164, 92, 0.3); background: rgba(12, 9, 9, 0.7); color: var(--ink); font: inherit; font-size: 0.95rem; }
.fh-suche input:focus { outline: none; border-color: #c9a45c; box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.2); }

/* Teile */
.fh-teil { margin-bottom: 44px; }
.fh-teil[hidden] { display: none; }
.fh-teil h2 { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 0 26px; text-align: center; }
.fh-teil h2 span { display: flex; align-items: center; gap: 16px; font-size: 1.5rem; letter-spacing: 0.12em; text-transform: uppercase; }
.fh-teil h2 span::before, .fh-teil h2 span::after { content: ''; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, #c9a45c); }
.fh-teil h2 span::after { transform: scaleX(-1); }
.fh-teil h2 small { font-family: var(--f-body); font-size: 0.86rem; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.fh-reihe { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px 24px; }
.fh-reihe.is-frieden { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.fh-reihe.is-mauer { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 30px 20px; }

/* --- In Frieden: Marmor mit Spitzbogen --- */
.fh-grab { position: relative; padding-bottom: 26px; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.55)); animation: fh-auf 0.7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 0.05s); }
@keyframes fh-auf { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fh-marmor { position: relative; min-height: 270px; padding: 62px 18px 22px; text-align: center; color: #3b342c;
  clip-path: polygon(0 100%, 0 28%, 6% 17%, 15% 8%, 27% 2.5%, 40% 0.4%, 50% 0, 60% 0.4%, 73% 2.5%, 85% 8%, 94% 17%, 100% 28%, 100% 100%);
  background:
    radial-gradient(40% 30% at 85% 80%, rgba(120, 110, 98, 0.18), transparent 70%),
    radial-gradient(30% 22% at 12% 60%, rgba(120, 110, 98, 0.12), transparent 70%),
    radial-gradient(90% 60% at 30% 15%, rgba(255, 255, 255, 0.55), transparent 60%),
    linear-gradient(180deg, #e3ddd2, #c9c1b4 55%, #a79e90);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1); }
.fh-marmor::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: linear-gradient(180deg, transparent, rgba(70, 92, 52, 0.35)); pointer-events: none; }
.fh-kreuz { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: #6e6254; }
.fh-grab h3 { margin: 0; font-family: 'IM Fell English', Georgia, serif; font-size: 1.28rem; letter-spacing: 0.04em; color: #2f2922; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 -1px 0 rgba(0, 0, 0, 0.12); }
.fh-jahre { margin: 6px 0 0; font-family: var(--f-label); letter-spacing: 0.08em; font-size: 0.86rem; color: #5a5046; }
.fh-jahre i { font-style: normal; opacity: 0.5; }
.fh-beruf { margin: 4px 0 0; font-size: 0.84rem; color: #6a5f53; font-style: italic; }
.fh-inschrift { margin: 14px 4px 0; padding-top: 12px; border-top: 1px solid rgba(80, 70, 60, 0.25); font-family: 'IM Fell English', Georgia, serif; font-style: italic; font-size: 0.98rem; line-height: 1.45; color: #3b342c; }
.fh-inschrift.is-leer { color: #7a6f62; }
.fh-blumen { position: absolute; left: 14%; bottom: 8px; color: #b3202a; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5)); }
.fh-flamme { position: absolute; right: 16%; bottom: 8px; width: 9px; height: 22px; border-radius: 2px; background: linear-gradient(180deg, #f2ead8, #cfc3a6); }
.fh-flamme::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 8px; height: 13px; margin-left: -4px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #fff4c8, #ffb347 55%, rgba(255, 120, 40, 0.1) 75%); box-shadow: 0 0 14px 4px rgba(255, 170, 70, 0.45); animation: fh-flackern 1.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes fh-flackern { 0%, 100% { transform: scale(1) rotate(-2deg); opacity: 0.95; } 30% { transform: scale(1.08, 1.15) rotate(2deg); } 60% { transform: scale(0.92, 1) rotate(-1deg); opacity: 0.8; } }
.fh-grab:hover .fh-marmor { transform: translateY(-6px); }
.fh-grab:hover .fh-flamme::before { box-shadow: 0 0 26px 8px rgba(255, 170, 70, 0.6); }

/* --- Hinter der Mauer: Holzkreuz mit Zettel --- */
.fh-kreuzstein { position: relative; min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; animation: fh-auf 0.7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 0.05s); transform: rotate(calc(var(--neig) * 0.4)); }
.fh-balken { position: absolute; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 10px 18px rgba(0, 0, 0, 0.5);
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 7px), linear-gradient(90deg, #5a4230, #74563d 40%, #4a3526); }
.fh-balken.is-lang { left: 50%; top: 0; bottom: 0; width: 26px; margin-left: -13px; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 7px), linear-gradient(90deg, #4a3526, #74563d 50%, #4a3526); }
.fh-balken.is-quer { left: 14%; right: 14%; top: 54px; height: 24px; }
.fh-kreuzstein::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: -8px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 28, 20, 0.85), transparent); z-index: -1; }
.fh-zettel { position: relative; width: 88%; margin-bottom: 26px; padding: 22px 14px 18px; text-align: center; color: #2b2118; transform: rotate(var(--neig)); transform-origin: 50% 0;
  background: radial-gradient(120% 80% at 20% 10%, rgba(255, 255, 255, 0.4), transparent 60%), linear-gradient(180deg, #eadfc6, #d9c9a6);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.5); font-family: 'Special Elite', 'Courier New', monospace; transition: transform 0.4s cubic-bezier(.2, .8, .2, 1);
  clip-path: polygon(0 2%, 8% 0, 22% 1.5%, 40% 0, 58% 1.2%, 76% 0, 92% 1.4%, 100% 0, 99% 30%, 100% 62%, 98.5% 100%, 80% 98.5%, 60% 100%, 38% 98.6%, 18% 100%, 0 98.8%, 1.2% 66%, 0 34%); }
.fh-nagel { position: absolute; top: 7px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9a948c, #3c3732 70%); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.6); }
.fh-zettel h3 { margin: 4px 0 0; font-family: 'Special Elite', 'Courier New', monospace; font-size: 1.04rem; letter-spacing: 0.02em; color: #1e1610; }
.fh-z-alter, .fh-z-datum { margin: 3px 0 0; font-size: 0.78rem; color: #4d3f31; }
.fh-z-grund { margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed rgba(60, 45, 30, 0.45); font-size: 0.82rem; line-height: 1.4; color: #2b2118; }
.fh-z-dauer { margin: 8px 0 0; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6b4b2a; }
.fh-z-dauer.is-immer { color: #a3121a; font-weight: 700; }
.fh-zettel { padding-bottom: 54px; }
.fh-siegel { position: absolute; right: 50%; bottom: 8px; width: 92px; height: 34px; margin-right: -46px; border-radius: 6px; display: grid; place-items: center; transform: rotate(-6deg);
  font: 700 0.72rem/1 var(--f-label); letter-spacing: 0.22em; text-transform: uppercase; color: #f6e7e1; border: 2px solid rgba(255, 255, 255, 0.25);
  background: radial-gradient(circle at 35% 30%, #d0303a, #8f0f16 65%, #6a0a10); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5), inset 0 0 0 3px rgba(255, 255, 255, 0.12); }
.fh-kreuzstein:hover .fh-zettel { animation: fh-wind 1.6s ease-in-out; }
@keyframes fh-wind { 0%, 100% { transform: rotate(var(--neig)); } 30% { transform: rotate(calc(var(--neig) + 5deg)); } 60% { transform: rotate(calc(var(--neig) - 3deg)); } }

.fh-kreuzstein[hidden], .fh-grab[hidden] { display: none; }
.fh-leer { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 20px; text-align: center; color: var(--ink-2); border: 1px dashed rgba(201, 164, 92, 0.3); border-radius: 14px; background: rgba(12, 9, 9, 0.55); }
.fh-leer.is-klein { flex-direction: row; justify-content: center; padding: 22px; font-family: 'IM Fell English', Georgia, serif; font-style: italic; }
.fh-leer.is-suche { flex-direction: row; justify-content: center; padding: 18px; }
.fh-fuss { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 0.86rem; color: var(--ink-3); max-width: 760px; }
.fh-fuss .icon { flex-shrink: 0; margin-top: 2px; }
.fh-fuss a { color: #e2c27c; }

/* Nachtwache (Team im Spiel) als Laternen-Tafel */
.fh .cc-teamleiste { position: sticky; top: calc(var(--header-h, 76px) + 20px); border-radius: 6px; border: 2px solid #6d5426;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 180, 90, 0.16), transparent 60%), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 9px), linear-gradient(180deg, #2a1d15, #160f0c);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(226, 194, 124, 0.25); }
.fh .cc-teamleiste::before { content: ''; position: absolute; top: -18px; left: 50%; width: 22px; height: 26px; margin-left: -11px; border-radius: 4px 4px 8px 8px;
  background: radial-gradient(circle at 50% 60%, #ffe2a0, #ff9f3a 45%, #6d5426 75%); box-shadow: 0 0 26px 8px rgba(255, 170, 70, 0.35); }
.fh .cc-teamleiste h2 { font-family: 'IM Fell English', Georgia, serif; font-style: italic; font-size: 1.15rem; }
.fh .cc-teamleiste .tl-puls { background: #ffb347; animation: none; box-shadow: 0 0 10px 2px rgba(255, 170, 70, 0.6); }
.fh .cc-teamleiste .tl-gruppe { border-left-color: rgba(255, 179, 71, 0.55); }
.fh .cc-teamleiste li { color: #f1dcae; }
.fh .cc-teamleiste .tl-dot { background: #ffb347; }

@media (max-width: 960px) {
  .fh-wrap { grid-template-columns: 1fr; }
  .fh .cc-teamleiste { position: relative; top: auto; order: -1; margin-top: 18px; }
  .fh-tor { margin-bottom: -22px; }
}
@media (prefers-reduced-motion: reduce) {
  .fh-nebel, .fh-grab, .fh-kreuzstein, .fh-flamme::before, .fh-kreuzstein:hover .fh-zettel { animation: none; }
}

/* --- Hinter Gittern (Dauerbann): Zellenfenster mit Männchen hinter Eisenstäben + Messingschild --- */
.fh-reihe.is-gitter { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px 22px; }
.fh-zelle { position: relative; display: flex; flex-direction: column; align-items: center; animation: fh-auf 0.7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 0.05s); }
.fh-zellwand { position: relative; width: 100%; padding: 14px; border-radius: 8px 8px 4px 4px;
  background: repeating-linear-gradient(0deg, transparent 0 26px, rgba(0, 0, 0, 0.35) 26px 28px), repeating-linear-gradient(90deg, transparent 0 46px, rgba(0, 0, 0, 0.28) 46px 48px), linear-gradient(180deg, #5d5048, #3b312b);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5), 0 16px 26px rgba(0, 0, 0, 0.55); }
.fh-zellbild { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: inset 0 0 0 3px #1b1513, 0 0 0 3px #2a221e; background: #0d0909; }
.fh-zl-licht { animation: fh-zl-flackern 4.5s ease-in-out infinite; }
@keyframes fh-zl-flackern { 0%, 100% { opacity: 0.85; } 45% { opacity: 1; } 48% { opacity: 0.55; } 52% { opacity: 0.95; } }
.fh-zl-mann { transition: transform 0.5s cubic-bezier(.2, .8, .2, 1); transform-origin: 80px 170px; }
.fh-zl-haende { transition: transform 0.5s cubic-bezier(.2, .8, .2, 1); }
.fh-zl-augen { animation: fh-zl-blinzeln 6s infinite; transform-origin: 80px 89px; }
@keyframes fh-zl-blinzeln { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
.fh-zelle:hover .fh-zl-mann { transform: translateY(-4px) scale(1.03); }
.fh-zelle:hover .fh-zl-haende { transform: translateY(-6px); }
.fh-zelle:hover .fh-zl-staebe { filter: brightness(1.25); }
.fh-schild { position: relative; width: 92%; margin-top: -6px; padding: 14px 12px 40px; text-align: center; border-radius: 4px; color: #2a1d0e;
  background: radial-gradient(120% 70% at 30% 10%, rgba(255, 255, 255, 0.35), transparent 60%), linear-gradient(180deg, #d9b773, #a9853f 70%, #8c6a2c);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(80, 55, 20, 0.6), inset 0 0 0 4px rgba(255, 235, 190, 0.25); }
.fh-schild::before, .fh-schild::after { content: ''; position: absolute; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f4e2b0, #6b5124); }
.fh-schild::before { left: 8px; }
.fh-schild::after { right: 8px; }
.fh-schild-nr { display: block; font: 700 0.66rem/1 var(--f-label); letter-spacing: 0.24em; text-transform: uppercase; color: #5a4218; }
.fh-schild h3 { margin: 6px 0 0; font-family: 'IM Fell English', Georgia, serif; font-size: 1.16rem; color: #20150a; text-shadow: 0 1px 0 rgba(255, 240, 200, 0.6); }
.fh-schild-zeile { margin: 4px 0 0; font-size: 0.78rem; color: #4a3514; }
.fh-schild-grund { margin: 8px 0 0; padding-top: 7px; border-top: 1px solid rgba(80, 55, 20, 0.45); font-size: 0.82rem; line-height: 1.35; color: #2a1d0e; }
.fh-schild-stempel { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%) rotate(-4deg); padding: 4px 10px; border: 2px solid #8f0f16; border-radius: 4px;
  font: 700 0.7rem/1 var(--f-label); letter-spacing: 0.24em; text-transform: uppercase; color: #8f0f16; background: rgba(255, 240, 220, 0.25); }
@media (prefers-reduced-motion: reduce) { .fh-zelle, .fh-zl-licht, .fh-zl-augen { animation: none; } }
