/* ==========================================================================
   AVE – Nachbau des bisherigen The7/Elementor-Designs
   ========================================================================== */

:root {
  --color-text: #8b8d94;
  --color-heading: #333;
  --color-link: #e60a3c;
  --color-accent: #b50735;
  --color-black: #000;
  --color-sand: rgba(230, 223, 217, .5);
  --color-sand-solid: #f3efec;
  --color-button: #6b6e75;
  --font-base: 'Actor', Helvetica, Arial, Verdana, sans-serif;
  --font-heading: 'Arimo', Helvetica, Arial, Verdana, sans-serif;
  --font-menu: 'Roboto', Helvetica, Arial, Verdana, sans-serif;
  --font-quote: 'PT Serif', Georgia, serif;
  --container: 1140px;
  --page: 1300px;
  --side: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* wie The7: Handy-Browser dürfen Texte nicht eigenmächtig vergrößern (Android-„Font Boosting“) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 10px; }
ul, ol { margin: 0 0 10px 20px; padding: 0; }
strong, b { font-weight: 700; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 700;
  margin: 0 0 10px;
}
h1 { font-size: 58px; line-height: 68px; }
h2 { font-size: 42px; line-height: 48px; }
h3 { font-size: 26px; line-height: 30px; }
h4 { font-size: 20px; line-height: 26px; }
h5 { font-size: 16px; line-height: 22px; }
h6 { font-size: 14px; line-height: 22px; }

.align-left   { text-align: left; }
.align-center { text-align: center; }
.align-right  { text-align: right; }

/* --------------------------------------------------------------------------
   Kopfbereich
   -------------------------------------------------------------------------- */

/* Kopfzeile fest oben; ihren Platz hält ein Platzhalter (site.js, Höhe der großen Kopfzeile). So verschiebt sich beim
   Verkleinern nichts – vorher rückte die Seite um 50–180 px, die Scrollposition sprang zurück und die Kopfzeile flackerte */
.masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
}
.masthead-spacer { height: var(--masthead-h, 140px); }
.masthead.no-anim, .masthead.no-anim * { transition: none !important; }

.masthead__bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--page);
  height: 140px;
  margin: 0 auto;
  padding: 0 var(--side);
  align-items: start;
  transition: height .2s;
}

/* Linie unter der Kopfzeile (The7 „content-width line decoration“) */
.masthead--line .masthead__bar::after,
.masthead.is-scrolled .masthead__bar::after {
  content: '';
  position: absolute;
  left: var(--side);
  right: var(--side);
  bottom: 0;
  height: 3px;
  background: #000;
}

.masthead.is-scrolled .masthead__bar { height: 90px; }
.masthead.is-scrolled .branding img { height: 70px; }

/* Logo (50-Jahre-Logo mit Schrift): so groß, wie das Menü daneben Platz lässt – 80 px (alte Seite) bis 120 px
   (Kopfzeile 140 px). Platzbedarf links/rechts gemessen; das Logo ist 2,7 × so breit wie hoch, 20 px Reserve für Scrollbalken. */
.masthead { --logo-h: clamp(80px, (100vw - 790px) / 2.7, 120px); }
.branding { display: block; padding: calc(85px - var(--logo-h) * .625) 0 0; line-height: 0; }
.masthead.is-scrolled .branding { padding: 10px 0 8px; }
.branding img { height: var(--logo-h); width: auto; max-width: none; transition: height .2s; }

.main-nav { display: flex; align-items: center; gap: 0; margin-top: 43px; }
.main-nav--right { margin-top: 39px; }
.main-nav a > span { display: inline-block; }
.masthead.is-scrolled .main-nav { margin-top: 18px; }
.main-nav--right { justify-content: flex-end; }

.main-nav a, .main-nav button.login-link {
  position: relative;
  margin: 20px 30px 10px 0;
  padding-top: 10px;
  color: #000;
  font-family: var(--font-menu);
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav--right a, .main-nav--right button.login-link { margin: 20px 0 10px 30px; }

/* Linie über dem aktiven Menüpunkt (The7 „line decoration“) */
.main-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #000;
  transform: scaleX(0);
  transition: transform .2s;
}
.main-nav a:hover::before,
.main-nav a.is-active::before { transform: scaleX(1); }

.main-nav .login-link, .main-nav button.login-link {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 26px;
  text-transform: none;
}
.main-nav .login-link::before { display: none; }
.main-nav .panel-link svg { margin-right: 6px; vertical-align: -2px; }
/* Angemeldet (Intern, Panel, Abmelden): bis 1200 px ist die Kopfzeile sonst zu breit – engere Abstände, „Panel“ nur als Stift */
@media (min-width: 951px) and (max-width: 1199px) {
  .masthead--user .main-nav--left a { margin-right: 14px; }
  .masthead--user .main-nav--right a, .masthead--user .main-nav--right button.login-link { margin-left: 14px; }
  .masthead--user .mini-search { margin-left: 14px; }
  .masthead--user .panel-link svg { margin-right: 0; }
  .masthead--user .panel-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* angemeldet ab 1200 px wieder volle Abstände und „Panel“ als Text → Menü breiter, Logo wächst erst später */
@media (min-width: 1200px) {
  .masthead--user { --logo-h: clamp(80px, (100vw - 955px) / 2.7, 120px); }
}

/* Suche: Lupe mit Popup wie The7 */
.mini-search { position: relative; align-self: flex-start; margin: 35px 0 0 21px; }
.search-toggle {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: #000;
  line-height: 0;
  cursor: pointer;
}
.popup-search {
  position: absolute;
  top: 24px;
  right: -10px;
  z-index: 60;
  display: flex;
  align-items: center;
  width: 260px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, .15);
}
.popup-search[hidden] { display: none; }
.popup-search::before {
  content: '';
  position: absolute;
  top: -7px;
  right: 20px;
  border: 7px solid transparent;
  border-top: 0;
  border-bottom-color: #fff;
  filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, .08));
}
.popup-search input {
  flex: 1;
  height: 30px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #000;
  font-family: var(--font-menu);
  font-size: 14px;
  line-height: 30px;
  outline: none;
}
.popup-search input::placeholder { color: #000; opacity: 1; }
.popup-search button { padding: 0 2px; border: 0; background: none; color: #000; line-height: 0; cursor: pointer; }

.menu-toggle { display: none; }

/* Handy-Menü (Leiste von links, wie The7) */
.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 110;
  width: 300px;
  max-width: 85vw;
  padding: 30px 30px 40px;
  overflow-y: auto;
  background: #fff;
  transform: translateX(-105%);
  transition: transform .3s ease;
  visibility: hidden;
}
.menu-open .mobile-nav { transform: none; visibility: visible; }
.mobile-nav-overlay { position: fixed; inset: 0; z-index: 105; background: rgba(0, 0, 0, .5); }
.mobile-nav-overlay[hidden] { display: none; }
.mobile-nav a, .mobile-nav button.mobile-nav__login {
  display: block;
  padding: 9.1px 25px 9.1px 0;
  color: #000;
  font-family: var(--font-menu);
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-nav a.is-active, .mobile-nav a:hover { color: var(--color-accent); }
.mobile-nav .mobile-nav__login, .mobile-nav button.mobile-nav__login { font-family: var(--font-base); font-size: 16px; line-height: 26px; padding-top: 5px; padding-bottom: 5px; text-transform: none; }
.mobile-nav__close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 5px 10px;
  border: 0;
  background: #000;
  color: #fff;
  font-family: var(--font-menu);
  font-size: 10px;
  line-height: 14px;
  text-transform: uppercase;
  cursor: pointer;
}
.mobile-nav__close span { position: relative; width: 12px; height: 12px; }
.mobile-nav__close span::before, .mobile-nav__close span::after {
  content: '';
  position: absolute;
  top: 5.5px;
  left: -1px;
  width: 14px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.mobile-nav__close span::after { transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Inhalt und Seitenleiste
   -------------------------------------------------------------------------- */

.content-wrap { padding: 0; }
.template-default .content-wrap,
.template-konzert .content-wrap,
.template-intern .content-wrap {
  max-width: var(--page);
  margin: 0 auto;
}
.content-wrap.has-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
}
.content { min-width: 0; }

/* The7-Titelbereich: 120 px, Titel mittig (PT Serif 42) */
.page-title-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--page);
  min-height: 120px;
  margin: 0 auto;
  padding: 50px 0 0;  /* The7: ohne seitlichen Abstand (lange Titel brechen erst am Rand um) */
}
.page-title-bar h1 { margin: 0; font-family: var(--font-quote); font-size: 42px; font-weight: 400; line-height: 48px; text-align: center; color: var(--color-heading); }

/* Seitenleiste wie The7 (Maße vom Original) */
.sidebar { align-self: start; background: #fff; }
.widget { padding: 35px 25px; font-size: 14px; line-height: 22px; }
.widget + .widget { border-top: 1px solid #000; }
.widget-title {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  color: var(--color-heading);
}
.widget ul { list-style: none; margin: 0; padding: 0; }

.recent-posts li { display: flex; align-items: flex-start; padding-bottom: 15px; }
.recent-posts li:last-child { padding-bottom: 0; }
.recent-posts__thumb { flex: 0 0 50px; margin: 0 15px 5px 0; line-height: 0; }
.recent-posts__thumb img { width: 50px; height: 60px; object-fit: cover; }
.recent-posts__title { color: var(--color-heading); }

.category-list li { display: flex; justify-content: space-between; }
.category-list li + li { padding-top: 5px; }
.category-list a { color: var(--color-text); }
.category-list a:hover { color: var(--color-link); text-decoration: none; }
.category-list__count { color: rgba(139, 141, 148, .5); margin-left: 10px; }

/* --------------------------------------------------------------------------
   Layout-Zeilen (ersetzt Elementor-Sektionen)
   Importierte Zeilen bringen ihre Maße als CSS-Variablen mit (siehe snippets/layout.php)
   -------------------------------------------------------------------------- */

.row {
  position: relative;
  margin: var(--mt, 0) 0 var(--mb, 0);
  padding: var(--pt, 20px) var(--pr, 0) var(--pb, 20px) var(--pl, 0);
}
.row__inner {
  display: flex;
  max-width: var(--inner-max, var(--container));
  margin: 0 auto;
  padding: var(--box-pt, 0) var(--box-pr, 0) var(--box-pb, 0) var(--box-pl, 0);
  border-radius: var(--box-radius, 0);
}
.row:not(.row--measured) > .row__inner { gap: 20px; padding-left: 10px; padding-right: 10px; }
.row--full > .row__inner { max-width: none; }

.column {
  display: flex;
  flex-direction: column;
  gap: var(--gap, 20px);
  flex: var(--span, 12) 1 0;
  min-width: 0;
  padding: var(--cpt, 0) var(--cpr, 0) var(--cpb, 0) var(--cpl, 0);
}
/* gemessene Breite (Prozent) + Abstand davor (px) passen nur bei voller Breite – darunter dürfen die Spalten schrumpfen,
   sonst ragt die Zeile über den Rand (Seite seitlich verschiebbar, z. B. Newsletter-Zeile bei 950–1100 px) */
.row--measured > .row__inner > .column { flex: 0 1 var(--w); margin-left: var(--before, 0); }
/* schmaler als der Inhaltsbereich (1140 px): gemessene Zeilen liefen bis an den Fensterrand – etwas Luft wie die übrigen Zeilen */
@media (min-width: 768px) and (max-width: 1160px) {
  .row--measured.row--boxed:not(.row--box) > .row__inner { padding-left: 10px; padding-right: 10px; }
}
.row--valign-center > .row__inner > .column { justify-content: center; }
/* Abstände je Baustein aus der alten Seite */
.column--spaced { gap: 0; }
.column--spaced > .block { margin: var(--bmt, 0) 0 var(--bmb, 0); }

.row--bg-sand { background: var(--color-sand); }
.row--box.row--bg-sand { background: none; }
.row--box.row--bg-sand > .row__inner { background: var(--color-sand); }
.row--rounded:not(.row--box) > .row__inner { background: var(--color-sand); border-radius: 0 0 48px 48px; }
.row--rounded:not(.row--box) { background: none; }

/* Formen am Rand (Elementor Shape Divider) */
.shape {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}
.shape svg { display: block; width: calc(120% + 1.3px); height: 30px; position: relative; left: 50%; transform: translateX(-50%); }
.shape path { fill: #fff; }
.shape--top { top: -1px; }
.shape--bottom { bottom: -1px; }
.shape--rotate { transform: rotate(180deg); }
.shape--split svg { height: 25px; width: 129%; }
.shape--split path { fill: rgba(230, 10, 60, .73); }
.shape--zigzag svg { height: 8px; width: 130%; }

/* --------------------------------------------------------------------------
   Bausteine
   Wie bei Elementor zählen Abstände unter Absätzen/Listen zur Bausteinhöhe,
   der Abstand zwischen Bausteinen kommt aus dem Spalten-„gap“.
   -------------------------------------------------------------------------- */

.block--heading > .heading { margin: 0; }
/* Elementor-Textspalten (Desktop), auf Tablet/Handy einspaltig */
.text-columns { column-count: var(--text-cols, 2); column-gap: 30px; }
@media (max-width: 1024px) { .text-columns { column-count: 1; } }
.block--heading > .heading--kicker { margin-bottom: 10px; } /* war ein Absatz mit 10 px Abstand */

.heading--upper { text-transform: uppercase; }
.heading--quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}
.heading--lead { font-family: var(--font-base); font-weight: 400; font-size: 26px; line-height: 1.3; color: #000; }
.heading--lead:not(.align-left):not(.align-right) { text-align: center; }
.heading--kicker { margin: 0; font-family: var(--font-menu); font-size: 13px; font-weight: 500; line-height: 20px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-link); }
/* Titel wie die Konzertankündigung (Serif, fett) – ersetzt die Arial-Großbuchstaben der alten Seite */
.heading--display { font-family: var(--font-quote); font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 1.12; color: var(--color-heading); }
/* Zitat: rotes Anführungszeichen davor */
.heading--quote::before { content: '\201C'; display: block; height: 38px; margin: 0 0 6px; font-size: 76px; line-height: 1; font-style: normal; color: var(--color-link); }

.image { margin: 0; }
.image img { width: 100%; }
.image.align-center img { margin: 0 auto; width: auto; }
.image figcaption { font-size: 14px; margin-top: 8px; }

.button-wrap { margin: 0; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 20px;
  border-radius: 2px;
  background: #69727d;
  color: #fff;
  font-family: var(--font-base);
  font-size: 13px;
  line-height: 13px;
  text-decoration: none;
  transition: background .2s;
}
.button:hover { background: var(--color-accent); color: #fff; text-decoration: none; }
.button .icon { width: 13px; height: 13px; }
/* kleine Buttons der The7-Beitragsliste („Weiter“ unter den Konzerten) */
.button--post {
  gap: 0;
  padding: 8px 10px 7px;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 10px;
  line-height: 12px;
  text-transform: uppercase;
}
.button--large { padding: 12px 24px; font-size: 16px; line-height: 18px; background: #000; }
.button--primary {
  gap: 10px; padding: 14px 26px; border-radius: 999px; background: var(--color-link);
  font-family: var(--font-menu); font-size: 15px; font-weight: 500; line-height: 18px; letter-spacing: .04em;
  transition: background .15s, transform .15s;
}
.button--primary:hover { transform: translateY(-1px); }
.button--primary .icon { width: 14px; height: 14px; }
.button--arrow {
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--color-link);
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
}
.button--arrow:hover { background: none; color: var(--color-accent); }
.button--arrow .icon { width: 14px; height: 14px; }

.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: flex; align-items: center; }
.icon-list .icon { flex: 0 0 17.5px; width: 14px; height: 14px; color: var(--color-link); }
.icon-list .icon--check { color: #000; }
.icon-list li > a, .icon-list li > span { padding-left: 5px; }
/* Darstellung „Kacheln“ (z. B. AVE-Highlights auf der Startseite) */
/* Spalten wie Mauerwerk: unterschiedlich lange Texte lassen keine Lücken */
.icon-list--tiles { columns: 3 280px; column-gap: 16px; }
.icon-list--tiles li {
  break-inside: avoid; margin: 0 0 16px;
  align-items: flex-start; gap: 16px; padding: 22px 24px; border-radius: 16px; background: #fff;
  font-size: 15px; line-height: 24px; color: #5c5a58; box-shadow: 0 10px 30px -26px rgba(38, 33, 31, .5);
}
.icon-list--tiles .icon, .icon-list--tiles .icon--check {
  flex: none; box-sizing: content-box; width: 14px; height: 14px; padding: 9px; border-radius: 50%;
  background: rgba(230, 10, 60, .1); color: var(--color-link);
}
.icon-list--tiles li > a, .icon-list--tiles li > span { padding-left: 0; }

/* Layout-Einstellung „Zeile als Karte“: wie die Konzertankündigung; ein Bild allein in einer Spalte füllt die Kartenhälfte */
.row--card { padding-top: 50px; padding-bottom: 50px; }
.row.row--card > .row__inner {
  gap: 0; padding: 0; width: calc(100% - 20px); max-width: calc(var(--container) - 20px); overflow: hidden; border-radius: 24px; background: var(--color-sand-solid);
  box-shadow: 0 18px 44px -32px rgba(38, 33, 31, .45);
}
.row--card > .row__inner > .column { padding: 48px 56px; }
.row--card > .row__inner > .column:has(> .block--image:only-child) { padding: 0; }
.row--card .column > .block--image:only-child, .row--card .column > .block--image:only-child .image,
.row--card .column > .block--image:only-child a { height: 100%; }
.row--card .column > .block--image:only-child a { display: block; }
.row--card .column > .block--image:only-child img { display: block; height: 100%; min-height: 360px; object-fit: cover; }
.row--card .block--text { color: #5c5a58; }
/* Layout-Einstellung „Spalten als Karten“: jede Spalte eine helle Karte; Bild oben randlos, Button unten */
.row.row--cards > .row__inner { gap: 28px; }
.row--cards > .row__inner > .column {
  overflow: hidden; gap: 14px; padding: 0 0 32px; border-radius: 24px; background: var(--color-sand-solid);
  box-shadow: 0 18px 44px -32px rgba(38, 33, 31, .45);
}
.row--cards > .row__inner > .column > .block { padding: 0 32px; }
.row--cards > .row__inner > .column > .block--image:first-child { padding: 0; margin-bottom: 10px; }
.row--cards > .row__inner > .column > .block--image:first-child img { display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.row--cards > .row__inner > .column > .block--image:first-child a { display: block; overflow: hidden; }
.row--cards > .row__inner > .column > .block--button:last-child { margin-top: auto; padding-top: 10px; }
.row--cards > .row__inner > .column > .block--heading + .block--heading { margin-top: -8px; }
.row--cards .block--text { font-size: 16px; line-height: 26px; color: #5c5a58; }

.divider { border: 0; border-top: 1px solid #000; margin: 0; }
.row:not(.row--measured) .divider { margin: 15px 0; }

.icon-box { display: flex; gap: 15px; align-items: flex-start; }
.icon-box__icon { flex: 0 0 auto; color: var(--color-link); }
.icon-box__icon .icon { width: 32px; height: 32px; }
.icon-box__title { font-size: 20px; line-height: 26px; margin: 0 0 5px; }
.icon-box__title a { color: var(--color-heading); }

/* Personenkarten (The7 „Testimonials“ auf der Verein-Seite) */
/* Umbruch mittig: 2 oder 4 Karten (z. B. Vorstand) stehen zentriert statt links mit Lücke */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; text-align: center; }
/* helle Karten wie auf der Startseite (01.10.2026) */
.card { display: grid; justify-items: center; align-content: start; flex: 1 1 200px; max-width: 320px; padding: 24px 18px 22px; border-radius: 16px; background: var(--color-sand-solid); }
.card .icon { box-sizing: content-box; width: 16px; height: 16px; margin: 0 0 12px; padding: 11px; border-radius: 50%; background: #fff; color: var(--color-link); }
.card__title { margin: 0 0 5px; font-size: 20px; line-height: 26px; }
.card__subtitle { margin: 0 0 5px; font-family: var(--font-heading); font-size: 14px; line-height: 22px; font-weight: 700; color: var(--color-heading); }

/* Konzertraster (The7 „Posts“-Widget) */
/* Konzertliste (Baustein „concerts“): helle Karten mit Flyer im Hochformat, Datum, Titel, Ort */
.concerts-archive { display: grid; gap: 56px; margin: 36px 0 64px; }
.concerts-group__title {
  display: flex; align-items: center; gap: 18px; margin: 0 0 24px;
  font-family: var(--font-quote); font-size: 30px; font-weight: 400; line-height: 1.2; color: var(--color-heading);
}
.concerts-group__title::after { content: ""; flex: 1; height: 1px; background: #e4ddd7; }
.concerts-group--upcoming .concerts-group__title { color: var(--color-link); }
.concert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 40px 32px; }
/* kompakte Reihe (Startseite „Bisherige Konzerte“): alle nebeneinander, auf dem Handy umbrechend und mittig */
.concert-grid--compact { display: flex; flex-wrap: wrap; justify-content: center; }
.concert-grid--compact > .concert-card { flex: 1 1 0; min-width: 0; max-width: 300px; }
.concert-card { display: flex; flex-direction: column; gap: 14px; color: var(--color-text); }
.concert-card:hover { text-decoration: none; }
.concert-card__image {
  display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--color-sand-solid);
  box-shadow: 0 16px 30px -24px rgba(38, 33, 31, .7);
}
.concert-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.concert-card:hover .concert-card__image img { transform: scale(1.03); }
.concert-card__body { display: grid; gap: 4px; }
.concert-card__date { font-family: var(--font-menu); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--color-link); }
.concert-card__title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--color-heading); transition: color .15s; }
.concert-card:hover .concert-card__title { color: var(--color-link); }
.concert-card__venue { font-size: 14px; line-height: 20px; }

/* Karte mit Zwei-Klick-Lösung (01.10.2026 modernisiert): bis zur Einwilligung ein heller Kasten mit Adresse,
   „Karte anzeigen“ und Routen-Link; danach die Karte, 400 px hoch, runde Ecken */
.map { position: relative; width: 100%; overflow: hidden; border-radius: 16px; background: var(--color-sand-solid); }
.map.is-loaded { height: 400px; background: #e9efe3; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__notice { display: flex; align-items: flex-start; gap: 18px; padding: 24px 28px; }
.map__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--color-link); }
.map__body { min-width: 0; }
.map__address { margin: 0 0 4px; color: var(--color-heading); font-size: 17px; line-height: 26px; }
.map__hint { margin: 0 0 14px; font-size: 14px; line-height: 22px; }
.map__hint a { color: inherit; text-decoration: underline; }
.map__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0; }
.map__actions button {
  padding: 11px 22px; border: 0; border-radius: 999px; background: var(--color-link); color: #fff;
  font-family: var(--font-menu); font-size: 14px; font-weight: 500; letter-spacing: .04em; cursor: pointer; transition: background .15s;
}
.map__actions button:hover { background: var(--color-accent); }
.map__actions a { color: var(--color-heading); font-size: 15px; }
.map__actions a:hover { color: var(--color-link); text-decoration: underline; }
.consent-manager { padding: 22px 26px; border-radius: 16px; background: var(--color-sand-solid); }
.consent-manager p { margin: 0 0 12px; }
.consent-manager p:last-child { margin: 0; }

.video { margin: 0; }
.video video, .video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.video video, .video iframe { border-radius: 16px; }
/* externes Video erst nach Klick: heller Kasten wie bei der Karte (keine dunklen Flächen) */
.video__consent { aspect-ratio: 16 / 9; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; border-radius: 16px; background: var(--color-sand-solid); color: var(--color-text); font-size: 14px; }
.video__consent p { max-width: 420px; margin: 0; }
.video__consent button { padding: 11px 22px; border: 0; border-radius: 999px; background: var(--color-link); color: #fff; font-family: var(--font-menu); font-size: 14px; font-weight: 500; cursor: pointer; }
.video__consent button:hover { background: var(--color-accent); }

.audio { margin: 0 0 10px; }
.audio figcaption { margin-bottom: 5px; }
.audio audio { width: 100%; }

.audio figcaption { font-weight: 700; color: var(--color-heading); }

/* Audio-Player (hell, seit 01.10.2026 – vorher dunkel wie der WordPress-Player MediaElement):
   runder roter Abspielknopf, schmale Fortschrittsleiste, Lautstärke rechts */
.player__bar {
  display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 16px 0 6px; box-sizing: border-box;
  border: 1px solid #e6dfd9; border-radius: 999px; background: #fff;
  color: var(--color-text); font-family: var(--font-base); font-size: 13px; font-variant-numeric: tabular-nums;
}
.player__bar[hidden] { display: none; }
.player__play, .player__mute { position: relative; flex: none; padding: 0; border: 0; cursor: pointer; }
.player__play { width: 36px; height: 36px; border-radius: 50%; background: var(--color-link); transition: background .15s, transform .15s; }
.player__play:hover { background: var(--color-accent); transform: scale(1.05); }
.player__play span {
  position: absolute; top: 11px; left: 14px;
  border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff;
}
.is-playing .player__play span { top: 11px; left: 12px; width: 12px; height: 14px; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; }
/* Lautsprecher mit Schallwellen; stumm = durchgestrichen */
.player__mute { width: 28px; height: 36px; background: none; }
.player__mute span { position: absolute; top: 10px; left: 6px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 5.5h3.2L8.5 2v12L4.2 10.5H1z' fill='%23555'/%3E%3Cpath d='M10.6 5.2a3.6 3.6 0 0 1 0 5.6M12.4 3.2a6.2 6.2 0 0 1 0 9.6' fill='none' stroke='%23555' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
.is-muted .player__mute span { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 5.5h3.2L8.5 2v12L4.2 10.5H1z' fill='%23555'/%3E%3Cpath d='M10.5 5.5l4 5M14.5 5.5l-4 5' stroke='%23555' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.player__time { flex: 0 0 40px; text-align: center; }
.player__rail { position: relative; flex: 1; height: 6px; margin: 0 4px; border-radius: 3px; background: #ece6e1; cursor: pointer; overflow: hidden; }
.player__loaded { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(38, 33, 31, .08); }
.player__progress { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: var(--color-link); }
.player__volume { position: relative; flex: 0 0 50px; height: 6px; border-radius: 3px; background: #ece6e1; cursor: pointer; overflow: hidden; }
.player__volume-level { position: absolute; inset: 0 auto 0 0; width: 100%; background: #8b8580; }

/* Hörbeispiele (Konzertseite): Text-Baustein + direkt folgender Audio-Baustein als eine helle Karte */
.column--spaced > .block--text:has(+ .block--audio), .block--text:has(+ .block--audio) {
  margin-bottom: 0; padding: 20px 22px 10px; border-radius: 16px 16px 0 0; background: var(--color-sand-solid);
}
.block--text:has(+ .block--audio) p { margin: 0; }
.block--text:has(+ .block--audio) strong { color: var(--color-heading); font-size: 17px; }
.column--spaced > .block--text:has(+ .block--audio) + .block--audio, .block--text:has(+ .block--audio) + .block--audio {
  margin-top: 0; margin-bottom: 18px; padding: 4px 22px 20px; border-radius: 0 0 16px 16px; background: var(--color-sand-solid);
}
.block--text:has(+ .block--audio) + .block--audio .audio { margin: 0; }
/* Seite „Konzerte“: Überschriften im Inhalt (z. B. „Hörbeispiele“) wie die Jahresgruppen der Konzertliste */
.template-konzerte .block--heading > h2.heading:not([data-typo]) {
  display: flex; align-items: center; gap: 18px; margin: 0;
  font-family: var(--font-quote); font-size: 30px; font-weight: 400; line-height: 1.2; color: var(--color-heading);
}
.template-konzerte .block--heading > h2.heading:not([data-typo])::after { content: ""; flex: 1; height: 1px; background: #e4ddd7; }
@media (max-width: 600px) {
  .player__mute, .player__volume { display: none; }
  .player__bar { padding-right: 12px; }
  .block--text:has(+ .block--audio) { padding: 16px 16px 8px; }
  .column--spaced > .block--text:has(+ .block--audio) + .block--audio, .block--text:has(+ .block--audio) + .block--audio { padding: 4px 12px 14px; }
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.accordion details { border-bottom: 1px solid #ddd; }
.accordion summary { padding: 12px 0; cursor: pointer; font-family: var(--font-heading); font-weight: 700; color: var(--color-heading); }
.accordion__content { padding-bottom: 20px; }

.placeholder-box { padding: 20px; border: 1px dashed #ccc; font-size: 14px; background: #fafafa; }

/* Newsletter (wie das Plugin „Newsletter“ mit eigenem CSS) */
.newsletter-form { margin: 0; }
.newsletter-form--form { max-width: 500px; margin-left: 20px; }
.newsletter-form--page { max-width: 500px; margin: 0 auto; }
/* hell und rund wie die Konzertankündigung (01.10.2026) */
.newsletter-form input[type=email] {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0 0 14px;
  padding: 0 22px;
  border: 1px solid #ddd5ce;
  border-radius: 999px;
  background: #fff;
  color: var(--color-heading);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 22px;
  transition: border-color .15s, box-shadow .15s;
}
.newsletter-form input[type=email]::placeholder { color: var(--color-text); opacity: 1; }
.newsletter-form input[type=email]:focus { outline: none; border-color: var(--color-link); box-shadow: 0 0 0 3px rgba(230, 10, 60, .15); }
.newsletter-form__privacy { display: flex; align-items: center; gap: 10px; margin: 0 0 18px 6px; font-size: 14px; line-height: 20px; }
.newsletter-form__privacy input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--color-link); }
.newsletter-form__privacy a { color: var(--color-text); font-size: 14px; text-decoration: none; }
.newsletter-form__privacy a:hover { color: var(--color-link); text-decoration: underline; }
.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--color-link);
  color: #fff;
  font-family: var(--font-menu);
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.newsletter-form button:hover { background: var(--color-accent); transform: translateY(-1px); }
/* Honigtopf-Feld gegen Spam-Bots: für Menschen unsichtbar */
.newsletter-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter-form--unsubscribe { margin: 30px 0; }
.newsletter-message { max-width: 500px; margin: 0 auto; }
.newsletter-message--error { margin-bottom: 20px; color: var(--color-link); }
.newsletter-message > :last-child { margin-bottom: 0; }
.newsletter-message__next { margin: 30px 0 0; }
.newsletter-message__next a {
  display: block;
  padding: 9px 18px;
  background: #000;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}
.newsletter-message__next a:hover { background: var(--color-accent); color: #fff; text-decoration: none; }

/* Blättern zwischen Konzerten (The7-Beitragsnavigation, Maße vom Original) */
.post-nav {
  display: flex;
  justify-content: space-between;
  margin: 50px 0 0;
  padding: 25px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.post-nav > a, .post-nav > span { flex: 1 1 0; display: flex; align-items: center; min-width: 0; }
.post-nav__prev { margin-right: 30px; }
.post-nav__next { margin-left: 30px; justify-content: flex-end; text-align: right; }
.post-nav svg { flex: 0 0 32px; color: rgba(51, 51, 51, .12); transition: color .2s; }
.post-nav__prev svg { margin-right: 3px; }
.post-nav__next svg { margin-left: 3px; }
.post-nav a:hover { text-decoration: none; }
.post-nav a:hover svg { color: var(--color-link); }
.post-nav__text { display: flex; flex-direction: column; min-width: 0; }
.post-nav__label { margin: 0 0 5px; color: #b4b5bb; font-size: 12px; line-height: 18px; text-transform: uppercase; }
.post-nav__title { color: var(--color-heading); font-family: var(--font-heading); font-size: 20px; font-weight: 700; line-height: 26px; }
.post-nav a:hover .post-nav__title { color: var(--color-link); }
/* schmale Handys (The7 ≤ 500 px): untereinander, mittig, Pfeile am Rand */
@media (max-width: 500px) {
  .post-nav { flex-direction: column; padding: 25px 0 0; }
  .post-nav > span:empty { display: none; }
  .post-nav > a { position: relative; flex-direction: column; justify-content: center; margin: 0 0 25px; text-align: center; }
  .post-nav svg { position: absolute; top: 8px; margin: 0; }
  .post-nav__prev svg { left: 0; }
  .post-nav__next svg { right: 0; }
  .post-nav__text { align-items: center; }
}

/* Kategoriearchiv (The7-Blogarchiv, Maße vom Original) */
.archive { max-width: var(--page); margin: 0 auto; padding: 0; }
.masonry { position: relative; margin: -10px -10px 0; }
.masonry__item { width: 33.333%; padding: 10px; }
.masonry.is-ready .masonry__item { position: absolute; }
/* The7: bis 1024 px ohne negativen Rand – Text 10 px vom Rand (Kategoriearchiv, Suche) */
@media (max-width: 1024px) { .masonry { margin: 0; } }
.archive-post__image { display: block; margin: 0 0 20px; line-height: 0; }
.archive-post__image img { width: 100%; height: auto; }
.archive-post__image:hover img { opacity: .8; }
.archive-post__title { margin: 0 0 10px; font-size: 20px; line-height: 26px; }
.archive-post__title a { color: var(--color-heading); }
.archive-post__title a:hover { color: var(--color-link); text-decoration: none; }
.archive-post__meta { padding: 0 0 10px; font-size: 12px; line-height: 18px; color: #b4b5bb; }
.archive-post__meta a { color: #b4b5bb; }
.archive-post__meta a:hover { color: var(--color-link); text-decoration: none; }
.archive-post__cats { position: relative; margin-right: 6px; padding-right: 9px; }
.archive-post__cats::after { content: ''; position: absolute; top: 50%; right: 0; width: 3px; height: 3px; margin-top: -1px; border-radius: 50%; background: #b4b5bb; }
.paginator { display: flex; justify-content: center; margin: 40px 0 0; }
.paginator a { margin: 0 6px; padding: 1px 8px; color: var(--color-heading); font-size: 16px; line-height: 26px; }
.paginator a.is-active { box-shadow: inset 0 -2px 0 var(--color-link); }
.paginator a:hover { color: var(--color-link); text-decoration: none; }

/* Suche: schlichte Trefferliste im Stil der Seite (Eingabefeld/Button wie beim Newsletter) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-page { max-width: 840px; margin: 0 auto; padding: 0 var(--side) 70px; }
.search-box { display: flex; }
.search-box input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-right: 0;
  border-radius: 0;
  background: #f4f4f4;
  color: #444;
  font-family: var(--font-base);
  font-size: 18px;
  -webkit-appearance: none;
  appearance: none;
}
.search-box input:focus { outline: none; border-color: #000; background: #fff; }
.search-box input::placeholder { color: var(--color-text); opacity: 1; }
.search-box button {
  flex: none;
  padding: 0 28px;
  border: 0;
  background: #000;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}
.search-box button:hover { background: var(--color-accent); }
.search-count { margin: 22px 0 12px; font-size: 14px; line-height: 22px; color: var(--color-text); }
.search-empty p + p { margin-top: 6px; }
.search-results { margin: 0; padding: 0; list-style: none; border-top: 1px solid #000; }
.search-result { border-bottom: 1px solid #e3e3e3; }
.search-result__link { display: flex; gap: 24px; padding: 22px 0; color: inherit; }
.search-result__link:hover { text-decoration: none; }
.search-result__link:hover .search-result__title { color: var(--color-link); }
.search-result__image {
  flex: 0 0 160px;
  height: 160px;
  display: grid;
  place-items: center;
  background: var(--color-sand-solid);
  color: #b9aea4;
  overflow: hidden;
}
.search-result__image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.search-result__link:hover .search-result__image img { opacity: .85; }
.search-result__body { display: flex; flex-direction: column; min-width: 0; }
.search-result__type { font-size: 12px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-link); }
.search-result__title { margin: 2px 0 4px; font-family: var(--font-heading); font-size: 20px; font-weight: 700; line-height: 26px; color: var(--color-heading); transition: color .2s; }
.search-result__meta { font-size: 14px; line-height: 22px; color: var(--color-heading); }
.search-result__excerpt { margin-top: 4px; font-size: 15px; line-height: 24px; color: var(--color-text); }
.search-result mark { padding: 0 1px; background: rgba(230, 10, 60, .12); color: var(--color-heading); }
@media (max-width: 600px) {
  .search-page { padding: 0 20px 50px; }
  .search-box input { height: 46px; font-size: 16px; }
  .search-box button { padding: 0 18px; }
  .search-result__link { gap: 14px; padding: 18px 0; }
  .search-result__image { flex-basis: 100px; height: 100px; }
  .search-result__image svg { width: 24px; height: 24px; }
  .search-result__title { font-size: 17px; line-height: 22px; }
  .search-result__excerpt { font-size: 14px; line-height: 22px; }
}

/* „Weitere Artikel“ unter Konzerten (The7 related posts, Maße vom Original) */
.related-posts { margin-top: 50px; padding-bottom: 35px; }
.related-posts h3 { margin: 0 0 30px; }
/* Spaltenabstand per gap statt negativem Rand – der ragte bei 780–1000 px über den Seitenrand */
.related-posts__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; margin: 0 0 -25px; }
.related-posts__item { display: flex; align-items: flex-start; min-width: 0; padding: 0 0 25px; }
.related-posts__thumb { flex: 0 0 110px; margin: 5px 20px 5px 0; line-height: 0; }
.related-posts__thumb img { width: 110px; height: 80px; object-fit: cover; }
.related-posts__title { color: var(--color-heading); }
.related-posts__title:hover { color: var(--color-link); text-decoration: none; }

/* The7 „Footer overlap“: Fußzeile liegt fest hinter der Seite und wird am Ende freigelegt */
#main { position: relative; z-index: 2; background: #fff; margin-bottom: 60px; }
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 60px;
  background: #fff;
}
.bottom-bar__inner {
  max-width: var(--page);
  height: 60px;
  margin: 0 auto;
  padding: 10px var(--side);
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 18px;
  color: #000;
}
/* Hinweis auf Kirby (Bitte von Kirby beim Lizenzrabatt, 05.10.2026) */
.bottom-bar__sep { margin: 0 .5em; }
.bottom-bar__credit { color: inherit; text-decoration: none; }
.bottom-bar__credit:hover, .bottom-bar__credit:focus-visible { text-decoration: underline; }

.scroll-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .2);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--color-accent); }

/* --------------------------------------------------------------------------
   Tablet & Handy
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .content-wrap.has-sidebar { grid-template-columns: 1fr; gap: 0; }
  .sidebar { margin-top: 60px; }
  .sidebar--hide-mobile { display: none; }
}

@media (max-width: 950px) {
  /* Handy-Kopfzeile wie The7: Menü links, Logo, Lupe rechts, Linie unten.
     Das Logo füllt die Breite dazwischen (höchstens 600 px) – die Kopfzeile wächst mit (live gemessen 320–950 px) */
  .masthead__bar { height: auto; padding: 0 30px 3px; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .masthead--line .masthead__bar::after, .masthead.is-scrolled .masthead__bar::after { left: 30px; right: 30px; }
  .main-nav--left { display: none; }
  .main-nav--right { margin-top: 0; justify-content: flex-end; }
  .main-nav--right > a, .main-nav--right > .logout-form { display: none; }
  .mini-search { margin: 0; align-self: center; }
  .branding { padding: 10px 0 8px; justify-self: center; min-width: 0; }
  .branding img { width: 600px; height: auto; max-width: 100%; }
  .menu-toggle {
    display: block;
    position: relative;
    justify-self: start;
    flex: none;
    width: 40px;
    height: 21px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-toggle span { position: absolute; left: 0; width: 40px; height: 1px; background: #000; }
  .menu-toggle span:nth-child(1) { top: 5px; }
  .menu-toggle span:nth-child(2) { top: 10px; }
  .menu-toggle span:nth-child(3) { top: 15px; }
  /* beim Scrollen kompakt (60 px) */
  .masthead.is-scrolled .masthead__bar { height: 60px; }
  .masthead.is-scrolled .branding { padding: 5px 0 0; }
  .masthead.is-scrolled .branding img { width: auto; height: 50px; }
}

@media (max-width: 778px) {
  /* früher (The7) je Seite wahlweise mit 10 px grauem Rand – seit 06.10.2026 überall ohne Rand (Schalter entfernt) */
  body { background: #f7f7f7; }
  .masthead { background: #fff; }
  /* Kopfzeile als Flex-Reihe: Menü (40 + 10), Logo schrumpft auf den Rest, Lupe (10 + 16) */
  .masthead__bar { display: flex; justify-content: space-between; }
  .menu-toggle { margin-right: 10px; }
  .main-nav--right { flex: none; margin-left: 10px; }
  .branding { flex: 0 1 auto; }
  #main { margin-bottom: 0; }
  .page-title-bar { min-height: 90px; }
  .page-title-bar h1 { font-size: 26px; line-height: 30px; }
  /* .row--m-bleed (Import: Abschnitt ging über den 10-px-Rand hinaus) braucht ohne Rand nichts mehr */
  /* Fußzeile auf dem Handy normal am Seitenende, mittig */
  .bottom-bar { position: static; height: 60px; }
  .bottom-bar__inner { justify-content: center; padding: 10px 20px; }
}

@media (max-width: 767px) {
  /* gemessene Handy-Schrift (siehe Ave\\Typo): überschreibt den Inline-Stil vom Desktop */
  [data-typo][style*="--m-font-family:"] { font-family: var(--m-font-family) !important; }
  [data-typo][style*="--m-font-size:"] { font-size: var(--m-font-size) !important; }
  [data-typo][style*="--m-font-weight:"] { font-weight: var(--m-font-weight) !important; }
  [data-typo][style*="--m-font-style:"] { font-style: var(--m-font-style) !important; }
  [data-typo][style*="--m-line-height:"] { line-height: var(--m-line-height) !important; }
  [data-typo][style*="--m-color:"] { color: var(--m-color) !important; }
  [data-typo][style*="--m-text-transform:"] { text-transform: var(--m-text-transform) !important; }
  [data-typo][style*="--m-letter-spacing:"] { letter-spacing: var(--m-letter-spacing) !important; }
  [data-typo][style*="--m-text-align:"] { text-align: var(--m-text-align) !important; }
  .row { margin: var(--m-mt, 0) 0 var(--m-mb, 0); padding: var(--m-pt, 16px) var(--m-pr, 16px) var(--m-pb, 16px) var(--m-pl, 16px); }
  .row__inner { flex-direction: column; max-width: none; padding: var(--m-box-pt, 0) var(--m-box-pr, 0) var(--m-box-pb, 0) var(--m-box-pl, 0); border-radius: var(--m-box-radius, var(--box-radius, 0)); }
  .row--m-reverse > .row__inner { flex-direction: column-reverse; }
  .row:not(.row--measured) > .row__inner { padding: 0; }
  .row > .row__inner > .column,
  .row--measured > .row__inner > .column { flex: none; width: 100%; margin-left: 0; gap: var(--m-gap, 20px); padding: var(--m-cpt, 0) var(--m-cpr, 0) var(--m-cpb, 0) var(--m-cpl, 0); }
  .row--measured > .row__inner > .column { margin-top: var(--m-before, 0); }
  .row:not(.row--measured) > .row__inner > .column + .column { margin-top: 20px; }
  /* gemessene Abstände enthalten den Elementor-Abstand schon – wie am Desktop kein zusätzlicher gap */
  .row > .row__inner > .column--spaced { gap: 0; }
  .column--spaced > .block { margin: var(--m-bmt, var(--bmt, 0)) 0 var(--m-bmb, var(--bmb, 0)); }
  .concerts-archive { gap: 40px; margin: 24px 0 44px; }
  .concerts-group__title { font-size: 24px; margin-bottom: 18px; }
  .concert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .concert-grid--compact { gap: 26px 14px; }
  .concert-grid--compact > .concert-card { flex: 0 0 calc(50% - 7px); }
  .concert-card { gap: 10px; }
  .concert-card__title { font-size: 15px; }
  .concert-card__venue { font-size: 13px; line-height: 18px; }
  /* Handy: ohne negativen Rand, sonst ragt der Block 25 px über die Seite hinaus (Fehlersuche, Befund 5) */
  .related-posts__grid { grid-template-columns: 1fr; margin: 0 0 -25px; }
  .related-posts__item { padding: 0 0 25px; }
  /* lange Wörter in großen Überschriften trennen statt abschneiden (Befund 6) */
  h1, h2, h3, .album-head__title, .upcoming-hero__title { hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }
  /* wie das The7-Karussell: eine Karte sichtbar, seitlich wischen */
  .cards { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 100%; max-width: none; scroll-snap-align: start; }
  .bottom-bar__inner { padding: 10px 20px; }
  /* Elementor-Handy-Einstellung des Newsletter-Widgets: kein Einzug, 32 px nach oben (Formular selbst 16 px Abstand) */
  .newsletter-form--form { margin: -16px 0 0; }
}

/* --------------------------------------------------------------------------
   Mitgliederbereich
   -------------------------------------------------------------------------- */


.divider--zigzag {
  height: 12px;
  border: 0;
  margin: 0;
  background: linear-gradient(135deg, transparent 50%, #ccc 50%, #ccc calc(50% + 1px), transparent calc(50% + 1px)) 0 0 / 12px 12px repeat-x,
              linear-gradient(45deg, transparent 50%, #ccc 50%, #ccc calc(50% + 1px), transparent calc(50% + 1px)) 0 0 / 12px 12px repeat-x;
}

.termine { overflow-x: auto; }
.termine table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.termine th, .termine td { padding: 6px 10px; border: 1px solid #ddd; text-align: left; vertical-align: top; }
.termine th { background: var(--color-sand); color: var(--color-heading); font-family: var(--font-heading); font-size: 14px; }
.termine td:first-child, .termine td:nth-child(2) { white-space: nowrap; }

.access-denied { text-align: center; padding: 20px 0 40px; }
.access-denied p + p { margin-top: 16px; }

.accordion summary::marker { color: var(--color-link); }
.accordion .block + .block, .accordion__content > * + * { margin-top: 20px; }

/* Bild-Upload */
.upload-form { display: grid; gap: 14px; max-width: 640px; }
.upload-form__drop {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 2px dashed #c9c9c9;
  background: #fafafa;
  cursor: pointer;
}
.upload-form__drop:hover { border-color: var(--color-link); }
.upload-form__label { font-family: var(--font-heading); font-weight: 700; color: var(--color-heading); }
.upload-form__hint { font-size: 13px; }
.upload-form__selected { margin: 0; font-size: 14px; color: var(--color-heading); }
.upload-form__selected.is-error { color: var(--color-accent); }
.upload-form__note { display: grid; gap: 4px; font-size: 14px; color: var(--color-heading); }
.upload-form__note input { height: 40px; padding: 0 12px; border: 1px solid #000; font: inherit; }
.upload-form__consent { font-size: 13px; line-height: 20px; margin: 0; }
.upload-form__progress { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; color: var(--color-heading); }
.upload-form__progress::before { content: ''; flex: none; width: 18px; height: 18px; border: 2px solid #e4ddd7; border-top-color: var(--color-link); border-radius: 50%; animation: upload-spin .8s linear infinite; }
.upload-form__progress.is-done::before { display: none; }
.upload-form__bar { width: 100%; height: 8px; border: 0; border-radius: 999px; background: #e4ddd7; overflow: hidden; -webkit-appearance: none; appearance: none; }
.upload-form__bar::-webkit-progress-bar { background: #e4ddd7; border-radius: 999px; }
.upload-form__bar::-webkit-progress-value { background: var(--color-link); border-radius: 999px; transition: width .3s; }
.upload-form__bar::-moz-progress-bar { background: var(--color-link); border-radius: 999px; }
.upload-form button[disabled] { opacity: .6; cursor: progress; }
@keyframes upload-spin { to { transform: rotate(360deg); } }
.upload-form button {
  justify-self: start;
  padding: 12px 24px;
  border: 0;
  background: #000;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}
.upload-form button:hover { background: var(--color-accent); }
.upload-form__message { padding: 10px 14px; }
.upload-form__message--success { background: #e8f4ea; color: #1d5e2a; }
.upload-form__message--warning { background: #fff4e0; color: #7a4b00; }
.upload-form__message--error { background: #fde8ec; color: var(--color-accent); }

/* --------------------------------------------------------------------------
   Mitgliederbereich (bewusst moderner als das The7-Original)
   -------------------------------------------------------------------------- */

.member { --m-line: #ece6e0; --m-soft: #f7f3ef; --m-radius: 14px; max-width: 1140px; margin: 0 auto; padding: 40px var(--side) 80px; }
.member-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px 28px; border-radius: 16px; background: var(--m-soft); }
.member-hero__title { margin: 0; font-family: var(--font-quote); font-size: 30px; font-weight: 400; line-height: 36px; color: var(--color-heading); }
.member-hero__lead { margin: 2px 0 0; font-size: 15px; line-height: 22px; }
.member-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.member-nav a { padding: 7px 15px; border: 1px solid var(--m-line); border-radius: 999px; background: #fff; color: var(--color-heading); font-size: 14px; line-height: 20px; transition: border-color .15s, color .15s; }
.member-nav a:hover { border-color: var(--color-link); color: var(--color-link); text-decoration: none; }

.member-section { margin-top: 64px; scroll-margin-top: 170px; }
.member-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.member-section__head .member-section__title { margin: 0; }
.member-section__title { margin: 0 0 20px; font-size: 28px; line-height: 34px; color: var(--color-heading); }
.member-empty { margin: 0; color: var(--color-text); }

/* Termine */
.dates { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.date-card { display: flex; align-items: flex-start; gap: 20px; padding: 18px 20px; border: 1px solid var(--m-line); border-radius: var(--m-radius); background: #fff; }
.date-card--next { border-color: rgba(230, 10, 60, .35); box-shadow: 0 6px 24px rgba(51, 51, 51, .07); }
.date-card__badge { flex: 0 0 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 72px; border-radius: 12px; background: var(--m-soft); }
.date-card--next .date-card__badge { background: var(--color-link); color: #fff; }
.date-card__day { font-family: var(--font-heading); font-size: 22px; font-weight: 700; line-height: 26px; color: var(--color-heading); white-space: nowrap; }
.date-card__month { font-size: 12px; line-height: 16px; letter-spacing: .08em; color: var(--color-link); }
.date-card--next .date-card__day, .date-card--next .date-card__month { color: #fff; }
.date-card__body { display: flex; flex-direction: column; min-width: 0; padding-top: 2px; }
.date-card__label { align-self: flex-start; margin-bottom: 4px; padding: 1px 8px; border-radius: 999px; background: rgba(230, 10, 60, .1); color: var(--color-link); font-size: 12px; line-height: 20px; }
.date-card__title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; line-height: 24px; color: var(--color-heading); }
.date-card__meta { margin-top: 2px; font-size: 15px; line-height: 22px; color: var(--color-heading); }
.date-card__place { font-size: 15px; line-height: 22px; }
.dates-past { margin-top: 14px; }
.dates-past summary { display: inline-block; cursor: pointer; font-size: 14px; color: var(--color-text); }
.dates-past summary:hover { color: var(--color-link); }
.dates-past ul { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 24px; }
.dates-past li span { display: inline-block; min-width: 92px; color: var(--color-heading); }

/* Noten / Dokumente */
.member-filter input { width: 260px; max-width: 100%; height: 40px; padding: 0 14px; border: 1px solid var(--m-line); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; color: var(--color-heading); -webkit-appearance: none; appearance: none; }
.member-filter input:focus { outline: none; border-color: var(--color-link); }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.file-tile { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border: 1px solid var(--m-line); border-radius: var(--m-radius); background: #fff; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.file-tile:hover { border-color: rgba(230, 10, 60, .4); box-shadow: 0 6px 20px rgba(51, 51, 51, .08); transform: translateY(-1px); text-decoration: none; }
.file-tile__icon { flex: 0 0 42px; height: 50px; display: grid; place-items: center; border-radius: 8px; background: rgba(230, 10, 60, .09); color: var(--color-link); font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.file-tile__text { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.file-tile__title { color: var(--color-heading); font-size: 15px; line-height: 21px; }
.file-tile__meta { font-size: 13px; line-height: 20px; }
.file-tile__action { flex: none; color: #c8bfb7; transition: color .15s; }
.file-tile:hover .file-tile__action { color: var(--color-link); }

/* Noten als kompakte Liste: zwei Spalten, von oben nach unten gelesen */
.file-list { columns: 2; column-gap: 40px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--m-line); }
.file-row { break-inside: avoid; border-bottom: 1px solid var(--m-line); }
.file-row[hidden] { display: none; }
.file-row a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; color: var(--color-heading); transition: background .15s, color .15s; }
.file-row a:hover { background: var(--m-soft); color: var(--color-link); text-decoration: none; }
.file-row .icon { flex: none; width: 18px; height: 18px; color: var(--color-link); }
.file-row__title { flex: 1; min-width: 0; font-size: 15px; line-height: 22px; }
.file-row__size { flex: none; font-size: 12px; line-height: 18px; color: var(--color-text); }

/* Alben */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.album-card { display: flex; flex-direction: column; color: inherit; }
.album-card:hover { text-decoration: none; }
.album-card__cover { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--m-radius); background: var(--m-soft); color: #c8bfb7; }
.album-card__cover { position: relative; }
.album-card__cover img, .album-card__cover video { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; pointer-events: none; }
.album-card:hover .album-card__cover img, .album-card:hover .album-card__cover video { transform: scale(1.04); }
.album-card__play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; padding-left: 3px; }
.album-card__title { margin-top: 12px; font-family: var(--font-heading); font-size: 17px; font-weight: 700; line-height: 23px; color: var(--color-heading); transition: color .15s; }
.album-card:hover .album-card__title { color: var(--color-link); }
.album-card__meta { font-size: 14px; line-height: 22px; }

/* Upload im Mitgliederbereich */
.member .upload-form { max-width: none; padding: 28px; border-radius: var(--m-radius); background: var(--m-soft); scroll-margin-top: 170px; }
.member .upload-form__drop { border-radius: 12px; background: #fff; }
.member .upload-form__drop input[type=file] { font-size: 14px; color: var(--color-text); }
.member .upload-form__drop input[type=file]::file-selector-button { margin-right: 14px; padding: 9px 18px; border: 0; border-radius: 999px; background: #000; color: #fff; font-family: var(--font-heading); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: background .15s; }
.member .upload-form__drop input[type=file]::file-selector-button:hover { background: var(--color-accent); }
.member .upload-form__note input { border-color: var(--m-line); border-radius: 8px; }
.member .upload-form button { justify-self: start; border-radius: 999px; padding-left: 28px; padding-right: 28px; }

/* Albumseite */
.member-back { display: inline-block; margin-bottom: 18px; color: var(--color-text); font-size: 14px; }
.member-back:hover { color: var(--color-link); text-decoration: none; }
.album-head__title { margin: 0; font-family: var(--font-quote); font-size: 40px; font-weight: 400; line-height: 1.15; color: var(--color-heading); }
.album-head__meta { margin: 6px 0 0; }
.album-head__text { max-width: 680px; margin-top: 12px; }
.album-media { display: grid; gap: 20px; max-width: 900px; margin-top: 32px; }
.album-media .video video { width: 100%; border-radius: var(--m-radius); background: #000; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.photo-grid a { display: block; overflow: hidden; border-radius: 10px; background: var(--m-soft); }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .3s, opacity .2s; }
.photo-grid a:hover img { transform: scale(1.04); }

/* Großansicht (Lightbox) */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(17, 17, 17, .94); touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: calc(100vw - 140px); max-height: calc(100vh - 110px); border-radius: 6px; user-select: none; }
.lightbox button, .lightbox a { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .15s; }
.lightbox button:hover, .lightbox a:hover { background: rgba(255, 255, 255, .22); text-decoration: none; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__download { top: 16px; right: 76px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; top: 28px; left: 24px; color: rgba(255, 255, 255, .7); font-size: 14px; }

@media (max-width: 767px) {
  .member { padding: 20px 16px 60px; }
  .member-hero { padding: 18px 16px; }
  .member-hero__title { font-size: 26px; line-height: 32px; }
  /* Sprung-Buttons in einer Zeile zum Wischen */
  .member-nav { flex-wrap: nowrap; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
  .member-nav::-webkit-scrollbar { display: none; }
  .member-nav a { flex: none; }
  .member-section { margin-top: 48px; scroll-margin-top: 90px; }
  .member-section__title { font-size: 24px; line-height: 30px; }
  .date-card { gap: 14px; padding: 14px; }
  .date-card__badge { flex-basis: 60px; height: 60px; }
  .date-card__day { font-size: 19px; }
  .member-filter, .member-filter input { width: 100%; }
  .file-list { columns: 1; }
  .file-row a { padding: 12px 6px; }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .album-card__title { overflow-wrap: anywhere; hyphens: auto; }
  .album-card__title { font-size: 15px; line-height: 20px; }
  .album-card__meta { font-size: 13px; }
  .member .upload-form { padding: 18px; scroll-margin-top: 90px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .photo-grid a { border-radius: 4px; }
  .lightbox__img { max-width: 100vw; max-height: calc(100vh - 140px); border-radius: 0; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; margin: 0; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
}

/* Testversion auf dem Server (ave.testmode) */
.testmode-badge { position: fixed; left: 12px; bottom: 12px; z-index: 300; padding: 4px 10px; border-radius: 999px; background: #1d5e2a; color: #fff; font-size: 12px; line-height: 18px; letter-spacing: .04em; pointer-events: none; }

/* ------------------------------------------------------------------
   Startseite: kommende Konzerte (snippets/home/upcoming.php)
   ------------------------------------------------------------------ */
.upcoming { max-width: var(--container); margin: 36px auto 44px; padding: 0 10px; box-sizing: content-box; }
.upcoming-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; min-height: 540px;
  /* hell (Rückmeldung 30.09.2026: dunkler Hintergrund wirkte zu schwer) – Sandton der Seite, dunkle Schrift, Rot als Akzent */
  border-radius: 24px; background: var(--color-sand-solid); color: var(--color-heading);
  box-shadow: 0 18px 44px -32px rgba(38, 33, 31, .45);
}
.upcoming-hero--no-flyer { grid-template-columns: minmax(0, 1fr); min-height: 0; }
/* Bild als Ausschnitt über die ganze linke Hälfte */
.upcoming-hero__flyer { position: relative; display: block; overflow: hidden; }
.upcoming-hero__flyer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.upcoming-hero__flyer:hover img { transform: scale(1.03); }
.upcoming-hero__body { align-self: center; padding: 48px 56px; }
.upcoming-hero__kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px;
  font-family: var(--font-menu); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--color-link);
}
.upcoming-hero__countdown {
  padding: 4px 11px; border-radius: 999px; background: var(--color-link); color: #fff; letter-spacing: .08em;
}
.upcoming-hero__title { margin: 0 0 22px; font-family: var(--font-quote); font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; line-height: 1.08; color: var(--color-heading); }
.upcoming-hero__title a { color: inherit; }
.upcoming-hero__title a:hover { color: var(--color-link); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.upcoming-hero__facts { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 18px; line-height: 26px; color: var(--color-heading); }
.upcoming-hero__facts li { display: flex; align-items: flex-start; gap: 12px; }
.upcoming-hero__facts svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--color-link); }
.upcoming-hero__teaser { max-width: 560px; margin: 0 0 28px; font-size: 16px; line-height: 26px; color: #5c5a58; }
.upcoming-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 0; }
.upcoming-hero__button {
  display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px;
  background: var(--color-link); color: #fff; font-family: var(--font-menu); font-size: 15px; font-weight: 500; letter-spacing: .04em;
  transition: background .15s, transform .15s;
}
.upcoming-hero__button:hover { background: var(--color-accent); color: #fff; text-decoration: none; transform: translateY(-1px); }
.upcoming-hero__ics { display: inline-flex; align-items: center; gap: 8px; color: var(--color-heading); font-size: 15px; }
.upcoming-hero__ics svg { width: 16px; height: 16px; color: var(--color-link); }
.upcoming-hero__ics:hover { color: var(--color-link); text-decoration: underline; }

.upcoming-more { margin-top: 26px; }
.upcoming-more__title { margin: 0 0 14px; font-family: var(--font-menu); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--color-link); }
.upcoming-more__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.upcoming-card {
  display: flex; align-items: center; gap: 18px; height: 100%; box-sizing: border-box; padding: 18px 20px;
  border-radius: 16px; background: var(--color-sand-solid); color: var(--color-text); transition: background .15s, transform .15s;
}
.upcoming-card:hover { background: #ebe4de; text-decoration: none; transform: translateY(-2px); }
.upcoming-card__date {
  flex: none; display: grid; place-items: center; width: 64px; height: 68px; border-radius: 12px; background: #fff;
  box-shadow: 0 6px 16px -10px rgba(38, 33, 31, .5); line-height: 1;
}
/* mit Flyer: Vorschaubild, Datum als Plakette unten links darauf */
.upcoming-card__visual { position: relative; flex: none; display: block; }
.upcoming-card--thumb { padding: 14px 20px 14px 14px; }
.upcoming-card--thumb .upcoming-card__visual img { display: block; width: 136px; height: 170px; object-fit: cover; border-radius: 10px; box-shadow: 0 8px 18px -10px rgba(38, 33, 31, .6); }
.upcoming-card--thumb .upcoming-card__date { position: absolute; left: -6px; bottom: -6px; width: 46px; height: 50px; border-radius: 10px; }
.upcoming-card--thumb .upcoming-card__day { font-size: 20px; margin-top: 6px; }
.upcoming-card--thumb .upcoming-card__month { font-size: 10px; margin-bottom: 6px; }
.upcoming-card__day { font-family: var(--font-quote); font-size: 28px; font-weight: 700; color: var(--color-heading); margin-top: 8px; }
.upcoming-card__month { font-family: var(--font-menu); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--color-link); margin-bottom: 8px; }
.upcoming-card__body { display: grid; gap: 2px; min-width: 0; }
.upcoming-card__title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; line-height: 23px; color: var(--color-heading); }
.upcoming-card:hover .upcoming-card__title { color: var(--color-link); }
.upcoming-card__meta { font-size: 14px; line-height: 20px; }

@media (max-width: 950px) {
  .upcoming-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); min-height: 420px; }
  .upcoming-hero__body { padding: 36px; }
}
@media (max-width: 778px) {
  .upcoming { margin: 20px auto 30px; }
  .upcoming-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 18px; }
  .upcoming-hero__flyer { aspect-ratio: 1 / 1; }
  .upcoming-hero__body { padding: 26px 22px 28px; }
  .upcoming-card--thumb .upcoming-card__visual img { width: 104px; height: 130px; }
  .upcoming-hero__facts { font-size: 16px; line-height: 24px; }
  .upcoming-hero__actions { gap: 16px; }
  .upcoming-hero__button { width: 100%; justify-content: center; box-sizing: border-box; }
  .upcoming-more__list { grid-template-columns: minmax(0, 1fr); }
}

/* Startseite: Vorschau (Baustein „vorschau“) – dezente Leiste über der Konzertankündigung */
.preview {
  display: flex; align-items: baseline; gap: 8px 22px;
  padding: 12px 20px; border: 1px solid rgba(38, 33, 31, .1); border-radius: 12px; background: #faf8f6;
}
.preview__title { flex: none; margin: 0; font-family: var(--font-menu); font-size: 12px; line-height: 22px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--color-link); }
/* Trennstrich links an jedem Eintrag; der am Zeilenanfang liegt außerhalb und wird abgeschnitten */
.preview__list { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 0 -15px; padding: 0; list-style: none; clip-path: inset(0 0 0 15px); }
.preview__item { padding: 0 14px; border-left: 1px solid rgba(38, 33, 31, .2); font-size: 14px; line-height: 22px; color: var(--color-text); }
.preview__date { margin-right: 6px; font-weight: 700; color: var(--color-heading); white-space: nowrap; }
.preview__text { color: var(--color-text); }
.preview__text a { color: inherit; text-decoration: underline; text-decoration-color: rgba(230, 10, 60, .4); text-underline-offset: 3px; }
.preview__text a:hover { color: var(--color-link); }
.preview__note { margin-left: 4px; font-style: italic; opacity: .8; }
.preview__note::before { content: "("; }
.preview__note::after { content: ")"; }
/* Vorschau + Ankündigung als Bausteine in Layoutzeilen */
.block--vorschau, .block--upcoming { width: 100%; }
.block--upcoming .upcoming { margin: 0; padding: 0; max-width: none; }
.row:has(> .row__inner .block--vorschau) { padding-top: 28px; }
.row:has(> .row__inner .block--upcoming) { padding-top: 18px; padding-bottom: 44px; }
@media (max-width: 778px) {
  .preview { display: block; padding: 12px 16px; }
  .preview__list { display: block; margin: 0; clip-path: none; }
  .preview__item { padding: 4px 0; border: 0; }
  .row:has(> .row__inner .block--vorschau) { padding-top: 20px; }
  .row:has(> .row__inner .block--upcoming) { padding-top: 20px; padding-bottom: 30px; }
}

/* Abmelden als Formular (POST), sieht aus wie der Link */
.logout-form { display: contents; }
.logout-form button { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; text-align: left; }

/* Fehlerseite (404) */
.error-page__text { margin-bottom: 24px; }
.error-page__text p + p { margin-top: 10px; }
.error-page__links { margin-top: 18px; }

/* ------------------------------------------------------------------
   Startseite modern (01.10.2026): Fotos mit runden Ecken, Abstände der Abschnitte
   ------------------------------------------------------------------ */
.template-home .row--cards { padding-top: 30px; padding-bottom: 30px; }
.template-home .block--concerts { margin: 14px 0 6px; }
.template-home .icon-list--tiles { margin-top: 8px; }
.template-home .row:has(.icon-list--tiles) { padding-top: 56px; padding-bottom: 44px; }
@media (max-width: 767px) {
  .row--card { padding-top: 30px; padding-bottom: 30px; }
  .row.row--card > .row__inner { width: auto; padding: 0; }
  .row--card > .row__inner > .column { padding: 26px 22px 30px; }
  .row--card > .row__inner > .column:has(> .block--image:only-child) { padding: 0; }
  .row--card .column > .block--image:only-child img { min-height: 0; aspect-ratio: 4 / 3; }
  .row.row--cards > .row__inner { gap: 20px; }
  .row--cards > .row__inner > .column { gap: 12px; padding: 0 0 26px; }
  .row--cards > .row__inner > .column > .block { padding: 0 22px; }
  .template-home .row--cards { padding-top: 20px; padding-bottom: 20px; }
  .icon-list--tiles { columns: 1; }
  .template-home .row:has(.icon-list--tiles) { padding-top: 36px; padding-bottom: 28px; }
  .icon-list--tiles li { margin-bottom: 12px; }
  .icon-list--tiles li { padding: 18px; }
}

/* ------------------------------------------------------------------
   Konzertseite modern (01.10.2026): ohne Seitenleiste, Terminbereich, Serif-Titel, Flyer, Blättern als Karten
   ------------------------------------------------------------------ */
.konzert-zurueck, .konzert-nav, .konzert-mehr { box-sizing: border-box; max-width: var(--container); margin-left: auto; margin-right: auto; padding-left: 10px; padding-right: 10px; }
.konzert-zurueck { margin-top: 26px; margin-bottom: 0; font-family: var(--font-menu); font-size: 14px; letter-spacing: .02em; }
.konzert-zurueck a { color: var(--color-heading); }
.konzert-zurueck a:hover { color: var(--color-link); text-decoration: none; }

.konzert-kopf { margin: 0 0 18px; }
.konzert-kopf__kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px;
  font-family: var(--font-menu); font-size: 13px; font-weight: 500; line-height: 20px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-link);
}
.konzert-kopf__countdown { padding: 3px 10px; border-radius: 999px; background: var(--color-link); color: #fff; letter-spacing: .08em; }
.konzert-kopf__facts { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 17px; line-height: 25px; color: var(--color-heading); }
.konzert-kopf__facts li { display: flex; align-items: flex-start; gap: 12px; }
.konzert-kopf__facts svg { flex: none; width: 17px; height: 17px; margin-top: 4px; color: var(--color-link); }
.konzert-kopf__actions { margin: 0 0 6px; }
.konzert-kopf__title { margin: 18px 0 0; font-family: var(--font-quote); font-size: clamp(32px, 3.4vw, 46px); font-weight: 700; line-height: 1.1; color: var(--color-heading); }
.konzert-kopf__ics { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--color-sand-solid); color: var(--color-heading); font-size: 15px; }
.konzert-kopf__ics svg { width: 16px; height: 16px; color: var(--color-link); }
.konzert-kopf__ics:hover { background: #ebe4de; color: var(--color-link); text-decoration: none; }

/* Titel und Text */
.template-konzert .block--text h2 { margin: 0 0 14px; font-family: var(--font-quote); font-size: clamp(32px, 3.4vw, 46px); font-weight: 700; line-height: 1.1; color: var(--color-heading); }
.template-konzert .block--text h3 { font-family: var(--font-quote); font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--color-heading); }
.template-konzert .block--text h4 { font-family: var(--font-quote); font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--color-heading); }
/* nur Fließtext – nicht den Terminbereich (Dachzeile, Termin/Ort) */
.template-konzert .block--text p:not([class]), .template-konzert .block--text :not(.konzert-kopf__facts) > li { color: #55524f; font-size: 16.5px; line-height: 1.7; }

/* Flyer und Bilder */
.template-konzert .block--image img { border-radius: 16px; }
/* Schatten nur für den Flyer oben – nicht für Förderlogos (transparente PNGs) weiter unten */
.template-konzert .content > .row:first-of-type .block--image img { box-shadow: 0 18px 40px -28px rgba(38, 33, 31, .55); }
@media (min-width: 768px) {
  /* volle Inhaltsbreite statt der alten Elementor-Maße (schmale Zeilen, Spalten 70/26 % usw.): Spalten nach ihrer
     Aufteilung im Panel, fester Abstand; die erste Zeile mit Flyer: Flyer 40 %, Text daneben */
  .template-konzert .content > .row--measured { padding-left: 0; padding-right: 0; }
  .template-konzert .content > .row--measured > .row__inner { max-width: var(--container); padding-left: 10px; padding-right: 10px; gap: 56px; }
  .template-konzert .content > .row--measured > .row__inner > .column { flex: var(--span, 12) 1 0; margin-left: 0; padding-left: 0; padding-right: 0; }
  .template-konzert .content > .row:first-of-type > .row__inner > .column:has(> .block--image:only-child) { flex: 0 0 40%; }
  .template-konzert .content > .row--measured > .row__inner > .column > .block--map,
  .template-konzert .content > .row--measured > .row__inner > .column > .block--video { width: 100%; }
  /* Flyer bleibt neben langem Text stehen (Kopfzeile beim Scrollen 90 px) */
  .template-konzert .content > .row:first-of-type > .row__inner > .column:has(> .block--image:only-child) { position: sticky; top: 110px; align-self: flex-start; }
}

/* Blättern: zwei helle Karten mit kleinem Flyer */
.konzert-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.konzert-nav:last-child { margin-bottom: 50px; }
.konzert-nav__item {
  display: flex; align-items: center; gap: 16px; min-width: 0; padding: 14px 18px; border-radius: 16px; background: var(--color-sand-solid);
  color: var(--color-text); transition: background .15s, transform .15s;
}
.konzert-nav__item:hover { background: #ebe4de; text-decoration: none; transform: translateY(-2px); }
.konzert-nav__item--next { flex-direction: row-reverse; text-align: right; }
.konzert-nav__item img { flex: none; width: 60px; height: 75px; border-radius: 8px; object-fit: cover; }
.konzert-nav__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.konzert-nav__label { font-family: var(--font-menu); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--color-link); }
.konzert-nav__title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--color-heading); }
.konzert-nav__item:hover .konzert-nav__title { color: var(--color-link); }
.konzert-nav__date { font-size: 14px; line-height: 20px; }

/* Weitere Konzerte */
.konzert-mehr { margin-top: 64px; margin-bottom: 50px; text-align: center; }
.konzert-mehr__kicker { margin: 0 0 6px; font-family: var(--font-menu); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--color-link); }
.konzert-mehr__title { margin: 0 0 26px; font-family: var(--font-quote); font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.15; color: var(--color-heading); }
.konzert-mehr .concert-grid { text-align: left; }
.konzert-mehr__all { margin: 26px 0 0; }

@media (max-width: 767px) {
  .konzert-zurueck { margin-top: 16px; padding: 0; }
  .konzert-nav { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; padding: 0; }
  .konzert-nav > span:empty { display: none; }
  .konzert-nav__item--next { flex-direction: row; text-align: left; }
  /* Handy: zwei Karten nebeneinander statt 2 + 1 */
  .konzert-mehr .concert-card:nth-child(n+3) { display: none; }
  .konzert-mehr { margin-top: 44px; padding: 0; }
  .konzert-kopf__facts { font-size: 16px; }
  .template-konzert .block--text p:not([class]), .template-konzert .block--text :not(.konzert-kopf__facts) > li { font-size: 16px; }
  .map__notice { padding: 20px; gap: 14px; }
  .map.is-loaded { height: 320px; }
}

/* ------------------------------------------------------------------
   Textseiten modern (01.10.2026): Verein, Mitwirken, Chorleiter, Impressum/Datenschutz (Vorlage default)
   ohne Seitenleiste, Lesebreite, Serif-Überschriften, dunklerer Text; alte Elementor-Maße aufgehoben
   ------------------------------------------------------------------ */
.template-default .content-wrap { padding-bottom: 40px; }
.template-default .content > .row--measured { padding-left: 0; padding-right: 0; }
.template-default .content > .row > .row__inner { box-sizing: border-box; max-width: var(--container); padding-left: 10px; padding-right: 10px; gap: 48px; }
/* einspaltige Zeilen in Lesebreite */
.template-default .content > .row > .row__inner:has(> .column:only-child) { max-width: 820px; }
.template-default .content > .row--measured > .row__inner > .column { flex: var(--span, 12) 1 0; margin-left: 0; padding-left: 0; padding-right: 0; }
/* Zeilen nur mit Trennlinie oder Abstand: die Abschnitte trennt jetzt der Abstand */
.template-default .content > .row:has(> .row__inner > .column:only-child > .block--divider:only-child) { display: none; }
.template-default .content > .row:first-child:has(> .row__inner > .column:only-child > .block--spacer:only-child) { display: none; }
.template-default .content { padding-top: 40px; }
.template-default .block--consent { margin: 10px 0 24px; }

/* Überschriften: Serif; die gemessene Schrift der alten Seite (typo) gilt hier nicht mehr */
.template-default .block--text h1, .template-default .block--text h2,
.template-default .block--heading > .heading:not(.heading--kicker):not(.heading--lead):not(.heading--quote) {
  font-family: var(--font-quote) !important; font-weight: 700 !important; font-style: normal !important; text-transform: none !important;
  letter-spacing: normal !important; color: var(--color-heading) !important; line-height: 1.15 !important;
}
.template-default .block--text h1, .template-default .block--text h2,
.template-default .block--heading > h1.heading:not(.heading--kicker):not(.heading--lead),
.template-default .block--heading > h2.heading:not(.heading--kicker):not(.heading--lead) { font-size: clamp(30px, 3.2vw, 42px) !important; margin: 0 0 18px; }
.template-default .block--heading > h3.heading:not(.heading--kicker):not(.heading--lead):not(.heading--quote) { font-size: 22px !important; }
.template-default .block--text h3 { margin: 34px 0 10px; font-family: var(--font-quote); font-size: 23px; font-weight: 700; line-height: 1.25; color: var(--color-heading); scroll-margin-top: 110px; }
.template-default .block--text h3:first-child { margin-top: 0; }
.template-default .block--text h4 { margin: 24px 0 8px; font-family: var(--font-quote); font-size: 19px; font-weight: 700; color: var(--color-heading); }
.template-default .heading--lead { font-family: var(--font-quote) !important; font-size: clamp(20px, 2vw, 24px) !important; font-style: normal !important; font-weight: 400 !important; line-height: 1.45 !important; color: #55524f !important; }

/* Text */
.template-default .block--text p:not([class]), .template-default .block--text li { color: #55524f; font-size: 16.5px; line-height: 1.7; }
.template-default .block--text strong { color: var(--color-heading); }

/* Zwei Textspalten nebeneinander (Spenden / Sponsoring): als helle Karten */
.template-default .row__inner:has(> .column + .column) > .column:has(> .block--text:only-child) { padding: 30px 32px; border-radius: 20px; background: var(--color-sand-solid); }
.template-default .row__inner:has(> .column + .column) > .column:has(> .block--text:only-child) h3:first-child { margin-top: 0; }

/* Bilder */
.template-default .block--image img { border-radius: 16px; }

/* Impressum: Angaben als Karte, Inhaltsverzeichnis der Datenschutzerklärung */
.impressum-karte { padding: 24px 28px; border-radius: 16px; background: var(--color-sand-solid); }
.impressum-karte p:last-child { margin-bottom: 0; }
.legal-toc { margin: 4px 0 30px; padding: 22px 26px; border: 1px solid #e4ddd7; border-radius: 16px; }
.legal-toc__title { margin: 0 0 10px; font-family: var(--font-menu); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--color-link); }
.legal-toc ol { margin: 0; padding: 0 0 0 20px; columns: 2 220px; column-gap: 32px; }
.legal-toc li { margin: 0 0 6px; font-size: 15.5px; line-height: 1.45; break-inside: avoid; }
.legal-toc a { color: var(--color-heading); }
.legal-toc a:hover { color: var(--color-link); text-decoration: underline; }

@media (max-width: 767px) {
  .template-default .content { padding-top: 20px; }
  .template-default .content > .row > .row__inner { padding-left: 0; padding-right: 0; gap: 24px; }
  .template-default .row__inner:has(> .column + .column) > .column:has(> .block--text:only-child) { padding: 22px 20px; }
  .template-default .block--text p:not([class]), .template-default .block--text li { font-size: 16px; }
  .cards { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; }
  .card { max-width: none; padding: 16px 16px 14px; }
  .card .icon { margin-bottom: 8px; padding: 9px; }
  .impressum-karte, .legal-toc { padding: 20px; }
}
