@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

/* =========================================================
   RELICTA / HERRENLAGER – bereinigte und kommentierte CSS
   ---------------------------------------------------------
   Ziel dieser Version:
   - Optik und Verhalten so weit wie möglich unverändert lassen
   - offensichtliche Dopplungen entfernen
   - Struktur besser lesbar machen
   - nur sehr vorsichtige mobile Verbesserungen behalten

   WICHTIG:
   - Klassen, die nach dem HTML-Abgleich evtl. Altlasten sind, wurden
     NICHT aggressiv gelöscht, wenn sie potenziell noch per JS oder
     in späteren HTML-Ständen genutzt werden könnten.
   - Doppelte Gallery-Media-Queries wurden zusammengeführt.
   - Riskante Eingriffe wurden bewusst vermieden.
========================================================= */

:root {
  --bg-main: #0d0b09;
  --bg-hero: #090807;
  --bg-deep: #0f0c0a;
  --bg-panel: #15100d;
  --bg-panel-soft: #120e0b;
  --bg-bilderhalle-tint: rgba(79, 120, 125, 0.10);
  --bg-gold-tint: rgba(181, 138, 74, 0.08);

  --text-main: #e8dfcf;
  --text-soft: #d8d1c5;
  --text-bright: #f4ecdd;
  --gold: #d8b77a;
  --gold-soft: rgba(214, 190, 145, 0.18);
  --gold-line: rgba(214, 190, 145, 0.16);
  --teal: #6fb7b0;
  --teal-soft: rgba(111, 183, 176, 0.12);
}

/* =========================================================
   BASIS
========================================================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--text-main);
  font-family: "Cormorant Garamond", serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top, rgba(90, 146, 140, 0.04), transparent 24%),
    linear-gradient(180deg, #090807 0%, #110f0c 100%);
}

main {
  position: relative;
  padding: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(111, 183, 176, 0.035), transparent 18%),
    radial-gradient(circle at 82% 30%, rgba(181, 138, 74, 0.045), transparent 20%),
    linear-gradient(180deg, #0b0908 0%, #120e0b 48%, #0c0a08 100%);
}

section {
  position: relative;
  margin: 0;
  padding: 0 1.5rem;
}

section[id] {
  scroll-margin-top: 120px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: #f1d7a5;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text-bright);
  font-family: "Cinzel", serif;
  letter-spacing: 0.06em;
}

p {
  margin-top: 0;
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 1rem 0;
  background: linear-gradient(to bottom, rgba(11, 11, 10, 0.97), rgba(17, 16, 13, 0.72));
  backdrop-filter: blur(10px);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(214, 190, 145, 0.22);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(43, 35, 25, 0.92), rgba(24, 20, 16, 0.92));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(111, 183, 176, 0.04);
}

.topnav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: #f3ead9;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.topnav a:hover {
  transform: translateY(-1px);
  color: #fff5e7;
  background: rgba(201, 166, 107, 0.16);
  box-shadow: 0 0 0 1px rgba(111, 183, 176, 0.14);
}

/* =========================================================
   GEMEINSAME HILFSKLASSEN / Z-INDEX
========================================================= */
.section-flow {
  overflow: hidden;
}

.section-divider {
  position: absolute;
  left: 0;
  z-index: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

.section-divider-top {
  top: -1px;
  height: 150px;
}

.section-divider-bottom {
  bottom: -1px;
  height: 150px;
}

.section-divider path {
  fill: rgba(0, 0, 0, 0.24);
  opacity: 0.92;
}

/*
  Diese Gruppe hebt inhaltliche Blöcke über Hintergrund-Dekor.
  Einige Gallery-/Legacy-Klassen bleiben bewusst erhalten, obwohl sie
  im aktuellen HTML nicht klar sichtbar sind.
*/
.section-head,
.content-grid,
.gallery-intro,
.gallery-stage,
.gallery-strip,
.gallery-grid-small,
.ally-card,
.tribute > h2,
.tribute-media,
.tribute-text,
.visitor-counter-card,
.botschaft h2,
.botschaft-bildrahmen,
.botschaft-text,
.impressum-wrap {
  position: relative;
  z-index: 2;
}

.section-head {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 0 18px rgba(111, 183, 176, 0.05);
}

.section-kicker {
  margin: 0 0 0.45rem;
  color: #8f8270;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-kicker-accent {
  color: var(--teal);
}

.section-head-ornament {
  margin-bottom: 2.2rem;
  text-align: center;
}

.section-head-ornament h2 {
  display: inline-block;
  position: relative;
  padding: 0 1.2rem 0.8rem;
}

.section-head-ornament h2::before,
.section-head-ornament h2::after {
  content: "ᛉ";
  position: absolute;
  top: 0.15rem;
  color: var(--teal);
  font-size: 1.1rem;
  opacity: 0.9;
}

.section-head-ornament h2::before {
  left: -0.3rem;
}

.section-head-ornament h2::after {
  right: -0.3rem;
}

/* =========================================================
   HERO – bewusst nahezu unverändert gelassen
========================================================= */
.hero-embers {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  margin-bottom: 60px;
  padding: 7.8rem 1rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 62%, rgba(255, 144, 40, 0.09), transparent 20%),
    radial-gradient(circle at 82% 62%, rgba(255, 144, 40, 0.09), transparent 20%),
    linear-gradient(180deg, #020202 0%, #050505 46%, #090807 100%);
}

.hero-embers::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.12) 18%, rgba(0, 0, 0, 0.12) 82%, rgba(0, 0, 0, 0.58)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.06) 28%, rgba(0, 0, 0, 0.20) 100%);
}

.hero-embers-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1460px, 100%);
}

.hero-stage {
  position: relative;
  z-index: 3;
  width: min(1280px, 92vw);
  padding: 0.7rem;
  border: 1px solid rgba(214, 190, 145, 0.05);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.92), rgba(7, 7, 7, 0.86) 54%, rgba(16, 11, 8, 0.88) 100%);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.48),
    inset 0 0 60px rgba(0, 0, 0, 0.38);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border: 1px solid rgba(214, 190, 145, 0.035);
  pointer-events: none;
}

.hero-visual {
  position: relative;
  z-index: 4;
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
  background: #050505;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.18);
}

.hero-main-image {
  position: relative;
  z-index: 4;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   SEKTIONSHINTERGRÜNDE / ABSTÄNDE
========================================================= */
.section-raubzuege,
.section-gestabok,
.section-verbuendete,
.section-counter,
.section-botschaft,
.section-impressum {
  background: transparent;
}

.section-raubzuege {
  padding: 6.5rem 1.5rem 7rem;
}

.section-bilderhalle {
  padding: 7rem 1.5rem 7.4rem;
  color: #f2ede3;
  background:
    radial-gradient(circle at top, rgba(72, 128, 124, 0.10), transparent 28%),
    radial-gradient(circle at bottom, rgba(181, 138, 74, 0.07), transparent 22%);
}

.section-gestabok {
  padding: 6.6rem 1.5rem 6.8rem;
}

.section-verbuendete {
  padding: 7rem 1.5rem 7rem;
}

.section-tribute {
  padding: 7rem 1.5rem 7rem;
  background:
    radial-gradient(circle at 70% 0%, rgba(181, 138, 74, 0.07), transparent 18%),
    radial-gradient(circle at 25% 18%, rgba(111, 183, 176, 0.03), transparent 18%);
}

.section-counter {
  padding: 6rem 1.5rem 6.4rem;
}

.section-botschaft {
  padding: 7rem 1.5rem 7rem;
}

.section-impressum {
  padding: 7rem 1.5rem 4rem;
}

/* =========================================================
   CONTENT / TEXTBLÖCKE
========================================================= */
.content-section {
  max-width: 1100px;
  margin: 0 auto;
}

.content-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.content-grid {
  max-width: 880px;
}

.content-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.content-grid-1.narrow {
  max-width: 760px;
}

.content-section p,
.content-section li {
  color: var(--text-soft);
  font-size: 1.2rem;
}

.content-section ul {
  padding-left: 1.4rem;
}

/* =========================================================
   BILDERHALLE / SLIDER
   Bereinigt: doppelte Hover- und Media-Query-Blöcke zusammengeführt.
========================================================= */
.gallery-slider-wrap {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.gallery-slider {
  width: 100%;
  overflow: hidden;
  border-radius: 26px;
}

.gallery-track {
  display: flex;
  gap: 18px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 430px;
  margin: 0;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(0.86) contrast(1.06) brightness(0.88);
}

.gallery-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(214, 190, 145, 0.24);
  border-radius: 999px;
  color: #f3e8d5;
  font-size: 1.7rem;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(60, 46, 28, 0.92), rgba(21, 19, 15, 0.96));
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 240, 214, 0.04);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.gallery-nav:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 205, 162, 0.44);
  background: linear-gradient(145deg, rgba(90, 66, 38, 0.95), rgba(31, 25, 19, 0.98));
}

.gallery-nav.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* =========================================================
   VERBÜNDETE
========================================================= */
.allies-section {
  max-width: 1150px;
  margin: 0 auto;
}

.ally-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.2rem;
  border: 1px solid rgba(214, 190, 145, 0.18);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(52, 42, 28, 0.72), rgba(24, 20, 16, 0.92));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(111, 183, 176, 0.04);
}

.ally-image-frame {
  position: relative;
  margin-bottom: 1.5rem;
  padding: 12px;
  border: 1px solid rgba(214, 190, 145, 0.45);
  border-radius: 28px;
  background: linear-gradient(145deg, #8d6a3d, #5c4325);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 240, 214, 0.08);
}

.ally-image-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(245, 225, 186, 0.24);
  border-radius: 22px;
  pointer-events: none;
}

.ally-image-frame img {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 20px;
  object-fit: cover;
  filter: contrast(1.03) saturate(0.94) brightness(0.97);
}

.ally-content {
  text-align: center;
}

.ally-kicker {
  margin-bottom: 0.4rem;
  color: var(--teal);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ally-content h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.ally-link {
  display: inline-block;
  padding: 0.85rem 1.3rem;
  border: 1px solid rgba(214, 190, 145, 0.28);
  border-radius: 999px;
  color: #f2e7d5;
  letter-spacing: 0.05em;
  background: rgba(201, 166, 107, 0.14);
  box-shadow: 0 0 0 1px rgba(111, 183, 176, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ally-link:hover {
  transform: translateY(-2px);
  color: #fff5e6;
  background: rgba(201, 166, 107, 0.24);
  box-shadow: 0 0 0 1px rgba(111, 183, 176, 0.16);
}

/* =========================================================
   TRIBUTE
========================================================= */
.tribute {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  color: #f2ede3;
}

.tribute h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
  text-align: center;
  letter-spacing: 0.06em;
}

.tribute-media {
  margin-bottom: 2.2rem;
}

.tribute-media img {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 24px;
  object-fit: cover;
  background: #1b1a17;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 240, 214, 0.04);
}

.tribute-text {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.7rem 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(214, 190, 145, 0.14);
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(34, 25, 18, 0.68), rgba(15, 11, 9, 0.86));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 240, 214, 0.03);
}

.tribute-text::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(111, 183, 176, 0.06);
  border-radius: 20px;
  pointer-events: none;
}

.tribute-text p {
  position: relative;
  z-index: 1;
  margin: 0 0 1.25rem;
  color: #e4d8c7;
  font-size: clamp(1.14rem, 1.45vw, 1.34rem);
  line-height: 1.85;
}

.tribute-lead {
  margin-bottom: 1.4rem;
  color: #f4ead8;
  font-size: clamp(1.32rem, 2vw, 1.72rem);
  line-height: 1.65;
}

.tribute-intro {
  margin-bottom: 1.6rem;
  color: #efe3d1;
}

.tribute-text ul {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 1.6rem auto 1.9rem;
  padding: 0;
  list-style: none;
  text-align: left;
}

.tribute-text li {
  position: relative;
  margin-bottom: 0.95rem;
  padding-left: 1.85rem;
  color: #ddd1bf;
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  line-height: 1.78;
}

.tribute-text li::before {
  content: "✦";
  position: absolute;
  top: 0.02rem;
  left: 0;
  color: #d8b77a;
  font-size: 1rem;
  opacity: 0.95;
}

.tribute-thanks {
  position: relative;
  z-index: 1;
  margin-top: 1.7rem;
  margin-bottom: 0.9rem;
  color: #f3e7d3;
  font-family: "Cinzel", serif;
  font-size: clamp(1.34rem, 2vw, 1.8rem);
  letter-spacing: 0.04em;
}

.tribute-note {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: #d6c2a0;
  font-size: clamp(1.02rem, 1.2vw, 1.13rem);
  line-height: 1.75;
}

/* =========================================================
   COUNTER
========================================================= */
.visitor-counter-section {
  position: relative;
}

.visitor-counter-card {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  align-items: center;
  gap: 1.4rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(214, 190, 145, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(181, 138, 74, 0.14), transparent 52%),
    linear-gradient(145deg, rgba(57, 43, 25, 0.97), rgba(24, 19, 14, 0.98));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 240, 214, 0.05);
}

.visitor-counter-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(214, 190, 145, 0.14);
  border-radius: 26px;
  pointer-events: none;
}

.visitor-counter-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(111, 183, 176, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.counter-side {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-emblem {
  width: 130px;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.10));
}

.counter-emblem.mirrored {
  transform: scaleX(-1);
}

.visitor-counter-center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.counter-label {
  margin: 0 0 0.8rem;
  color: #d6c2a0;
  font-size: 0.98rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.counter-label::before,
.counter-label::after {
  content: "ᛏ";
  margin: 0 0.55rem;
  color: var(--teal);
}

.counter-number-wrap {
  display: inline-block;
  padding: 0.55rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(67, 52, 31, 0.9), rgba(25, 20, 15, 0.95));
  box-shadow:
    inset 0 0 0 1px rgba(214, 190, 145, 0.12),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.counter-number {
  display: inline-block;
  min-width: 260px;
  padding: 1rem 1.6rem;
  border: 1px solid rgba(214, 190, 145, 0.16);
  border-radius: 18px;
  color: var(--text-bright);
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.08em;
  background: rgba(10, 10, 9, 0.46);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.2);
}

.counter-note {
  margin: 0.95rem 0 0;
  color: #bda98a;
  font-size: 1rem;
}

/* =========================================================
   BOTSCHAFT
========================================================= */
.botschaft {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.botschaft h2 {
  margin-bottom: 2rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.08em;
}

.botschaft-bildrahmen {
  width: min(430px, 88vw);
  margin: 0 auto 2rem;
  padding: 12px;
  border: 1px solid rgba(214, 190, 145, 0.5);
  border-radius: 999px;
  background: linear-gradient(145deg, #7b6038, #9f7d4c);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(111, 183, 176, 0.05);
}

.botschaft-bildrahmen img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  object-fit: cover;
}

.botschaft-text {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.35rem;
  line-height: 1.7;
}

.botschaft-text p {
  margin-bottom: 0.9rem;
}

.botschaft-text a {
  color: var(--gold);
  border-bottom: 1px solid rgba(216, 183, 122, 0.45);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.botschaft-text a:hover {
  color: #f1d7a5;
  border-color: rgba(241, 215, 165, 0.9);
}

/* =========================================================
   IMPRESSUM
========================================================= */
.impressum-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.impressum-card {
  position: relative;
  max-width: 860px;
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(214, 190, 145, 0.18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(57, 43, 25, 0.92), rgba(24, 19, 14, 0.98));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 240, 214, 0.04);
}

.impressum-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(111, 183, 176, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.impressum-block + .impressum-block {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(214, 190, 145, 0.12);
}

.impressum-block h3 {
  margin: 0 0 0.8rem;
  color: #f2e7d5;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.impressum-block p {
  margin: 0 0 0.75rem;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.impressum-block strong {
  color: var(--text-bright);
}

.impressum-block a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 183, 122, 0.4);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.impressum-block a:hover {
  color: #f1d7a5;
  border-color: rgba(241, 215, 165, 0.9);
}

/* =========================================================
   FOOTER / SOCIALS
   Bereinigt: doppelte box-shadow-Deklaration in .social-pill entfernt.
========================================================= */
.social-footer {
  position: relative;
  margin-top: 0;
  padding: 2.4rem 1.5rem 3.2rem;
  overflow: hidden;
  border-top: 1px solid rgba(214, 190, 145, 0.18);
  background:
    radial-gradient(circle at top, rgba(181, 138, 74, 0.16), transparent 42%),
    linear-gradient(to top, rgba(8, 8, 7, 1), rgba(20, 17, 13, 0.97));
}

.social-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 82%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    transparent,
    rgba(214, 190, 145, 0.18),
    rgba(214, 190, 145, 0.65),
    rgba(214, 190, 145, 0.18),
    transparent
  );
}

.social-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.social-footer-title {
  margin-bottom: 1.3rem;
  color: #d6c2a0;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.95rem;
}

.social-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(214, 190, 145, 0.26);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(126, 96, 52, 0.34), rgba(58, 44, 24, 0.88));
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 240, 214, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.social-pill img {
  display: block;
  width: 23px;
  height: 23px;
  opacity: 0.95;
}

.social-pill:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(230, 205, 162, 0.5);
  background: linear-gradient(145deg, rgba(154, 117, 60, 0.52), rgba(74, 54, 28, 0.95));
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(181, 138, 74, 0.16);
}

.social-pill-channel .social-dot {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 10px;
  height: 10px;
  border: 2px solid #1b1712;
  border-radius: 999px;
  background: #d8b77a;
  box-shadow: 0 0 10px rgba(216, 183, 122, 0.35);
}

/* =========================================================
   GÄSTEBUCH / GESTABOK
========================================================= */
.gestabok-shell {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.gestabok-intro {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.gestabok-intro p {
  color: var(--text-soft);
  font-size: 1.2rem;
}

.gestabok-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 1.6rem;
}

.gestabok-form-card,
.gestabok-entries-card {
  position: relative;
  padding: 1.7rem 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(214, 190, 145, 0.18);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(57, 43, 25, 0.88), rgba(21, 18, 14, 0.97));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 240, 214, 0.04);
}

.gestabok-form-card::before,
.gestabok-entries-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(111, 183, 176, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.gestabok-card-kicker {
  margin: 0 0 0.4rem;
  color: var(--teal);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gestabok-form-card h3,
.gestabok-entries-card h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: 0.05em;
}

.guestbook-form {
  position: relative;
  z-index: 2;
}

.form-row + .form-row {
  margin-top: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.45rem;
  color: #eadfcf;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  outline: none;
  border: 1px solid rgba(214, 190, 145, 0.16);
  border-radius: 18px;
  color: var(--text-bright);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.12rem;
  line-height: 1.6;
  resize: vertical;
  background: linear-gradient(180deg, rgba(13, 11, 9, 0.95), rgba(20, 16, 12, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 240, 214, 0.025);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.form-row textarea {
  min-height: 180px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(232, 223, 207, 0.46);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(111, 183, 176, 0.46);
  box-shadow:
    0 0 0 3px rgba(111, 183, 176, 0.12),
    inset 0 0 0 1px rgba(255, 240, 214, 0.03);
}

.guestbook-actions {
  margin-top: 1.2rem;
}

.guestbook-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(214, 190, 145, 0.28);
  border-radius: 999px;
  color: #f2e7d5;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(126, 96, 52, 0.34), rgba(58, 44, 24, 0.92));
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 240, 214, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.guestbook-submit:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 205, 162, 0.5);
  background: linear-gradient(145deg, rgba(154, 117, 60, 0.52), rgba(74, 54, 28, 0.95));
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(181, 138, 74, 0.16);
}

.guestbook-form-note {
  margin: 1rem 0 0;
  color: #bda98a;
  font-size: 1rem;
}

.guestbook-entries {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
}

.guestbook-entry {
  position: relative;
  padding: 1.2rem 1.15rem 1.1rem;
  border: 1px solid rgba(214, 190, 145, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 14, 11, 0.88), rgba(11, 10, 8, 0.96));
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 240, 214, 0.025);
}

.guestbook-entry::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(111, 183, 176, 0.05);
  border-radius: 16px;
  pointer-events: none;
}

.guestbook-entry-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(214, 190, 145, 0.1);
}

.guestbook-entry-head h4 {
  margin: 0;
  color: var(--text-bright);
  font-family: "Cinzel", serif;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.guestbook-entry-head span {
  color: #bca98a;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.guestbook-entry p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.75;
}

.guestbook-empty {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2rem 1.2rem;
  border: 1px solid rgba(214, 190, 145, 0.12);
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(16, 14, 11, 0.82), rgba(11, 10, 8, 0.95));
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 240, 214, 0.02);
}

.guestbook-empty::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(111, 183, 176, 0.05);
  border-radius: 18px;
  pointer-events: none;
}

.guestbook-empty-rune {
  margin-bottom: 0.9rem;
  color: var(--teal);
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  line-height: 1;
  opacity: 0.9;
}

.guestbook-empty-title {
  margin: 0 0 0.55rem;
  color: var(--text-bright);
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.guestbook-empty-text {
  max-width: 28ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.75;
}

.form-error {
  display: block;
  margin-top: 0.45rem;
  color: #d8b77a;
  font-size: 0.95rem;
  line-height: 1.5;
}

.guestbook-feedback {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 1rem;
  line-height: 1.6;
}

.guestbook-feedback-success {
  color: #e9dfcf;
  background: rgba(111, 183, 176, 0.10);
  border: 1px solid rgba(111, 183, 176, 0.22);
}

.guestbook-feedback-error {
  color: #f0d8c7;
  background: rgba(181, 138, 74, 0.10);
  border: 1px solid rgba(214, 190, 145, 0.18);
}

/* =========================================================
   RAUBZÜGE / POSTER
========================================================= */
.raubzuege-poster-wrap {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.raubzuege-poster-frame {
  position: relative;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(214, 190, 145, 0.22);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(78, 58, 34, 0.92), rgba(24, 20, 16, 0.96));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.30),
    inset 0 0 0 1px rgba(255, 240, 214, 0.05);
}

.raubzuege-poster-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(111, 183, 176, 0.08);
  border-radius: 22px;
  pointer-events: none;
}

.raubzuege-poster {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 760px);
  margin: 0 auto;
  border-radius: 20px;
  object-fit: contain;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(255, 240, 214, 0.04);
}

/* =========================================================
   RESPONSIVE
   WICHTIG:
   - zusammengeführt, wo vorher Dopplungen existierten
   - riskante Legacy-Regeln (.hero-main-panel etc.) wurden kommentiert
     statt endgültig hart entfernt
========================================================= */
@media (max-width: 1000px) {
  .gallery-slide {
    flex: 0 0 calc((100% - 18px) / 2);
    min-height: 400px;
  }

  /* Legacy-/Fallback-Grid-Regeln: nur beibehalten, falls ältere HTML-Stände sie noch nutzen */
  .gallery-stage {
    grid-template-columns: 1fr;
  }

  .stage-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid-small {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .content-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-stage {
    width: min(96vw, 1100px);
    padding: 0.45rem;
  }

  .hero-stage::before {
    inset: 0.2rem;
  }

  .tribute {
    padding: 4.2rem 1.2rem;
  }

  .tribute-text {
    max-width: 760px;
    padding: 1.8rem 1.4rem 1.5rem;
  }

  .gestabok-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .visitor-counter-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.4rem 1rem;
  }

  .counter-side {
    display: none;
  }

  .counter-number {
    min-width: auto;
    width: 100%;
  }

  .counter-number-wrap {
    display: block;
  }

  .counter-label {
    font-size: 0.86rem;
  }

  .counter-note {
    font-size: 0.95rem;
  }

  /*
    ALT / unklar im aktuellen HTML:
    .hero-main-panel wurde hier früher angesprochen.
    Nicht übernommen, weil die Klasse im aktuellen HTML-Abgleich nicht sichtbar war.
    Dadurch wird kein aktiver Stil verändert.
  */
}

@media (max-width: 700px) {
  .gallery-slider-wrap {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 10px;
  }

  .gallery-slide {
    flex: 0 0 100%;
    min-height: 360px;
  }

  .gallery-nav {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.8rem 0.7rem 0;
  }

  .topnav {
    gap: 0.5rem;
    padding: 0.8rem;
  }

  .topnav a {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }

  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-divider-top,
  .section-divider-bottom {
    height: 95px;
  }

  /* Legacy-/Fallback-Gallery-Struktur für ältere Varianten behalten */
  .gallery-stage,
  .gallery-strip,
  .gallery-grid-small,
  .stage-side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stage-main,
  .stage-side .rune-frame,
  .gallery-strip .rune-frame,
  .gallery-strip .rune-frame.tall,
  .gallery-grid-small .rune-frame {
    min-height: auto;
  }

  .rune-frame img {
    aspect-ratio: 4 / 5;
  }

  .section-raubzuege,
  .section-bilderhalle,
  .section-gestabok,
  .section-verbuendete,
  .section-tribute,
  .section-counter,
  .section-botschaft,
  .section-impressum {
    padding-top: 5.2rem;
    padding-bottom: 5.3rem;
  }

  .tribute {
    padding: 4rem 1rem;
  }

  .tribute > h2,
  .botschaft h2,
  .content-section h2,
  #impressum h2 {
    margin-bottom: 1.5rem;
  }

  .tribute-media {
    margin-bottom: 1.8rem;
  }

  .tribute-media img {
    border-radius: 18px;
  }

  .tribute-text {
    padding: 1.35rem 1rem 1.2rem;
    border-radius: 18px;
  }

  .tribute-text p,
  .tribute-text li,
  .botschaft-text,
  .content-section p,
  .content-section li,
  #impressum p {
    font-size: 1.08rem;
  }

  .tribute-text p,
  .tribute-text li {
    line-height: 1.75;
  }

  .tribute-lead {
    font-size: 1.2rem;
    line-height: 1.65;
  }

  .tribute-thanks {
    font-size: 1.28rem;
  }

  .tribute-note {
    font-size: 1rem;
  }

  .tribute-text li {
    padding-left: 1.55rem;
  }

  .botschaft-bildrahmen {
    width: min(360px, 92vw);
  }

  .impressum-card {
    padding: 1.4rem 1rem;
    border-radius: 22px;
  }

  .impressum-block p {
    font-size: 1rem;
  }

  .social-footer {
    padding: 2rem 1rem 2.6rem;
  }

  .social-links {
    gap: 0.75rem;
  }

  .social-pill {
    width: 52px;
    height: 52px;
  }

  .social-pill img {
    width: 21px;
    height: 21px;
  }

  .gestabok-form-card,
  .gestabok-entries-card {
    padding: 1.25rem 1rem;
    border-radius: 22px;
  }

  .gestabok-form-card::before,
  .gestabok-entries-card::before {
    inset: 8px;
    border-radius: 16px;
  }

  .guestbook-entry {
    padding: 1rem 0.95rem;
    border-radius: 18px;
  }

  .guestbook-entry-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .form-row input,
  .form-row textarea,
  .guestbook-entry p {
    font-size: 1.04rem;
  }

  .guestbook-submit {
    width: 100%;
  }

  .raubzuege-poster-frame {
    padding: 10px;
    border-radius: 22px;
  }

  .raubzuege-poster-frame::before {
    inset: 8px;
    border-radius: 16px;
  }

  .raubzuege-poster {
    border-radius: 14px;
  }
}
