/* Kerner – Ort der Begegnung | Redaktionell, warm, einzigartig */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Spectral:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg: #faf8f5;
  --bg-warm: #f6f3ed;
  --bg-card: #fff;
  --accent: #a84528;
  --accent-hover: #8c3a20;
  --accent-muted: #c47a5f;
  --accent-soft: rgba(168, 69, 40, 0.08);
  --text: #241f1c;
  --text-muted: #5a544e;
  --border: #e6e2db;
  --border-subtle: #efece6;
  --container: 1100px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(36, 31, 28, 0.04);
  --shadow-card: 0 4px 20px rgba(36, 31, 28, 0.06);
  --shadow-hover: 0 12px 40px rgba(36, 31, 28, 0.1);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Spectral', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 900px) {
  body { background: var(--bg); }
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  z-index: 100;
  font-weight: 500;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--accent); outline-offset: 2px; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

/* ===== Header: Modern, leicht schwebend ===== */
#site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}

#site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

#site-logo .logo-img {
  height: 72px;
  width: auto;
}

#site-logo a { text-decoration: none; }

.header-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 400;
  color: var(--text);
  margin: 0;
  text-align: right;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ===== Navigation: Unterstreicht, nicht gefüllt ===== */
#site-navigation-wrap {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

#site-navigation {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

#site-navigation .nav-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

#site-navigation .nav-ul a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 16px 18px;
  display: inline-block;
  border-radius: var(--radius-sm);
  transition: all 0.35s var(--ease-out);
}

#site-navigation .nav-ul a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

#site-navigation .nav-ul .current-menu-item > a {
  color: var(--accent);
  background: var(--accent-soft);
}

/* Dropdown */
#site-navigation .nav-ul li.has-children { position: relative; }
#site-navigation .nav-ul .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: var(--bg-card);
  min-width: 200px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
#site-navigation .nav-ul li.has-children:hover .sub-menu { display: block; }
#site-navigation .nav-ul .sub-menu a {
  padding: 12px 20px;
  display: block;
}

.nav-toggle {
  display: none;
  background: var(--text);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  border-radius: 0;
}
.nav-toggle .wpex-text { margin-left: 8px; }

/* ===== Main Content ===== */
#content-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Hero-Bild mit Überblendung */
.home-header-img {
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
  position: relative;
}
.home-header-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--bg) 0%, rgba(250,248,245,0.6) 50%, transparent 100%);
  pointer-events: none;
}
.home-header-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Wer wir sind: Editorial Layout */
.section-wer-wir-sind {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 52px;
  align-items: center;
  margin: 48px 0 56px;
}

.section-wer-wir-sind .col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.section-wer-wir-sind .col-image img {
  width: 100%;
  height: auto;
}

.section-wer-wir-sind h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  margin: 0 0 20px;
  line-height: 1.2;
  color: var(--text);
}
.section-wer-wir-sind .divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-muted));
  margin-bottom: 20px;
  border-radius: 2px;
}
.section-wer-wir-sind p {
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  letter-spacing: 0.01em;
}

/* Verhaltenskodex: Warme Karte */
.section-verhaltenskodex {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  padding: 52px 44px;
  margin: 48px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

#content .section-verhaltenskodex h2,
#content .section-verhaltenskodex p,
#content .section-verhaltenskodex a {
  color: #fff !important;
}
#content .section-verhaltenskodex a:hover {
  color: rgba(255,255,255,0.9) !important;
}
.section-verhaltenskodex h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 16px;
}
.section-verhaltenskodex .divider {
  width: 64px;
  height: 3px;
  background: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  border-radius: 2px;
}
#content .section-verhaltenskodex p {
  margin: 0;
  line-height: 1.7;
}

/* Weitere Kontrast-Anpassungen: Text auf farbigen Flächen */
.termine-datum,
.termine-archiv-badge:not(.termine-archiv-badge-light),
.termine-kachel-header-marejesho span,
.landing-hero-accent span {
  color: #fff !important;
}

/* Was wir machen */
.section-was-wir-machen h2 {
  font-family: 'Instrument Serif', serif;
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  margin: 72px 0 0;
  color: var(--text);
}
.section-was-wir-machen .divider-center {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 28px auto 48px;
  border-radius: 2px;
}

/* Karten: Modern mit Schatten */
.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.kerner-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  border: 1px solid var(--border-subtle);
}
.kerner-card:nth-child(2) {
  margin-top: 8px;
}
.kerner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.kerner-card .card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--border);
}

#content .kerner-card .card-title-bar {
  background: var(--accent);
  color: #fff !important;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  padding: 16px 20px;
  margin: 0;
  line-height: 1.35;
}
.kerner-card .card-text {
  padding: 24px 20px;
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Instagram */
.section-instagram {
  margin: 56px 0 72px;
  padding: 40px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.section-instagram p { margin: 0 0 12px; color: var(--text-muted); }
.section-instagram .instagram-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  font-weight: 600;
  margin: 16px 0;
  transition: background 0.25s var(--ease);
}
.section-instagram .instagram-btn:hover {
  background: var(--accent-hover);
  color: #fff;
}
.section-instagram .qr-code {
  margin-top: 20px;
  max-width: 160px;
  border-radius: var(--radius-sm);
}

/* ===== Footer ===== */
#footer-builder {
  background: #1e1b18;
  color: rgba(255,255,255,0.88);
  padding: 52px 0;
  margin-top: 64px;
}

#footer-builder .footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

#footer-builder a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
#footer-builder a:hover { color: #fff; text-decoration: underline; }
#footer-builder h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
#footer-builder p { margin: 0 0 10px; font-size: 15px; }

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  max-width: 260px;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
}
.newsletter-form input[type="text"]::placeholder,
.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.5);
}
.newsletter-form input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
}
.newsletter-form input[type="submit"]:hover {
  background: var(--accent-hover);
}

#footer-bottom {
  background: #161412;
  color: rgba(255,255,255,0.55);
  padding: 22px 24px;
  text-align: center;
}
#footer-bottom p { margin: 0; font-size: 14px; }
#footer-bottom a { color: rgba(255,255,255,0.8); }
#footer-bottom a:hover { color: #fff; }
#footer-bottom .footer-nav {
  margin-top: 14px;
  font-size: 14px;
}
#footer-bottom .footer-nav a { margin: 0 10px; }

/* Content (Innenseiten) */
#content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.25s var(--ease);
}
#content a:hover {
  color: var(--accent-hover);
}

#content h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 400;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.termine-intro {
  margin: 0 0 1.5rem;
  font-size: 15px;
  color: var(--text-muted);
}

.termine-intro a {
  font-weight: 600;
}
#content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
#content p { margin: 0 0 1rem; color: var(--text-muted); }
#content ul { margin: 0 0 1rem; padding-left: 1.5rem; color: var(--text-muted); }

#content .form-group { margin-bottom: 1.25rem; }
#content .form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--text); }
#content .form-group label input[type="checkbox"] { margin-right: 10px; accent-color: var(--accent); }
#content .form-group input,
#content .form-group select,
#content .form-group textarea {
  width: 100%;
  max-width: 480px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  background: var(--bg-card);
  transition: all 0.35s var(--ease-out);
}
#content .form-group input:focus,
#content .form-group select:focus,
#content .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
#content .form-group textarea { min-height: 160px; resize: vertical; }
#content .form-submit { margin-top: 1.5rem; }
#content button[type="submit"],
#content .form-submit button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}
#content button[type="submit"]:hover,
#content .form-submit button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Netzwerk: Kacheln (Tiles) */
.netzwerk-kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.kachel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.kachel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.kachel-header {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0ede8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.kachel-header img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.kachel-header-placeholder {
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  text-align: center;
  padding: 20px;
}

.kachel-title {
  font-family: 'Instrument Serif', serif;
  font-size: 19px;
  font-weight: 400;
  margin: 0 24px 14px;
  padding: 18px 0 10px;
  color: var(--text);
  line-height: 1.35;
  border-bottom: 1px solid var(--border);
}

.kachel-body { padding: 0 24px; }

.kachel-content {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 0 12px;
  max-height: 5.5em;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.kachel.is-open .kachel-content {
  max-height: 2000px;
}

.kachel-content p { margin: 0 0 10px; }
.kachel-content p:last-child { margin-bottom: 0; }

.kachel-toggle {
  display: block;
  width: 100%;
  padding: 12px 0 24px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.kachel-toggle:hover { color: var(--accent-hover); }

/* Termine – Kachel-Layout (alles als Kacheln) */
.termine-kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.termine-kachel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.termine-kachel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.termine-kachel-header {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f0ede8;
  position: relative;
  overflow: hidden;
}

.termine-kachel-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.termine-archiv-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--text-muted);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

.termine-archiv-badge-light {
  background: rgba(255,255,255,0.9);
  color: var(--text);
}

.termine-datum {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  z-index: 2;
}

.termine-kachel-body {
  padding: 20px 20px 24px;
}

.termine-kachel-title {
  font-family: 'Instrument Serif', serif;
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.35;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.termine-kachel-content {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-height: 4.5em;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.termine-kachel.is-open .termine-kachel-content {
  max-height: 2000px;
}

.termine-kachel-content p { margin: 0 0 10px; }
.termine-kachel-content p:last-child { margin-bottom: 0; }

.termine-toggle {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 0;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.termine-toggle:hover { color: var(--accent-hover); }

/* Highlight-Kacheln (Poster-ähnlich) */
.termine-kachel-highlight .termine-kachel-header-accent img,
.termine-kachel-highlight .termine-kachel-header img {
  object-fit: cover;
}

.termine-kachel-header-marejesho {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
}

.termine-kachel-header-marejesho span {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
}

.termine-kachel-desc {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Info-Kachel (ohne Bild-Header) */
.termine-kachel-info {
  border-left: 4px solid var(--accent);
}

.termine-kachel-info .termine-kachel-body {
  padding-top: 24px;
}

.termine-kachel-info .termine-kachel-title {
  padding-top: 0;
}

.termine-kachel-info p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.termine-kachel-info p:last-child {
  margin-bottom: 0;
}

/* Fallback: alte Event-Liste */
.event-list { margin: 32px 0; }
.event-item {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.event-item:last-child { border-bottom: none; }
.event-date-box {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.event-date-box span { font-size: 13px; font-weight: 500; opacity: 0.9; }
.event-body h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.event-body p { margin: 0 0 14px; color: var(--text-muted); }
.btn-weiterlesen {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s var(--ease);
}
.btn-weiterlesen:hover { background: var(--accent-hover); color: #fff; }

/* Archiv – Kachel-Layout */
.archiv-kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.archiv-kachel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.archiv-kachel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.archiv-kachel-body {
  padding: 24px 24px 28px;
}

.archiv-kachel-title {
  font-family: 'Instrument Serif', serif;
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.35;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.archiv-kachel-desc {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.archiv-kachel-content {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-height: 4.5em;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.archiv-kachel.is-open .archiv-kachel-content {
  max-height: 2000px;
}

.archiv-kachel-content p { margin: 0; }

.archiv-toggle {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 0;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.archiv-toggle:hover { color: var(--accent-hover); }

/* Fallback: alte Archiv-Liste */
.archiv-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.archiv-item:last-child { border-bottom: none; }
.archiv-item h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.archiv-item p { margin: 0 0 14px; color: var(--text-muted); }
.btn-mehr {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s var(--ease);
}
.btn-mehr:hover { background: var(--accent-hover); color: #fff; }

/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); }

/* Klickbare Kacheln (Links zu Landingpages) */
.termine-kachel-link,
.archiv-kachel-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.termine-kachel-link:hover,
.archiv-kachel-link:hover {
  color: inherit;
}

.termine-kachel-link .termine-kachel:hover,
.archiv-kachel-link .archiv-kachel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.termine-kachel-link .termine-kachel-link-label,
.archiv-kachel-link .archiv-kachel-link-label {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.termine-kachel-link:hover .termine-kachel-link-label,
.archiv-kachel-link:hover .archiv-kachel-link-label {
  color: var(--accent-hover);
}

/* Landingpage-Layout */
.landing-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  background: #e8e4dc;
}

.landing-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-hero-accent {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
}

.landing-hero-accent span {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
}

.landing-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin: -0.5rem 0 1rem;
}

.landing-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.landing-back:hover {
  color: var(--accent-hover);
}

.landing-back::before {
  content: '← ';
}

/* Archiv-Badge für vergangene Veranstaltungen */
.landing-archiv-badge {
  display: inline-block;
  background: var(--text-muted);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

/* Bildergalerie auf Landingpages */
.landing-gallery {
  margin: 2.5rem 0 3rem;
}

.landing-gallery h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.landing-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.landing-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .landing-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ===== Feedback-Kontakt Widget (floating) ===== */
#feedback-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

#feedback-widget-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(168, 69, 40, 0.35);
  transition: all 0.35s var(--ease-out);
}

#feedback-widget-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(168, 69, 40, 0.4);
}

#feedback-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--bg-card);
  box-shadow: -8px 0 48px rgba(26, 25, 23, 0.12);
  z-index: 1000;
  padding: 28px;
  overflow-y: auto;
  transition: right var(--transition);
  padding-top: 60px;
}

#feedback-panel.is-open {
  right: 0;
}

#feedback-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 25, 23, 0.3);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity var(--transition);
}

#feedback-panel-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

#feedback-panel h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--text);
  padding-right: 48px;
}

#feedback-panel .feedback-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-muted);
  transition: all 0.35s var(--ease-out);
}

#feedback-panel .feedback-close:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.feedback-form .form-group {
  margin-bottom: 1.25rem;
}

.feedback-form .form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}

.feedback-form select,
.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.35s var(--ease-out);
}

.feedback-form textarea {
  min-height: 120px;
  resize: vertical;
}

.feedback-form select:focus,
.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.feedback-form .form-submit {
  margin-top: 1.5rem;
}

.feedback-form button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}

.feedback-form button[type="submit"]:hover {
  background: var(--accent-hover);
}

/* Feedback-Bereich auf Mitmachen-Seite */
.feedback-contact-block {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  margin: 3rem 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.feedback-contact-block h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--text);
}

.feedback-contact-block p.feedback-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.feedback-contact-block .form-group input,
.feedback-contact-block .form-group select,
.feedback-contact-block .form-group textarea {
  max-width: none;
}

/* ===== Einladungs-Seite (Beispiel) ===== */
.einladung-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.einladung-hero-img {
  position: absolute;
  inset: 0;
}

.einladung-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.einladung-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,25,23,0.85) 0%, rgba(26,25,23,0.4) 40%, transparent 70%);
}

.einladung-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 40px;
  width: 100%;
}

.einladung-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 8px;
}

.einladung-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.15;
}

.einladung-tagline {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.einladung-card {
  max-width: 720px;
  margin: -32px auto 0;
  padding: 40px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  position: relative;
  z-index: 3;
}

.einladung-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.einladung-meta-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.einladung-meta-icon {
  font-size: 24px;
  line-height: 1;
}

.einladung-meta-item strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.einladung-meta-item p {
  margin: 0;
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
}

.einladung-body h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--text);
}

.einladung-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.einladung-rsvp {
  margin-top: 32px;
  padding: 28px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
}

.einladung-rsvp h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--text);
}

.einladung-rsvp p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.einladung-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.35s var(--ease-out);
}

.einladung-btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

.einladung-note {
  margin-top: 16px !important;
  font-size: 14px !important;
}

.einladung-footer-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.einladung-footer-note p {
  margin: 0;
  font-size: 15px;
}

.einladung-footer-note a {
  margin: 0 8px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  #site-navigation .nav-ul {
    display: none;
    flex-direction: column;
    padding: 16px 0;
  }
  #site-navigation .nav-ul.is-open { display: flex; }
  #site-navigation .nav-ul .sub-menu {
    position: static;
    display: none;
    padding-left: 24px;
    box-shadow: none;
    border: none;
  }
  #site-navigation .nav-ul li.has-children:hover .sub-menu,
  #site-navigation .nav-ul li.has-children .sub-menu.is-open { display: block; }
  .section-wer-wir-sind { grid-template-columns: 1fr; }
  .three-cards { grid-template-columns: 1fr; }
  #footer-builder .footer-inner { grid-template-columns: 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  #content-wrap { padding: 0 16px 40px; }
  .section-verhaltenskodex { padding: 32px 24px; }
  .section-instagram { padding: 28px 20px; }
  .home-header-img::after { height: 60px; }
  .netzwerk-kacheln { grid-template-columns: 1fr; gap: 20px; margin: 32px 0; }
  .kachel { padding: 20px; }
  .termine-kacheln { grid-template-columns: 1fr; gap: 20px; margin: 32px 0; }
  .archiv-kacheln { grid-template-columns: 1fr; gap: 20px; margin: 32px 0; }
  .einladung-hero { min-height: 300px; }
  .einladung-hero-inner { padding: 32px 16px 28px; }
  .einladung-card { margin: -24px 16px 0; padding: 24px; }
  .einladung-meta-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (min-width: 640px) and (max-width: 900px) {
  .termine-kacheln,
  .archiv-kacheln { grid-template-columns: repeat(2, 1fr); }
}
