/*
 * Neues Design der Lamberti-Kirchenmusik (Theme laki-neu).
 * Wird nach css/bootstrap.min.css (Bootstrap 5, Teilbuild), css/fonts.css und
 * css/plugins.css geladen. Farben siehe ops/design/README.md.
 * Reines CSS ohne Build-Schritt. Groessen in px, damit sie unabhaengig von Bootstrap bleiben.
 */
:root {
  --laki-gruen: #6da245;      /* Logo, Linien, Flaechen (kein Text auf Weiss) */
  --laki-gruen-dk: #3f6b25;   /* Links, Knoepfe */
  --laki-gruen-hell: #c9e6ad; /* auf Tannengruen */
  --laki-tanne: #1f3318;      /* Kopf, Menue, Fusszeile, Ueberschriften */
  --laki-kalk: #f4f6f0;       /* Seitenhintergrund */
  --laki-grau: #5f625e;       /* Nebentext */
  --laki-ziegel: #a8432f;     /* Tickets, Hinweise */
  --laki-tinte: #22281f;      /* Fliesstext */
  --laki-linie: #e1e6da;
  --laki-flaeche: #6da245;   /* Flaechen wie die Stofftasche: Kopf mobil, Vollbild-Menue, Fusszeile */
  --laki-auf-flaeche: #1f3318; /* Text darauf: Tannengruen (4,5 : 1), wie die dunklen Tuerme im Logo */
  --laki-serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --laki-sans: 'Alegreya Sans', 'Helvetica Neue', Arial, sans-serif;
  --laki-breite: 1180px;
  --laki-rand: 16px;
}
@media (min-width: 768px) { :root { --laki-rand: 28px; } }

/* ---------- Grundlagen ---------- */
html { scroll-padding-top: 80px; }
body {
  background: var(--laki-kalk);
  color: var(--laki-tinte);
  font-family: var(--laki-sans);
  font-size: 17px;
  line-height: 1.55;
}
body h1, body h2, body h3, body h4 {
  font-family: var(--laki-serif);
  font-weight: 400;
  color: var(--laki-tanne);
  line-height: 1.2;
  text-wrap: balance;
}
body h1 { font-size: 2em; margin: 0 0 .6em; }
body h2 { font-size: 1.45em; margin: 1.4em 0 .5em; color: var(--laki-tanne); }
body h3 { font-size: 1.2em; margin: 1.2em 0 .4em; }
body h4 { font-size: 1.05em; font-family: var(--laki-sans); font-weight: 700; }
body h2:first-child, body h3:first-child { margin-top: 0; }
body a { color: var(--laki-gruen-dk); text-decoration-thickness: 1px; text-underline-offset: 2px; }
body a:hover, body a:focus { color: var(--laki-tanne); }
body strong.headline { color: var(--laki-tanne); font-family: var(--laki-serif); font-weight: 400; font-size: 1.35em; display: block; margin-bottom: .6em; }
:focus-visible { outline: 3px solid var(--laki-gruen); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }

.dots { display: flex; gap: 7px; margin-bottom: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--laki-gruen); display: block; }

.btn-laki {
  display: inline-block; border-radius: 999px; padding: 8px 18px;
  font-weight: 700; line-height: 1.2; text-decoration: none !important;
  background: var(--laki-gruen-dk); color: #fff !important; border: 2px solid var(--laki-gruen-dk);
}
.btn-laki:hover, .btn-laki:focus { background: var(--laki-tanne); border-color: var(--laki-tanne); }
.btn-laki--hell { background: #fff; color: var(--laki-tanne) !important; border-color: #fff; }
.btn-laki--hell:hover, .btn-laki--hell:focus { background: var(--laki-gruen-hell); border-color: var(--laki-gruen-hell); }

/* Tickets: einheitlich Ziegelrot (Kopfleiste, Menue, Terminkarten, Liste) */
.btn-laki--tickets, .site-nav__actions .btn-laki--tickets { background: var(--laki-ziegel); border-color: var(--laki-ziegel); color: #fff !important; }
.btn-laki--tickets:hover, .btn-laki--tickets:focus, .site-nav__actions .btn-laki--tickets:hover { background: #8a3524; border-color: #8a3524; }
.tickets-knopf {
  position: relative; z-index: 2; display: inline-block; margin: 2px 0 6px; padding: 6px 14px;
  border-radius: 999px; background: var(--laki-ziegel); color: #fff !important; text-decoration: none !important;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.tickets-knopf::after { content: " \2197"; letter-spacing: 0; }
.tickets-knopf:hover, .tickets-knopf:focus { background: #8a3524; }
.tickets-zeile { margin: 0 0 8px !important; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--laki-flaeche); color: var(--laki-auf-flaeche);
  /* iPhone: Seite reicht unter die Statusleiste (viewport-fit=cover), der Kopf haelt Abstand */
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header__inner {
  max-width: var(--laki-breite); margin: 0 auto;
  padding: 10px var(--laki-rand);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--laki-auf-flaeche) !important; text-decoration: none !important; min-width: 0; }
.brand__logo { width: auto; height: 40px; flex: none; }
.brand__logo--hell { display: none; }
.brand__text { font-family: var(--laki-serif); font-size: 18.7px; line-height: 1.05; white-space: nowrap; }
.brand__text small { display: block; font-family: var(--laki-sans); font-size: 11.6px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }

@media (max-width: 479px) { .brand__ort { display: none; } }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: transparent; color: var(--laki-auf-flaeche); cursor: pointer;
  border: 1.5px solid var(--laki-auf-flaeche); border-radius: 999px; padding: 6px 12px;
  font: 700 13.3px/1 var(--laki-sans); letter-spacing: .06em; text-transform: uppercase;
}
@media (hover: hover) { .menu-toggle:hover { background: rgba(255,255,255,.25); } }
/* drei gleich weit auseinanderliegende Striche */
.menu-toggle__icon {
  width: 16px; height: 12px; position: relative; display: block;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 5px / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 10px / 100% 2px no-repeat;
}
.menu-offen .menu-toggle__icon { background: none; }
.menu-offen .menu-toggle__icon::before,
.menu-offen .menu-toggle__icon::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: 5px; height: 2px; background: currentColor; transform: rotate(45deg);
}
.menu-offen .menu-toggle__icon::after { transform: rotate(-45deg); }

/* ---------- Menue mobil: Vollbild ---------- */
@media (max-width: 991px) {
  .site-nav {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; top: 60px;
    background: var(--laki-flaeche); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--laki-rand) 28px;
  }
  /* Scrollsperre nur auf html: overflow auf body macht body zum Scroll-Container,
     dann klebt der sticky Header nicht mehr am Fenster und scrollt weg (Streifen ueber dem Menue). */
  .menu-offen { overflow: hidden; }
  .site-nav { top: var(--laki-nav-top, 60px); }
  .menu-offen .site-nav { display: flex; flex-direction: column; }
  .site-nav__list { list-style: none; margin: 0; padding: 0; }
  .site-nav__list > li { position: relative; border-bottom: 1px solid rgba(31,51,24,.18); margin: 0; }
  .site-nav__list > li > a {
    display: block; padding: 12px 48px 12px 0;
    font-family: var(--laki-serif); font-size: 18.7px; color: var(--laki-auf-flaeche); text-decoration: none;
  }
  .site-nav__list li.current-menu-item > a,
  .site-nav__list li.current-menu-ancestor > a,
  .site-nav__list li.current-menu-parent > a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .sub-toggle {
    position: absolute; right: -8px; top: 4px; width: 44px; height: 44px;
    background: transparent; border: 0; color: var(--laki-auf-flaeche); cursor: pointer;
  }
  .sub-toggle span {
    display: block; width: 9px; height: 9px; margin: 0 auto;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .2s;
  }
  .is-open > .sub-toggle span { transform: translateY(2px) rotate(-135deg); }
  .site-nav__list .sub-menu {
    display: none; list-style: none; margin: 0 0 12px; padding: 2px 0 2px 14px;
    border-left: 2px solid var(--laki-auf-flaeche);
  }
  .site-nav__list .is-open > .sub-menu { display: block; }
  .site-nav__list .sub-menu li { margin: 0; }
  .site-nav__list .sub-menu a { display: block; padding: 7px 0; color: var(--laki-auf-flaeche); font-size: 17px; text-decoration: none; }
  .site-nav__list .sub-menu .current-menu-item > a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
  /* Rueckmeldung beim Antippen: Punkt hellt auf und bleibt hervorgehoben, bis die Seite kommt */
  .site-nav__list a { -webkit-tap-highlight-color: transparent; border-radius: 8px; transition: background-color .1s; }
  .site-nav__list > li > a { margin: 0 -10px; padding-left: 10px; }
  .site-nav__list .sub-menu a { margin: 0 -10px 0 -4px; padding-left: 4px; }
  .site-nav__list a:active, .site-nav__list a.laedt { background: rgba(255, 255, 255, .35); }
  .site-nav__actions { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; }
  .site-nav__actions .btn-laki { flex: 1; text-align: center; }
}

/* ---------- Menue Desktop ---------- */
@media (min-width: 992px) {
  .site-header { background: #fff; color: var(--laki-tinte); border-bottom: 1px solid var(--laki-linie); }
  .site-header__inner { flex-wrap: wrap; padding-top: 14px; padding-bottom: 0; row-gap: 6px; }
  .brand { color: var(--laki-tanne) !important; }
  .brand__logo { height: 52px; }
  .brand__logo--hell { display: block; }
  .brand__logo--dunkel { display: none; }
  .brand__text { font-size: 23px; }
  .brand__text small { color: var(--laki-grau); opacity: 1; }
  .menu-toggle { display: none; }
  .site-nav { display: contents; }
  .site-nav__actions { order: 2; }
  .site-nav__list {
    order: 3; flex-basis: 100%;
    list-style: none; margin: 0 0 0 -12px; padding: 0;
    display: flex; flex-wrap: wrap;
  }
  .site-nav__list > li { position: relative; margin: 0; }
  .site-nav__list > li > a {
    display: block; padding: 10px 12px 12px; color: var(--laki-tinte);
    text-decoration: none; font-weight: 500; position: relative;
  }
  .site-nav__list > li > a:hover, .site-nav__list > li > a:focus { color: var(--laki-gruen-dk); }
  .site-nav__list > li.current-menu-item > a,
  .site-nav__list > li.current-menu-ancestor > a,
  .site-nav__list > li.current-menu-parent > a { color: var(--laki-gruen-dk); }
  .site-nav__list > li.current-menu-item > a::after,
  .site-nav__list > li.current-menu-ancestor > a::after,
  .site-nav__list > li.current-menu-parent > a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--laki-gruen);
  }
  .sub-toggle { display: none; }
  .site-nav__list .sub-menu {
    display: none; position: absolute; left: 0; top: 100%; z-index: 60; min-width: 230px;
    list-style: none; margin: 0; padding: 8px 0;
    background: #fff; border: 1px solid var(--laki-linie); border-top: 3px solid var(--laki-gruen);
    box-shadow: 0 10px 24px rgba(31,51,24,.12);
  }
  .site-nav__list > li:hover > .sub-menu,
  /* Tastatur: Untermenue offen, solange der Fokus darin ist. Punkte mit Link "#" (z. B. "Über uns")
     geben den Fokus nach einem Mausklick ab (js/neu.js), sonst bliebe das Untermenue liegen. */
  .site-nav__list > li:focus-within > .sub-menu { display: block; }
  .site-nav__list .sub-menu li { margin: 0; }
  .site-nav__list .sub-menu a { display: block; padding: 7px 18px; color: var(--laki-tinte); text-decoration: none; }
  .site-nav__list .sub-menu a:hover, .site-nav__list .sub-menu a:focus { background: var(--laki-kalk); color: var(--laki-gruen-dk); }
  .site-nav__list .sub-menu .current-menu-item > a { color: var(--laki-gruen-dk); font-weight: 700; }
  .site-nav__actions .btn-laki--hell { background: var(--laki-gruen-dk); border-color: var(--laki-gruen-dk); color: #fff !important; }
  .site-nav__actions .btn-laki--hell:hover { background: var(--laki-tanne); border-color: var(--laki-tanne); }
  html { scroll-padding-top: calc(var(--laki-kopf, 121px) + 16px); }
}

/* Desktop breit: Menue einzeilig neben dem Logo. Passt es nicht, rutscht es in die zweite Zeile. */
@media (min-width: 1100px) {
  .site-header__inner { flex-wrap: nowrap; align-items: stretch; padding-top: 0; }
  .brand { padding: 12px 0; }
  .site-nav__list {
    order: 2; flex: 0 1 auto; margin: 0 0 0 auto; flex-wrap: nowrap;
  }
  .site-nav__list > li { display: flex; }
  .site-nav__list > li > a { display: flex; align-items: center; padding: 0 12px; white-space: nowrap; }
  .site-nav__actions { order: 3; align-self: center; margin-left: 12px; }
  html { scroll-padding-top: calc(var(--laki-kopf, 77px) + 16px); }
}

/* ---------- Kopfbild ---------- */
.hero {
  position: relative; background-color: var(--laki-tanne);
  background-size: cover; background-position: center 30%;
  min-height: 180px; display: flex; align-items: flex-end;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(16,28,12,0) 30%, rgba(16,28,12,.78)); }
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--laki-breite); margin: 0 auto; padding: 40px var(--laki-rand) 18px; color: #fff; }
.hero .dots i { background: var(--laki-gruen-hell); }
/* Kopfbild-Wechsel: Punkte als Knoepfe (js/neu.js), Ueberblend-Ebene unter Verlauf und Text */
.hero__ueberblendung {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  opacity: 0; transition: opacity 1s ease;
}
.hero__ueberblendung.ist-sichtbar { opacity: 1; }
.hero .dots:has(.dots__punkt) { gap: 10px; align-items: center; }
.dots__punkt {
  position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--laki-gruen-hell); opacity: .55; transition: opacity .2s, transform .2s;
}
.dots__punkt::before { content: ""; position: absolute; inset: -9px; } /* groessere Tippflaeche */
.dots__punkt:hover, .dots__punkt:focus-visible { opacity: .9; }
.dots__punkt.ist-aktiv { opacity: 1; transform: scale(1.5); }
.dots__punkt:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hero__ueberblendung, .dots__punkt { transition: none; } }
.hero__h1 { margin: 0; font: inherit; color: inherit; }
.hero__h1 > span { display: block; }
.hero__kicker { margin: 0; font-size: 13.3px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--laki-gruen-hell); }
.hero__title { margin: 6px 0 0; font-family: var(--laki-serif); font-size: 26px; line-height: 1.12; max-width: 18em; text-wrap: balance; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero--gross { min-height: 300px; }
.hero--rubrik { min-height: 230px; }
@media (min-width: 768px) {
  .hero { min-height: 240px; }
  .hero--gross { min-height: 380px; }
  .hero--rubrik { min-height: 320px; }
  .hero__inner { padding-bottom: 30px; }
  .hero__title { font-size: 42.5px; }
}

/* ---------- Inhalt ---------- */
.site-body {
  max-width: var(--laki-breite); margin: 0 auto;
  padding: 20px var(--laki-rand) 48px;
  display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 992px) {
  .site-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-top: 36px; }
  .site-body--ohne-leiste { grid-template-columns: minmax(0, 1fr); }
}
.content-card { background: #fff; border-radius: 12px; padding: 22px 20px; box-shadow: 0 1px 0 var(--laki-linie); }
@media (min-width: 768px) { .content-card { padding: 32px 36px; } }
.content-card > *:last-child { margin-bottom: 0; }
/* "Eine Ebene nach oben" ueber der Ueberschrift */
.zurueck {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px;
  font-weight: 700; font-size: 15px; color: var(--laki-gruen-dk); text-decoration: none;
}
.zurueck::before { content: "\2039"; font-size: 22px; line-height: 1; transform: translateY(-1px); }
.zurueck:hover, .zurueck:focus { text-decoration: underline; }
.content-card.content-card--offen { background: none; box-shadow: none; border-radius: 0; padding: 0; }
.site-main li { margin-bottom: 6px; }
/* WPBakery: Spalten haben innen 15 px Abstand, die Zeile gleicht das mit -15 px aus (wie im Plugin).
   So steht der Inhalt buendig mit der Ueberschrift, der Abstand zwischen Spalten bleibt. */
.site-main .vc_row { margin-left: -15px; margin-right: -15px; }

/* Konzertrueckblick: Jahre als Chips (Handy: eine wischbare Zeile) */
ul#eventsArchiveNav {
  list-style: none; margin: 4px 0 0; padding: 0 0 6px; display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
ul#eventsArchiveNav::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { ul#eventsArchiveNav { flex-wrap: wrap; overflow: visible; } }
ul#eventsArchiveNav li { margin: 0; flex: none; }
ul#eventsArchiveNav li a {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 36px; line-height: 1; padding: 0 14px; font-variant-numeric: lining-nums; border-radius: 999px; background: #fff; border: 1px solid var(--laki-linie);
  font-weight: 700; font-size: 15px; color: var(--laki-tinte); text-decoration: none;
}
ul#eventsArchiveNav li a:hover, ul#eventsArchiveNav li a:focus { border-color: var(--laki-gruen); color: var(--laki-gruen-dk); }
ul#eventsArchiveNav li.act a { background: var(--laki-gruen-dk); border-color: var(--laki-gruen-dk); color: #fff; }

.afterContent { margin-top: 24px; }
.afterContent #recentNews article { background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.afterContent #recentNews article > header { padding: 10px 16px; background: var(--laki-flaeche); }
.afterContent #recentNews article > header h3 { color: var(--laki-auf-flaeche); margin: 0; }
.afterContent #recentNews article p { padding: 14px 16px 0; margin: 0; }
.afterContent #recentNews article h4 { padding: 14px 16px; margin: 0; }
/* Konzertrueckblick: Karten wie in der Veranstaltungsliste (Markup: tribe-events/list/past-events.php) */
.afterContent #eventsArchive { margin-top: -8px; }
.rb-monat {
  margin: 28px 0 12px !important; padding: 0 0 6px; border-bottom: 2px solid var(--laki-gruen);
  font-size: 22px; color: var(--laki-tanne);
}
.rb-karte {
  position: relative; display: flex; gap: 16px; align-items: flex-start; margin: 0 0 12px;
  background: #fff; border: 1px solid var(--laki-linie); border-left: 4px solid var(--laki-gruen); border-radius: 12px;
  padding: 14px 16px; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.rb-karte:hover, .rb-karte:has(:focus-visible) {
  border-color: #c9d1c0; border-left-color: var(--laki-gruen-dk);
  box-shadow: 0 4px 14px rgba(31, 51, 24, .10); transform: translateY(-2px);
}
.rb-datum { flex: 0 0 44px; display: flex; flex-direction: column; line-height: 1; }
.rb-datum span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--laki-grau); }
.rb-datum b { font: 400 26px/1.1 var(--laki-serif); color: var(--laki-tanne); }
.rb-text { flex: 1 1 auto; min-width: 0; }
.rb-meta { display: block; font-size: 15px; font-weight: 700; color: var(--laki-grau); }
.rb-titel { margin: 2px 0 6px !important; font: 700 19px/1.3 var(--laki-sans); }
.rb-titel a { color: var(--laki-gruen-dk); text-decoration: none; }
.rb-titel a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.rb-karte:hover .rb-titel a { text-decoration: underline; }
.rb-beschreibung { font-size: 15.6px; line-height: 1.45; }
.rb-beschreibung p { margin: 0 0 6px; }
.rb-beschreibung a { position: relative; z-index: 1; }
.rb-rezension { display: block; margin-top: 4px; font-weight: 700; }
/* Bild nach Format: Querformat breiter, Hochformat niedrig, kein Zuschnitt */
.rb-bildrahmen { flex: 0 0 auto; }
.rb-bild { display: block; width: auto; height: auto; max-width: 100%; max-height: 220px; border-radius: 8px; }
@media (min-width: 768px) { .rb-bild { max-width: 260px; max-height: 260px; } }
@media (min-width: 992px) { .rb-bild { max-width: 380px; max-height: 320px; } }
@media (max-width: 575px) {
  .rb-karte { flex-wrap: wrap; }
  .rb-text { flex-basis: calc(100% - 60px); }
  .rb-bildrahmen { margin-left: 60px; flex: 0 0 calc(100% - 60px); min-width: 0; }
}

/* ---------- Seitenleiste: Termine (Widget The Events Calendar) ---------- */
.site-aside { min-width: 0; }
.site-aside > div { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 1px 0 var(--laki-linie); }
/* Handy/Tablet: Leiste steht unter dem Inhalt, Karten direkt auf dem Hintergrund (wie Startseite) */
@media (max-width: 991px) {
  .site-aside > div { background: none; border-radius: 0; padding: 0; box-shadow: none; }
}
/* Seitenleiste laeuft mit. Passt sie ins Fenster, bleibt sie 20 px unter dem Header stehen.
   Ist sie hoeher, scrollt sie zuerst mit der Seite und bleibt stehen, sobald ihr Ende sichtbar ist
   (js/neu.js setzt --laki-leiste-top; ohne JS: oben unter dem Header). */
@media (min-width: 992px) {
  .site-aside > div { position: sticky; top: var(--laki-leiste-top, calc(var(--laki-kopf, 77px) + 20px)); }
}
.site-aside .tribe-events-widget-events-list__events { margin: 0; }
.site-aside .tribe-events-widget-events-list__event-row { margin: 0; }
.site-aside a:before { content: normal !important; }
.site-aside .tribe-events-widget-events-list__view-more { margin-top: 12px; }

/* ---------- Terminkarten (Seitenleiste und Startseite) ---------- */
/* Jede Karte ist ein abgesetzter Kasten; der Titel-Link deckt per ::after die ganze Karte ab. */
.termin, .site-aside .termin, .termine-start .termin {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--laki-linie); border-left: 4px solid var(--laki-gruen);
  border-radius: 10px; padding: 12px 14px; margin: 0 0 10px;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.termin:hover, .termin:has(:focus-visible), .site-aside .termin:hover {
  border-color: #c9d1c0; border-left-color: var(--laki-gruen-dk);
  box-shadow: 0 4px 14px rgba(31, 51, 24, .10); transform: translateY(-2px);
}
.termin__datum { display: flex; align-items: baseline; gap: 6px; line-height: 1; text-align: left; }
.termin__datum b { font-family: var(--laki-serif); font-weight: 400; font-size: 26px; color: var(--laki-tanne); }
.termin__datum span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--laki-grau); }
.termin__text { min-width: 0; }
.termin__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--laki-gruen-dk); margin-bottom: 2px; }
.termin__tag--tickets { color: var(--laki-ziegel); }
.termin__titel { display: block; font-weight: 700; line-height: 1.25; color: var(--laki-tinte) !important; text-decoration: none !important; font-size: 17.9px; }
.termin__titel::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.termin:hover .termin__titel, .termin__titel:focus { color: var(--laki-gruen-dk) !important; }
.termin__titel:focus { outline: none; }
.termin:has(:focus-visible) { outline: 2px solid var(--laki-gruen-dk); outline-offset: 2px; }
.termin__meta { display: block; margin-top: 3px; font-size: 15px; color: var(--laki-grau); }
.termin__kurz { margin: 6px 0 0; font-size: 15.6px; line-height: 1.45; }
.site-aside .tribe-events-widget-events-list__event-row { display: block !important; }
/* Karte immer volle Breite: die Zeile ist im Widget ein Flex-Container, kurze Titel liessen die Karte schrumpfen */
.site-aside .termin { width: 100%; flex: 1 1 100%; box-sizing: border-box; }
.site-aside .termin__kurz { font-size: 15px; }

.termine-start { margin-bottom: 24px; }
.termine-start__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.termine-start__kopf h2 { margin: 0; font-size: 26px; color: var(--laki-tanne); }
.termine-start__kopf a { font-weight: 700; white-space: nowrap; }
.termine-start__karten { display: grid; gap: 12px; grid-template-columns: 1fr; }
.termine-start .termin { margin: 0; padding: 16px 18px; }
@media (min-width: 768px) {
  .termine-start__karten { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Fusszeile ---------- */
.site-footer { background: var(--laki-flaeche); color: var(--laki-auf-flaeche); font-size: 16.1px; }
.site-footer__inner {
  max-width: var(--laki-breite); margin: 0 auto; padding: 32px var(--laki-rand);
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
.site-footer strong { display: block; color: var(--laki-auf-flaeche); margin-bottom: 2px; }
.site-footer a { color: var(--laki-auf-flaeche); font-weight: 700; }
.site-footer a:hover, .site-footer a:focus { color: var(--laki-auf-flaeche); text-decoration-thickness: 2px; }
.site-footer__logo img { height: 60px; width: auto; }
.site-footer__copy { margin: 0; color: var(--laki-auf-flaeche); font-size: 14.4px; grid-column: 1 / -1; }
@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: auto 1fr 1fr 1fr; gap: 32px; align-items: start; }
}

/* Ladebalken unter dem Kopf beim Seitenwechsel (js/neu.js setzt .seite-laedt) */
.seite-laedt .site-header::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 3px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--laki-gruen-dk) 30%, var(--laki-gruen-dk) 70%, transparent);
  background-size: 50% 100%; background-repeat: no-repeat; animation: laki-balken 1.1s ease-in-out infinite;
}
/* Desktop: Balken innerhalb der weissen Kopfzeile (unterste 3 px), nicht ueber offenen Untermenues */
@media (min-width: 992px) {
  /* -1px: liegt auf der Trennlinie des Kopfs, sonst bleibt darunter ein 1-px-Streifen; heller (Logogruen) */
  .seite-laedt .site-header::after {
    bottom: -1px;
    background-image: linear-gradient(90deg, transparent, var(--laki-gruen) 30%, var(--laki-gruen) 70%, transparent);
  }
}
@keyframes laki-balken { from { background-position: -100% 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .seite-laedt .site-header::after { animation: none; background: var(--laki-gruen-dk); opacity: .5; }
  .sub-toggle span { transition: none; }
}

/* Terminkarten (Startseite, Seitenleiste): Tickets-Knopf bzw. "Eintritt frei" oben rechts neben dem Datum */
.termin .tickets-knopf, .termin .termin__tag { position: absolute; top: 12px; right: 12px; margin: 0; z-index: 2; }
.termine-start .termin .tickets-knopf, .termine-start .termin .termin__tag { top: 16px; right: 16px; }
.termin .termin__tag { line-height: 1.4; padding-top: 6px; }
.termin__datum { padding-right: 112px; min-height: 29px; }

/* Startseite: Sprungleiste unter dem Kopfbild, klebt unter der Kopfleiste (Markierung per js/neu.js) */
.sprungleiste {
  position: sticky; top: var(--laki-kopf, 60px); z-index: 40;
  background: rgba(244, 246, 240, .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--laki-linie);
}
.sprungleiste__inner {
  max-width: var(--laki-breite); margin: 0 auto; padding: 8px var(--laki-rand);
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.sprungleiste__inner::-webkit-scrollbar { display: none; }
/* zentriert; bei zu wenig Platz trotzdem von links scrollbar (auto-Raender statt justify-content) */
.sprungleiste__inner > a:first-child { margin-left: auto; }
.sprungleiste__inner > a:last-child { margin-right: auto; }
.sprungleiste a {
  flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--laki-linie); color: var(--laki-tinte); font-weight: 700; font-size: 15px;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.sprungleiste a:hover, .sprungleiste a:focus-visible { border-color: var(--laki-gruen); color: var(--laki-gruen-dk); }
@media (max-width: 380px) {
  .sprungleiste__inner { gap: 5px; }
  .sprungleiste a { padding: 0 9px; font-size: 13.5px; }
}
.sprungleiste a.ist-aktiv { background: var(--laki-gruen-dk); border-color: var(--laki-gruen-dk); color: #fff; }
/* html hat schon scroll-padding (Kopf + 16 px), hier nur die Leiste dazu */
.home #naechste-konzerte, .home #aktuelles, .home #willkommen { scroll-margin-top: 48px; }

/* Aktuelles: am Desktop Bild links ueber die ganze Kachelhoehe (kein Weissraum darunter), Text mit Innenabstand */
@media (min-width: 768px) {
  .afterContent #recentNews article > .vc_row { display: flex; margin: 0 !important; }
  .afterContent #recentNews article > .vc_row > .vc_col-sm-4 { position: relative; padding: 0 !important; min-height: 240px; }
  .afterContent #recentNews article > .vc_row > .vc_col-sm-4 > .vc_column-inner { position: absolute; inset: 0; padding: 0 !important; }
  .afterContent #recentNews article > .vc_row > .vc_col-sm-4 :is(.wpb_wrapper, .wpb_single_image, figure, .vc_single_image-wrapper) {
    height: 100%; margin: 0 !important; padding: 0 !important;
  }
  .afterContent #recentNews article > .vc_row > .vc_col-sm-4 img { width: 100%; height: 100% !important; object-fit: cover; object-position: center 35%; }
  .afterContent #recentNews article > .vc_row > .vc_col-sm-8 { padding: 6px 24px 18px !important; }
  .afterContent #recentNews article > .vc_row > .vc_col-sm-8 p { padding-left: 0; padding-right: 0; }
}

/* Versteckter Punkt-Link zum Probenplan auf den Ensembleseiten (class="private" im Inhalt):
   sieht aus wie ein normaler Satzpunkt, bleibt klickbar */
.site-main a.private, .site-main a.private:hover, .site-main a.private:focus {
  color: inherit !important; text-decoration: none !important; cursor: inherit; font-weight: inherit;
}
.site-main a.private:focus:not(:focus-visible) { outline: none; }
