/* Ergänzungen für Contao 6.1, die das unveränderte Theme-CSS (files/public/theme/css/themeglobal.css) nicht abdeckt.
   Wird nach themeglobal.css geladen. Quelle: Projektordner theme/gitman61.css -> /web/public/theme/gitman61.css */

/* ALTCHA (Spamschutz im Kontaktformular): Das Widget in 6.1 ist hell angelegt und nutzt andere Farbangaben als das
   ältere. Hier dunkel wie die Formularfelder, Schrift weiß (14.11.2026: Text war schwarz auf dunkel und kaum lesbar).
   Die Beschriftung des Feldes selbst ("Spamschutz") bleibt für Vorleseprogramme, wird aber nicht angezeigt. */
altcha-widget {
    --altcha-color-base: #202020;
    --altcha-color-base-content: #fff;
    --altcha-border-color: #6b6b6b;
    --altcha-border-radius: 4px;
    --altcha-color-primary: #ffd2a3;
    --altcha-color-primary-content: #202020;
}
.widget-altcha altcha-widget label { padding: 0 !important; font-size: 1rem !important; color: #fff !important; }
/* Kachel stimmig: rundum gleicher Innenabstand, Fußzeile klein und linksbündig. Die Absatzregeln der Seite (große
   Schrift, Abstand nach unten) machten "Geschützt durch ALTCHA" groß und den unteren Rand dicker als den oberen. */
.widget-altcha altcha-widget { --altcha-padding: 14px 16px; }
.widget-altcha .altcha-main { gap: 8px; }
.widget-altcha .altcha-footer { justify-content: flex-start; }
.widget-altcha .altcha-footer p { margin: 0 !important; font-size: .75rem !important; line-height: 1.4 !important; color: rgba(255, 255, 255, .65); }
.widget-altcha .altcha-footer a { font-size: inherit !important; line-height: inherit !important; color: var(--primary-color); }
.widget-altcha > label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}

/* Auswahlfeld im Formular ("Worum geht es?"): sah aus wie ein unbehandeltes Browser-Feld (weiß, klein). Jetzt wie die
   Textfelder: volle Breite, dunkel, weiße Schrift, eigener Pfeil in der Hausfarbe. */
.widget-select select.select {
    appearance: none;
    width: 100%;
    margin-bottom: 26px;
    padding: 13px 44px 13px 13px;
    font: inherit;
    line-height: 1.5;
    color: #fff;
    background: #202020 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ffd2a3' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
    border: 1px solid #101010;
    border-radius: 4px;
    cursor: pointer;
}
.widget-select select.select:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 1px; }
.widget-select select.select option { color: #fff; background: #202020; }

/* Cookie- und Datenschutzhinweis (templates/component/_einwilligung.html.twig, theme/einwilligung.js).
   Kleiner Dialog unten rechts, aufgebaut wie die Cookiebar der 5er-Seite, in den Farben der neuen Seite (14.11.2026):
   Überschrift, Hinweis, je Dienst eine Zeile mit aufklappbaren Details, Knöpfe rechts. Am Handy über die ganze Breite.
   Die Knöpfe sind eigene (nicht .ctabutton): Dessen Innenabstand passt nur zur Überschriftenschrift, mit der
   Textschrift saß die Beschriftung zu tief (oben 23, unten 10 Pixel). */
.einwilligung { color: var(--white); font-family: var(--text-font-family); font-size: var(--size-15); line-height: 1.55; }
.einwilligung[hidden] { display: none; }
.einwilligung--leiste {
    position: fixed; right: var(--size-15); bottom: var(--size-15); left: auto; z-index: 1000;
    width: min(560px, calc(100vw - 2 * var(--size-15))); max-height: calc(100vh - 2 * var(--size-15)); overflow-y: auto;
    padding: 22px 24px 18px;
    background: #1b1b1b; border: 1px solid var(--gray-500); box-shadow: 0 12px 40px rgb(0 0 0 / .6);
}
.einwilligung--seite { max-width: 640px; padding-block: var(--size-25); }
/* Schließen oben rechts wie bei der Cookiebar der 5er-Seite: schließt ohne zu speichern */
.einwilligung--leiste .einwilligung__innen { position: relative; }
.einwilligung__zu {
    position: absolute; top: -12px; right: -14px; width: 40px; height: 40px; padding: 0; margin: 0;
    font: inherit; font-size: 18px; line-height: 1; color: rgba(255, 255, 255, .75); background: none; border: 0; cursor: pointer;
}
.einwilligung__zu:hover { color: var(--white); }
.einwilligung__zu:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
.einwilligung--leiste .einwilligung__titel { padding-right: 34px; }
.einwilligung__titel { margin: 0 0 var(--size-8) !important; font-family: var(--heading-font-family); font-size: var(--size-20) !important; line-height: 1.3 !important; color: var(--white); }
.einwilligung__text { margin: 0 0 var(--size-15) !important; font-size: var(--size-15) !important; line-height: 1.55 !important; }
.einwilligung__dienste { margin: 0 0 var(--size-15); border: 1px solid var(--gray-500); }
.einwilligung__dienst { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.einwilligung__dienst + .einwilligung__dienst { border-top: 1px solid var(--gray-500); }
/* Schalter: echtes Ankreuzfeld, als Schieber gezeichnet (an = Hausfarbe). Die ganze Zeile links ist anklickbar. */
.einwilligung__schalter { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 14px; margin: 0; cursor: pointer; }
.einwilligung__schalter input {
    appearance: none; flex: none; position: relative; width: 40px; height: 22px; margin: 0;
    background: #3a3a3a; border: 1px solid #6b6b6b; border-radius: 11px; cursor: pointer; transition: background-color .15s;
}
.einwilligung__schalter input::after {
    content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px;
    background: var(--white); border-radius: 50%; transition: transform .15s;
}
.einwilligung__schalter input:checked { background: var(--primary-color); border-color: var(--primary-color); }
.einwilligung__schalter input:checked::after { transform: translateX(18px); background: #202020; }
.einwilligung__schalter input:disabled { opacity: .55; cursor: default; }
.einwilligung__schalter input:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.einwilligung__dienstname { font-weight: 700; }
.einwilligung__art { font-size: var(--size-14); color: rgba(255, 255, 255, .65); }
/* Details: der Auslöser steht rechts in der Zeile, die eingeblendete Liste läuft über die ganze Breite darunter */
.einwilligung__mehr {
    position: relative; padding: 12px 34px 12px 8px; margin: 0; cursor: pointer;
    font: inherit; font-size: var(--size-14); color: rgba(255, 255, 255, .75); background: none; border: 0; white-space: nowrap;
}
.einwilligung__mehr::after {
    content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
    border-right: 2px solid var(--orange-200); border-bottom: 2px solid var(--orange-200); transform: rotate(45deg);
}
.einwilligung__mehr[aria-expanded="true"]::after { margin-top: -2px; transform: rotate(-135deg); }
.einwilligung__mehr:hover { color: var(--white); }
.einwilligung__mehr:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }
.einwilligung__dienst dl[hidden] { display: none; }
.einwilligung__dienst dl { grid-column: 1 / -1; display: grid; grid-template-columns: 8.5em 1fr; gap: 4px 12px; margin: 0; padding: 2px 14px 14px; font-size: var(--size-14); }
.einwilligung__dienst dt { color: rgba(255, 255, 255, .65); }
.einwilligung__dienst dd { margin: 0; overflow-wrap: anywhere; }
.einwilligung__dienst a { color: var(--orange-200); }
@media (prefers-reduced-motion: reduce) { .einwilligung__schalter input, .einwilligung__schalter input::after { transition: none; } }

/* Hinweis am Video, solange YouTube nicht erlaubt ist (wird von einwilligung.js über die Vorschau gelegt) */
.video-sperre-rahmen { position: relative; }
.video-sperre {
    position: absolute; left: 0; right: 0; top: 0; min-height: 100%; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    padding: 16px; text-align: center; color: var(--white); background: rgb(16 16 16 / .94);
    font-family: var(--text-font-family); font-size: var(--size-15); line-height: 1.5;
}
.video-sperre p { margin: 0 !important; max-width: 34em; font-size: var(--size-15) !important; line-height: 1.5 !important; color: var(--white); }
.video-sperre__knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--size-10); }
/* Die Regeln der Seite für Knöpfe in Videos (Vorschau-Knopf über die ganze Fläche, ohne Rahmen) gelten sonst auch hier */
.video-sperre .einwilligung__knopf {
    position: static !important; display: inline-flex !important; width: auto !important; height: auto !important; min-height: 44px;
    padding: 10px 20px !important; opacity: 1 !important; transform: none !important;
    color: var(--white) !important; background: transparent !important; border: 1px solid var(--gray-500) !important;
}
.video-sperre .einwilligung__knopf::before, .video-sperre .einwilligung__knopf::after { content: none !important; }
.video-sperre .einwilligung__knopf--ja { color: #202020 !important; background: var(--primary-color) !important; border-color: var(--primary-color) !important; }
.video-sperre__mehr a { font-size: var(--size-14); color: rgba(255, 255, 255, .75); }
@media (max-width: 499px) {
    .video-sperre { gap: 8px; padding: 12px; }
    .video-sperre p { font-size: var(--size-14) !important; }
    .video-sperre .einwilligung__knopf { min-height: 40px; padding: 8px 14px !important; }
}
.einwilligung__status:empty { display: none; }
.einwilligung__status { margin: 0 0 var(--size-15) !important; font-size: var(--size-14) !important; color: var(--orange-200); }
.einwilligung__knoepfe { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--size-10); margin-bottom: var(--size-15); }
.einwilligung__knopf {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px 20px; margin: 0;
    font: inherit; font-weight: 500; line-height: 1.25; text-align: center;
    color: var(--white); background: transparent; border: 1px solid var(--gray-500); border-radius: 0; cursor: pointer;
}
.einwilligung__knopf:hover { border-color: var(--white); }
.einwilligung__knopf--ja { color: #202020; background: var(--primary-color); border-color: var(--primary-color); }
.einwilligung__knopf--ja:hover { background: var(--white); border-color: var(--white); }
.einwilligung__knopf:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.einwilligung__links { margin: 0 !important; font-size: var(--size-14) !important; text-align: right; }
.einwilligung__links a { color: rgba(255, 255, 255, .75); }
@media (max-width: 499px) {
    .einwilligung--leiste { right: var(--size-10); bottom: var(--size-10); width: calc(100vw - 2 * var(--size-10)); max-height: calc(100vh - 2 * var(--size-10)); padding: 18px 16px 14px; }
    .einwilligung__dienst dl { grid-template-columns: 1fr; gap: 0; }
    .einwilligung__dienst dd { margin-bottom: 6px; }
    .einwilligung__knoepfe { justify-content: stretch; }
    .einwilligung__knopf { flex: 1 1 auto; }
}

/* Merkmale (element_group/merkmale): Nummer 01, 02 … per Zähler statt fester Zahl im Text */
.mod-featuredcards .gridmain { counter-reset: merkmal; }
.mod-featuredcards .card-number::before { counter-increment: merkmal; content: counter(merkmal, decimal-leading-zero); }

/* Städteseiten: Ortsbezug (frontend_module/stadtinhalt.html.twig) */
.stadt-umgebung, .stadt-eigen { margin-top: var(--master-article-distance); }
.stadt-umgebung h3 { margin-top: var(--size-25); }
.stadt-umgebung__liste { padding-left: 1.2em; }
.stadt-umgebung__liste li { margin-bottom: var(--size-8); }
.stadt-umgebung__info { opacity: .75; }
.stadt-umgebung__orte { display: flex; flex-wrap: wrap; gap: var(--size-10) var(--size-25); list-style: none; padding: 0; }
.stadt-umgebung__quelle { margin-top: var(--size-25); font-size: var(--size-14); opacity: .6; }
.stadt-umgebung__quelle a { color: inherit; }

/* Hauptmenü (Dieter/Karsten 28.10.2026): Das Theme ragte schon auf der 5er zwischen 1200-1279 und 1360-1440 px über den
   rechten Rand (Knopf "Jetzt buchen" abgeschnitten). Abstände und Schrift wachsen jetzt mit der Breite, damit auch ein
   weiterer Menüpunkt (z. B. "Preise") in eine Zeile passt. Unter 1200 px bleibt das Klappmenü des Themes. */
@media (min-width: 1200px) {
    .mainnavigation {
        --mainnav-listlevelone-gap: 0 clamp(2px, 0.5vw, 15px);
        --mainnav-listlevelone-li-padding: 2px clamp(4px, 0.45vw, 10px) 4px clamp(4px, 0.45vw, 10px);
    }
    .mainnavigation ul.level_1 {
        flex-wrap: nowrap;
    }
    .mainnavigation ul.level_1 > li > a,
    .mainnavigation ul.level_1 > li > strong {
        font-size: clamp(14px, calc(14px + (100vw - 1200px) * 0.0105), 16px);
    }
    .mainnavigation ul.level_1 > li.submenu > a,
    .mainnavigation ul.level_1 > li.submenu > strong {
        padding-right: clamp(26px, 1.8vw, 30px);
    }
    .mainnavigation ul.level_1 > li.submenu > a::before,
    .mainnavigation ul.level_1 > li.submenu > strong::before {
        right: clamp(2px, 0.3vw, 6px);
    }
}

/* Songliste (Repertoire-Seiten, Dieter 03.11.2026): Das Theme ist für hellen Grund gebaut und schaltet nur bei dunklem
   Betriebssystem (prefers-color-scheme) um. Auf der immer dunklen Gitman-Seite wurde die Zeile beim Hover hell, der Text
   blieb weiß -> unlesbar. Jetzt immer dunkle Darstellung. Ohne den farbigen linken Balken bei abspielbaren Titeln
   (Kennzeichen sind schon das orange Notensymbol und der Play-Knopf). */
ul.songliste li {
    color: #e0e0e0;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.07);
}
ul.songliste li:hover {
    background: #2a1a00;
    border-color: var(--orange);
}
ul.songliste li:has(a) {
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}
ul.songliste li:has(a):hover {
    background: #2a1a00;
    border-color: var(--orange);
}
ul.songliste li:has(a):hover > a {
    color: var(--orange);
}

/* News-Detailseite (Dieter 12.11.2026): wie auf der offiziellen Seite zentriert statt am linken Rand. Eine Spalte von
   höchstens 800 px in der Mitte; Überschrift, Bilder, Videos und Text zentriert. Listen bleiben als Block links bündig
   in der Mitte, damit Aufzählungspunkte nicht verrutschen. */
.newsdetailcontent .mod_newsreader .layout_full {
    max-width: 800px;
    margin-inline: auto;
    text-align: center;
}
.newsdetailcontent .mod_newsreader .layout_full figure {
    display: table;
    margin-inline: auto;
}
.newsdetailcontent .mod_newsreader .layout_full .content-youtube figure,
.newsdetailcontent .mod_newsreader .layout_full .content-player figure {
    display: block;
    width: 100%;
}
.newsdetailcontent .mod_newsreader .layout_full ul,
.newsdetailcontent .mod_newsreader .layout_full ol {
    display: inline-block;
    text-align: left;
}
/* In der 5er-Kopie tragen 29 von 39 News im Text "text-align: left" (live: center). Auf der News-Detailseite wie live
   zentriert; Inhalte bleiben unverändert. Videos (Vorschaubild bzw. Player) mittig. */
.newsdetailcontent .mod_newsreader .layout_full .rte [style*="text-align: left"],
.newsdetailcontent .mod_newsreader .layout_full .rte [style*="text-align:left"] {
    text-align: center !important;
}
.newsdetailcontent .mod_newsreader .layout_full .content-youtube,
.newsdetailcontent .mod_newsreader .layout_full .content-player {
    margin-inline: auto;   /* Theme begrenzt Videos auf 600 px, ohne sie zu zentrieren */
}

/* YouTube ohne Vorschaubild (content_element/youtube.html.twig): trotzdem erst nach Klick laden, dunkle 16:9-Fläche mit Hinweis */
.content-youtube figure button.video-ohne-bild {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 16 / 9; padding: 24px;
  background: #111; color: #fff; border: 0; cursor: pointer;
  font: inherit; text-align: center;
}
.content-youtube figure button.video-ohne-bild span { position: static; max-width: 36em; }

/* Rückweg am Ende von News und Terminen (wie "zur News-Liste" bzw. "zur Event-Liste" der offiziellen Seite) */
.newsdetailcontent p.zurueck { margin-block: 50px 0; }
.newsdetailcontent p.zurueck a.ctabutton, .newsdetailcontent .event.layout_full .event-content p.zurueck a.ctabutton { margin-inline: auto; color: var(--ctabutton-primary-color); }

/* Termin-Detailseite (Dieter 12.11.2026): wie die News in einer Spalte von höchstens 800 px zentriert. Die Leiste mit
   Datum und Ort bleibt, steht aber mittig. Bilder werden nicht über ihre eigene Größe hinaus gestreckt (sonst
   unscharf) und haben Abstand zueinander. */
.newsdetailcontent .event.layout_full { max-width: 800px; text-align: center; }
.newsdetailcontent .event.layout_full .event-header { padding-inline: 0; }
.newsdetailcontent .event.layout_full .event-meta { margin-inline: 0; padding-inline: 20px; justify-content: center; text-align: left; }
.newsdetailcontent .event.layout_full .event-content { padding: 40px 0 60px; }
.newsdetailcontent .event.layout_full .event-content figure { margin-inline: auto; }
.newsdetailcontent .event.layout_full .event-content figure img { width: auto; max-width: 100%; margin-inline: auto; }
.newsdetailcontent .event.layout_full .event-content > * + .content-image,
.newsdetailcontent .event.layout_full .event-content > .content-image + *,
.newsdetailcontent .event.layout_full .event-content > * + .content-gallery,
.newsdetailcontent .event.layout_full .event-content > * + .content-youtube { margin-block-start: 25px; }
.newsdetailcontent .event.layout_full .event-content ul:not(.enclosure, .content-gallery ul),
.newsdetailcontent .event.layout_full .event-content ol { display: inline-block; text-align: left; }
.newsdetailcontent .event.layout_full .event-content .rte [style*="text-align: left"],
.newsdetailcontent .event.layout_full .event-content .rte [style*="text-align:left"] { text-align: center !important; }
.newsdetailcontent .event.layout_full .event-content .content-gallery ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; }
.newsdetailcontent .event.layout_full .event-content .content-gallery ul li { flex: 1 1 180px; max-width: 390px; margin: 0 !important; }
.newsdetailcontent .event.layout_full .event-content .content-gallery ul li figure { margin: 0; }
.newsdetailcontent .event.layout_full .event-content .content-gallery ul li img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.newsdetailcontent .event.layout_full .event-content .content-youtube,
.newsdetailcontent .event.layout_full .event-content .content-player { margin-inline: auto; }

/* Kopfbild mit Motiv rechts (Klasse herobildrechts am Hero-Element): Ausschnitt bei 80 % statt mittig, damit der
   mittige Textkasten das Motiv nicht verdeckt (Songs für Trauungen, Dieter 12.11.2026) */
.ce_rsce_herocontent.herobildrechts { background-position: 80% 50% !important; }
/* Zwischen 1024 und 1919 px ist das Bild 1920 px breit (Höhe 600): Motiv (Mitte bei 1536 px) an den rechten Rand
   rücken, damit es neben dem Textkasten steht */
@media (min-width: 1024px) and (max-width: 1919px) {
  .ce_rsce_herocontent.herobildrechts { background-position: min(0px, calc(100vw - 1706px)) 50% !important; }
}

/* Zweiter Knopf neben einem Hauptknopf (ctabutton-secondary, z. B. "Über mich" im Kopfbereich der Startseite): nicht
   mehr lila, sondern als Umriss in der Hausfarbe (Dieter 12.11.2026). Beim Überfahren gefüllt wie der Hauptknopf. */
.ctabutton.ctabutton-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.ctabutton.ctabutton-secondary:hover {
    background-color: var(--primary-color);
    color: var(--ctabutton-primary-color);
}

/* ---------- Kacheln für News und Termine (Dieter 12.11.2026) ----------
   Eine Karte für alle drei Listen (News, Termine auf der Startseite, Seite Termine): Bildfläche 4:3, das Bild immer
   ganz sichtbar (contain), dahinter dasselbe Bild weichgezeichnet (--bild, winzige Fassung aus dem Template), Text
   darunter. Raster überall gleich: 1 Spalte, ab 700 px 2, ab 1100 px 3. Templates: news_latest, event_teaser,
   event_list_termine. */
.mod_newslist,
.mod_eventlist:not(.termindetail),
.kacheln {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
}
@media (min-width: 700px) {
    .mod_newslist,
    .mod_eventlist:not(.termindetail),
    .kacheln { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .mod_newslist,
    .mod_eventlist:not(.termindetail),
    .kacheln { grid-template-columns: repeat(3, 1fr); }
}
.mod_newslist > h2, .mod_newslist > .pagination, .mod_newslist > .empty,
.mod_eventlist > h2, .mod_eventlist > .pagination, .mod_eventlist > .empty { grid-column: 1 / -1; }

.kachel {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: #1b1b1b;
    overflow: hidden;
}
.kachel__bild {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
    line-height: 0;
}
.kachel__bild::before {
    content: '';
    position: absolute;
    inset: -24px;
    background: var(--bild, none) center / cover no-repeat;
    filter: blur(18px) saturate(1.1) brightness(.7);
    transform: scale(1.1);
}
.kachel .kachel__bild picture { display: block; position: relative; width: 100%; height: 100%; }
/* !important: Das Theme setzt auf den normalen Seiten (main:not(.newsdetailcontent) ...) eigene Bild-, Link- und
   Absatzregeln mit hoher Gewichtung. Ohne !important wären die Karten je nach Seite verschieden. */
.kachel .kachel__bild picture img,
.kachel .kachel__bild > img {
    display: block;
    position: relative;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: contain !important;
    object-position: center;
    transition: transform .6s ease;
}
.kachel:hover .kachel__bild img { transform: scale(1.03); }
.kachel__text { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.kachel .kachel__titel {
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}
.kachel .kachel__titel a { color: #fff !important; text-decoration: none !important; transition: color .2s ease; }
.kachel .kachel__titel a::after { content: ''; position: absolute; inset: 0; }   /* ganze Karte klickbar */
.kachel:hover .kachel__titel a { color: var(--orange-100) !important; }
.kachel p.kachel__zeit {
    margin: 0 0 4px !important;
    font-size: .8rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase;
    color: var(--orange, #f60) !important;
}
.kachel p.kachel__ort { margin: 0 !important; font-size: .85rem !important; line-height: 1.45 !important; color: rgba(255, 255, 255, .75) !important; }
.kachel p.kachel__mehr {
    align-self: flex-start;
    margin: auto 0 0 !important;
    padding: 9px 20px !important;
    background: var(--primary-color);
    color: var(--ctabutton-primary-color) !important;
    font-family: var(--heading-font-family) !important;
    font-size: var(--size-14) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
    transition: background-color .25s linear;
}
.kachel .kachel__text > :nth-last-child(2) { margin-bottom: 16px !important; }
.kachel:hover p.kachel__mehr { background: var(--orange-100); }

/* Karstens Punkte vom 12.11.2026 */
/* B17: Text mittig (Klasse textmitte am Inhaltselement, z. B. Seite "Livemusik zur Trauerfeier") */
main .textmitte :is(h1, h2, h3, h4, p, li) { text-align: center !important; }
main .textmitte ul, main .textmitte ol { display: inline-block; text-align: left; }
/* B14: Referenzliste als Block in der Seitenmitte (wie auf der bisherigen Seite), Einträge bleiben links bündig */
main ul.referencelist { width: fit-content; max-width: 100%; margin-inline: auto !important; }
/* Karsten 27.11.2026 (f-referenzen-zweispaltig = A): am Computer zwei Spalten, am Handy eine */
@media (min-width: 1024px) {
    main ul.referencelist { width: min(100%, 960px); columns: 2; column-gap: 64px; }
    main ul.referencelist > li { break-inside: avoid; }
}

/* Videos auf den Detailseiten von News und Terminen (Karsten, Punkte C1 und B12, 14.11.2026): Das Theme gestaltet die
   Vorschau nur auf normalen Seiten. Hier dieselbe Gestaltung: Fläche 16:9, Abspielknopf in der Mitte, Hinweistext
   ausgeblendet. Videos sind so breit wie die Bilder (volle Spalte, höchstens 800 px). */
.newsdetailcontent .content-youtube,
.newsdetailcontent .content-player:not(.audio) {
    width: 100% !important;
    max-width: 800px !important;
    margin-inline: auto !important;
}
.newsdetailcontent .content-youtube figure {
    display: block !important;
    position: relative;
    width: 100% !important;
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.newsdetailcontent .content-youtube figure button[data-splash-screen] {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    cursor: pointer;
    background: transparent;
}
.newsdetailcontent .content-youtube figure button[data-splash-screen] img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center;
}
.newsdetailcontent .content-youtube figure button[data-splash-screen]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: url("/files/public/theme/img/playbutton.svg") center / contain no-repeat;
    opacity: .9;
    transition: transform .25s ease, opacity .25s ease;
}
.newsdetailcontent .content-youtube figure button[data-splash-screen]:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}
.newsdetailcontent .content-youtube figure button[data-splash-screen]:not(.video-ohne-bild) span { display: none; }
.newsdetailcontent .content-youtube figure iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}
.newsdetailcontent .content-player:not(.audio) video { display: block; width: 100%; height: auto; }
/* Überschrift direkt über einem Bild oder Video: etwas Abstand */
.newsdetailcontent :is(.content-youtube, .content-image, .content-player, .content-gallery) > :is(h2, h3, h4) { margin-block-end: 15px; }

/* Knopf "5.0 Sterne auf Google lesen" (Karsten, Punkt A3, 14.11.2026): wie auf der bisherigen Seite ein mittiger
   Kasten mit Sternen, hier in den Farben der neuen Seite statt Gelb. Text-Element mit p.bewertungsknopf. */
main p.bewertungsknopf { margin: 25px auto !important; max-width: 320px; text-align: center; }
main p.bewertungsknopf a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    background: #1b1b1b;
    border: 1px solid var(--primary-color);
    color: #fff !important;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none !important;
    transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}
main p.bewertungsknopf a:hover { transform: translateY(-3px); background: #242424; box-shadow: 0 6px 18px rgba(255, 210, 163, .2); }
main p.bewertungsknopf .sterne { color: var(--primary-color); font-size: 22px; line-height: 1; letter-spacing: 2px; }

/* ---------- Preiskarten (Karstens Punkt A1, 14.11.2026) ----------
   Elementgruppe content_element/element_group/preiskarten mit Karten text/preiskarte. Schlichte dunkle Karten in den
   Farben der Seite: Name, Umfang, Preis (der fett gesetzte Teil des Textes), Hinweise. 4 Spalten ab 1100 px, 2 ab 600. */
.preiskarten {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
    margin-block: 25px;
}
@media (min-width: 600px) { .preiskarten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .preiskarten { grid-template-columns: repeat(4, 1fr); } }
.preiskarte {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
}
main .preiskarte .preiskarte__name {
    margin: 0 0 14px !important;
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    color: #fff;
}
main .preiskarte .preiskarte__text p {
    margin: 0 0 12px !important;
    font-size: .95rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, .8);
}
main .preiskarte .preiskarte__text p:last-child { margin-bottom: 0 !important; }
main .preiskarte .preiskarte__text strong {
    display: block;
    font-family: var(--heading-font-family);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}
main .preishinweis p { max-width: 760px; margin-inline: auto !important; font-size: .95rem !important; color: rgba(255, 255, 255, .8); }

/* Menü-Knopf "Kontakt / Preise" auf der eigenen Seite: Die Schrift nahm dort die helle Farbe des aktiven Menüpunkts
   an und war auf dem hellen Knopf kaum lesbar. Dunkel wie auf allen anderen Seiten (14.11.2026). */
.mainnavigation ul.level_1 > li.bookingpage > strong { color: #202020 !important; }

/* ---------- Artikel mit Text links und Bild rechts: Bild so hoch wie der Text (Klasse bildhoch am Artikel) ----------
   Karstens Punkt B15 (14.11.2026), Seite "Infos über Gitman": Das Bild endete auf halber Höhe des Textes, daneben
   blieb eine leere Fläche. Ab 900 px füllt das Bild die Höhe der Textspalte, der Ausschnitt bleibt mittig.
   Darunter stehen Text und Bild untereinander wie bisher. */
@media (min-width: 900px) {
    main .mod_article.bildhoch .gridinlay { align-items: stretch; }
    main .mod_article.bildhoch .content-image { position: relative; min-height: 100%; }
    main .mod_article.bildhoch .content-image figure { position: absolute; inset: 0; margin: 0; }
    main .mod_article.bildhoch .content-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
}

/* ---------- Liste der Anlässe (Karstens Punkt A4, 14.11.2026) ----------
   ul.anlassliste in einem Text-Element (Startseite, unter den drei Kacheln). Drei Spalten mit je vier Einträgen,
   spaltenweise gefüllt wie auf der alten Seite; unter 700 px zwei Spalten. Schlichte Zeilen mit feiner Linie und
   kleinem Quadrat in der Hausfarbe. Einträge mit eigener Seite sind Links (weiß, beim Überfahren Hausfarbe). */
main ul.anlassliste {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0 40px;
    max-width: 900px;
    margin: 30px auto 40px !important;
    padding: 0 !important;
    list-style: none;
}
main ul.anlassliste li {
    position: relative;
    margin: 0 !important;
    padding: 11px 0 11px 22px !important;
    list-style: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 1.05rem;
    line-height: 1.4;
    color: #fff;
}
main ul.anlassliste li::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(11px + .7em - 4px);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
}
main ul.anlassliste a { color: #fff !important; text-decoration: none !important; }
main ul.anlassliste a:hover, main ul.anlassliste a:focus-visible { color: var(--primary-color) !important; }
@media (max-width: 699px) {
    main ul.anlassliste { grid-template-rows: repeat(6, auto); gap: 0 20px; }
    main ul.anlassliste li { font-size: .95rem; }
}

/* ---------- Dankesseite nach dem Kontaktformular (16.11.2026) ----------
   Seite "Kontakt Danke" im Layout ohne Kopfbild; Artikel mit der Klasse dankeseite. Dort greifen die Textfarben der
   übrigen Seiten nicht (Text stand schwarz auf dunklem Grund). Mittig, mit Abstand nach oben und unten. */
main .mod_article.dankeseite { padding-block: 60px 80px; text-align: center; color: var(--white); }
main .mod_article.dankeseite h1 { margin-bottom: 20px; color: var(--primary-color); }
main .mod_article.dankeseite p { color: var(--white); font-size: var(--size-18, 1.125rem); line-height: 1.6; }
main .mod_article.dankeseite a { color: var(--orange-200); text-decoration: underline; }

/* Karsten 17.11.2026 (Abstimmungsseite f-menue): Menü näher ans Logo, mittig im freien Raum statt rechtsbündig. */
@media (min-width: 1200px) {
    .mainnavigation .mod_navigation { display: flex; justify-content: center; }
    /* Hauptpunkte mit Untermenü sind wie auf der alten Seite kein Link (theme/menue.js); das Untermenü öffnet sich beim
       Darüberfahren und auch per Tastatur. */
    .mainnavigation ul.level_1 > li.submenu > a { cursor: default; }
    .mainnavigation ul.level_1 > li.submenu:focus-within > ul.level_2 { display: flex; opacity: 1; visibility: visible; }
}

/* Karsten 17.11.2026 (a-referenzen): Überschrift über der Referenzliste ebenfalls mittig. */
main .content-text:has(ul.referencelist) > h2 { text-align: center; }

/* Termine (19.11.2026): Hinweis bei leerer Liste "Aktuelle Events" war dunkelgrau auf Schwarz kaum lesbar. */
main .mod_eventlist .kacheln > .empty { grid-column: 1 / -1; color: var(--white); margin-bottom: var(--size-25, 25px); }

/* Termine ohne eigenen Inhalt (event_full.html.twig, .termin-hauptbild): Bild mittig über dem Kurztext, höchstens
   so breit wie die Inhaltsbilder (800 px), Hochformat höchstens 700 px hoch (Karsten 20.11.2026). */
.event.layout_full .termin-hauptbild { margin: 50px 0 30px; text-align: center; }
.event.layout_full .termin-hauptbild figure { display: inline-block; margin: 0; max-width: 100%; }
.event.layout_full .termin-hauptbild img { display: block; max-width: min(800px, 100%); max-height: 700px; width: auto; height: auto; }
