/* Readable default text links on the dark VFCG theme. Component styles below keep their own colors. */
a, a:where(:visited) { color: #ffd700; text-underline-offset: .18em; }
a:where(:hover, :focus-visible) { color: #fff0a3; }
a:focus-visible { outline: 2px solid #ffd700; outline-offset: 3px; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b0b0b;
  color: #fff;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  z-index: 1000;
}


/* PREMIUM HIGHLIGHTS */
.large-card {
  background: linear-gradient(
    180deg,
    #1b1b1b 0%,
    #101010 100%
  );

  padding: 40px;

  border-radius: 18px;

  text-align: left;

  position: relative;

  overflow: hidden;

  transition: 0.4s;
}

/* HOVER */
.large-card:hover {
  transform: translateY(-10px);

  box-shadow:
    0 15px 40px rgba(0,0,0,0.5);
}

/* TAG */
.card-tag {
  color: gold;

  font-size: 13px;

  letter-spacing: 2px;

  font-weight: bold;
}

/* TITLE */
.large-card h2 {
  margin: 20px 0;

  font-size: 30px;

  color: white;
}

/* TEXT */
.large-card p {
  color: #ccc;

  line-height: 1.6;

  margin-bottom: 25px;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  color: gold;
  font-size: 24px;
  font-weight: bold;
}

/* NAV */
.nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* BURGER */
.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */
.hero {
  height: 85vh;
  background: url('../images/hero.jpg') center/cover no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 60px;
  color: gold;
}

.hero p {
  font-size: 22px;
  margin-bottom: 20px;
}

/* BUTTON */
.btn {
  background: #c40000;
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* MAIN */
main {
  padding: 40px 0;
}

/* FOOTER */
.footer {
  background: #000;
  padding: 30px;
  text-align: center;
}

/* MOBILE */
@media (max-width: 768px) {

  .nav {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 20px;
  }

  .nav.open {
    display: flex;
  }

  .burger {
    display: block;
  }

  .hero h1 {
    font-size: 36px;
  }
}

/* INTRO */
.home-intro {
  text-align: center;
  margin-top: -200px;
  position: relative;
  z-index: 5;
}

.home-intro h1 {
  font-size: 48px;
  color: gold;
}

.home-intro p {
  font-size: 20px;
  margin-bottom: 20px;
}

/* HIGHLIGHTS */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  margin-top: 60px;
  padding: 0 20px;
}

.highlight-card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

/* EVENTS */
.events {
  margin-top: 80px;
  text-align: center;
}

.events h2 {
  color: gold;
  margin-bottom: 30px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

.event-card {
  background: #141414;
  padding: 20px;
  border-radius: 10px;
}

.event-card .date {
  color: #c40000;
  font-weight: bold;
  margin-bottom: 10px;
}
/* STARS */
.stars {
  margin-top: 80px;
  text-align: center;
}

.stars h1 {
  color: gold;
  margin-bottom: 10px;
}

.stars-sub {
  color: #ccc;
  margin-bottom: 40px;
}

/* GRID */
.stars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

/* CARD */
.star-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.star-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.star-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* TEXT */
.star-card h3 {
  margin: 15px 0 10px;
  color: gold;
}

.star-card p {
  padding: 0 15px 20px;
  font-size: 14px;
}


/* EVENTS PAGE */
.events-page {
  margin-top: 80px;
  text-align: center;
}

.events-page h1 {
  color: gold;
  margin-bottom: 10px;
}

.events-sub {
  color: #ccc;
  margin-bottom: 50px;
}

/* GRID */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 30px;
}

/* CARD */
.poster-card {
  background: #151515;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.poster-card:hover {
  transform: translateY(-10px);
}

/* IMAGE */
.poster-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* DATE */
.poster-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: gold;
  color: #000;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
  z-index: 5;
}

.poster-date .day {
  display: block;
  font-size: 26px;
}

.poster-date .month {
  font-size: 14px;
}

/* CONTENT */
.poster-content {
  padding: 25px;
}

.poster-content h2 {
  color: gold;
  margin-bottom: 10px;
}

/* BUTTONS */
.poster-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-gold {
  background: gold;
  color: #000;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}


/* COUNTDOWN */
.countdown {
  text-align: center;
  margin-top: 100px;
}

.countdown h2 {
  color: gold;
  margin-bottom: 30px;
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

#countdown div {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  min-width: 120px;
}

#countdown span {
  display: block;
  font-size: 42px;
  color: gold;
  font-weight: bold;
}

#countdown small {
  color: #ccc;
}

/* NAVIGATION */
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav > ul {
  display: flex;
  gap: 30px;
}

.nav li {
  position: relative;
}

.nav a {
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  display: block;
  transition: 0.3s;
}

.nav a:hover {
  color: gold;
}

/* MEGA MENU */
.nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  background: rgba(15,15,15,0.98);

  min-width: 320px;

  padding: 25px;

  border-radius: 16px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.6);

  z-index: 999;
}

/* SHOW */
.nav li:hover > ul {
  display: block;
}

/* SUBMENU */
.nav li ul li {
  margin-bottom: 10px;
}

.nav li ul a {
  padding: 8px 0;
  color: #ddd;
}

.nav li ul a:hover {
  color: gold;
  padding-left: 5px;
}

/* ACTIVE MENU */
.nav .current > a {
  color: gold;
}

/* HOVER LINE */
.nav > ul > li > a {
  position: relative;
}

.nav > ul > li > a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  background: gold;

  transition: 0.3s;
}

.nav > ul > li > a:hover::after {
  width: 100%;
}

/* SHOW HERO */
.show-hero {
  position: relative;

  height: 60vh;

  background:
    url('/images/die-show-casino-stage-hero.png')
    center/cover no-repeat;

  display: flex;
  align-items: center;
}

.show-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.35),
      rgba(0,0,0,0.55)
    );
}

.show-content {
  position: relative;
  z-index: 2;
}

.show-tag {
  color: gold;
  letter-spacing: 3px;
  font-size: 14px;
}

.show-content h1 {
  font-size: 58px;
  margin: 20px 0;
}

.show-content p {
  font-size: 22px;
  color: #ddd;
}

/* SECTION */
.show-section {
  margin-top: 100px;
}

.show-section h2 {
  color: gold;
  margin-bottom: 30px;
}

/* GRID */
.show-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

  gap: 30px;
}

/* CARD */
.show-card {
  background: #151515;

  border-radius: 18px;

  overflow: hidden;

  transition: 0.4s;
}

.show-card:hover {
  transform: translateY(-10px);
}

.show-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.show-card h3 {
  padding: 20px;
}

/* MINI GRID */
.mini-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

  gap: 20px;
}

.mini-card {
  background: #1a1a1a;

  padding: 25px;

  border-radius: 12px;

  text-align: center;

  transition: 0.3s;
}

.mini-card:hover {
  background: gold;
  color: black;
}

/* CLICKABLE CARDS */
.show-card,
.mini-card {
  text-decoration: none;
  color: white;
}

/* SHOW CARD */
.show-card {
  display: block;
}

/* HOVER */
.show-card:hover h3,
.mini-card:hover {
  color: black;
}

/* MINI CARD */
.mini-card {
  display: flex;

  align-items: center;
  justify-content: center;

  min-height: 100px;

  font-weight: bold;
}


/* HERO V3 */
.hero-v3 {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #050505 0%,
      #120909 50%,
      #000 100%
    );

  min-height: 72vh;

  display: flex;
  align-items: center;
}

/* OVERLAY */
.hero-v3-overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(255,215,0,0.12),
      transparent 40%
    );
}

/* CONTAINER */
.hero-v3-container {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
}

/* LEFT */
.hero-v3-left {
  padding: 80px 0;
}

.hero-tag {
  color: gold;

  letter-spacing: 3px;

  font-size: 14px;

  text-transform: uppercase;
}

/* HEADLINE */
.hero-v3 h1 {
  font-size: 92px;

  line-height: 0.9;

  margin: 20px 0;

  font-weight: 900;
}

.hero-v3 h1 span {
  color: gold;
}

/* TEXT */
.hero-v3 p {
  font-size: 24px;

  color: #ddd;

  max-width: 600px;

  line-height: 1.5;
}

/* BUTTONS */
.hero-buttons {
  display: flex;

  gap: 20px;

  margin-top: 40px;
}

.btn-outline {
  border: 2px solid gold;

  background: transparent;
}

.btn-outline:hover {
  background: gold;
  color: black;
}

/* RIGHT IMAGE */
.hero-v3-right img {
  width: 100%;

  border-radius: 24px;

  box-shadow:
    0 0 60px rgba(255,215,0,0.15);
}

/* WAVE */
.hero-wave {
  position: absolute;

  bottom: 0;
  left: 0;

  width: 100%;
  height: 80px;

  background: #0b0b0b;

  border-top-left-radius: 100% 80px;
  border-top-right-radius: 100% 80px;
}

/* MOBILE */
@media (max-width: 900px) {

  .hero-v3-container {
    grid-template-columns: 1fr;
  }

  .hero-v3 h1 {
    font-size: 62px;
  }

  .hero-v3-right {
    margin-bottom: 100px;
  }

}

main {
  position: relative;
  z-index: 2;

  margin-top: -40px;
}

/* LOGO */
.logo {
  display: flex;

  align-items: center;

  gap: 14px;

  text-decoration: none;
}

/* IMAGE */
.logo img {
  height: 72px;

  width: auto;

  transition: 0.3s;
}

.logo:hover img {
  transform: scale(1.05);
}

/* TEXT */
.logo-text {
  display: flex;

  flex-direction: column;

  line-height: 1.1;
}

.logo-text strong {
  color: gold;

  font-size: 30px;
}

.logo-text span {
  color: #fff;

  font-size: 13px;

  max-width: 220px;
}

/* PREMIUM EVENTS */
.premium-events {
  padding: 120px 0;

  background:
    linear-gradient(
      180deg,
      #080808,
      #140707
    );
}

/* HEADER */
.section-header {
  text-align: center;

  margin-bottom: 70px;
}

.section-header span {
  color: gold;

  letter-spacing: 3px;

  font-size: 14px;
}

.section-header h2 {
  font-size: 56px;

  margin: 20px 0;
}

.section-header p {
  color: #ccc;

  font-size: 20px;
}

/* GRID */
.event-premium-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit,minmax(340px,1fr));

  gap: 30px;
}

/* CARD */
.event-premium-card {
  background: #121212;

  border-radius: 24px;

  padding: 30px;

  display: flex;

  gap: 25px;

  transition: 0.4s;

  border: 1px solid rgba(255,215,0,0.08);
}

.event-premium-card:hover {
  transform: translateY(-10px);

  border-color: gold;
}

/* DATE */
.event-date {
  min-width: 90px;

  background:
    linear-gradient(
      180deg,
      #d10000,
      #700000
    );

  border-radius: 18px;

  padding: 18px;

  text-align: center;
}

.event-date .month {
  display: block;

  color: white;

  font-size: 14px;

  letter-spacing: 2px;
}

.event-date strong {
  display: block;

  font-size: 42px;

  margin: 10px 0;
}

.event-date small {
  color: #eee;
}

/* CONTENT */
.event-content .btn {
  padding: 10px 18px;

  font-size: 14px;
}

.event-time,
.event-location {
  color: #ccc;

  margin-bottom: 14px;

  font-size: 15px;

  line-height: 1.5;
}

/* FEATURED */
.featured-event {
  border: 2px solid gold;

  box-shadow:
    0 0 40px rgba(255,215,0,0.08);
}

.event-badge {
  display: inline-block;

  background: gold;

  color: black;

  padding: 6px 12px;

  border-radius: 999px;

  font-size: 12px;

  font-weight: bold;

  margin-bottom: 14px;
}

/* FOOTER V3 */
.footer-v3 {
  background:
    linear-gradient(
      180deg,
      #050505,
      #000
    );

  padding-top: 90px;

  border-top:
    1px solid rgba(255,215,0,0.08);
}

/* GRID */
.footer-grid {
  display: grid;

  grid-template-columns:
    1.4fr 1fr 1fr 1fr;

  gap: 50px;

  padding-bottom: 60px;
}

/* BRAND */
.footer-brand img {
  width: 110px;

  margin-bottom: 20px;
}

.footer-brand h3 {
  font-size: 36px;

  color: gold;

  margin-bottom: 10px;
}

.footer-brand p {
  color: #ccc;

  line-height: 1.6;
}

.footer-brand span {
  display: block;

  margin-top: 20px;

  color: gold;

  font-weight: bold;
}

/* COLUMN */
.footer-column h4 {
  color: gold;

  margin-bottom: 25px;

  font-size: 20px;
}

.footer-column ul {
  list-style: none;

  padding: 0;
}

.footer-column li {
  margin-bottom: 14px;
}

.footer-column a {
  color: #ccc;

  text-decoration: none;

  transition: 0.3s;
}

.footer-column a:hover {
  color: gold;
}

/* TEXT */
.footer-column p {
  color: #ccc;

  margin-bottom: 14px;
}

/* SOCIALS */
.footer-socials {
  display: flex;

  flex-direction: column;

  gap: 12px;

  margin-top: 20px;
}

/* BOTTOM */
.footer-bottom {
  border-top:
    1px solid rgba(255,255,255,0.08);

  padding: 25px;

  text-align: center;

  color: #777;

  font-size: 14px;
}

/* MOBILE */
@media (max-width: 900px) {

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

}


/* =========================
   BREADCRUMBS V3
========================= */

.vfcg-breadcrumbs {
    background: rgba(0,0,0,0.45);

    border-top: 1px solid rgba(255,215,0,0.08);
    border-bottom: 1px solid rgba(255,215,0,0.08);

    padding: 16px 0;

    backdrop-filter: blur(10px);
}

/* LIST RESET */
.mod-breadcrumbs,
.mod-breadcrumbs ol,
.mod-breadcrumbs ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

/* FLEX */
.mod-breadcrumbs ol {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}

/* ITEMS */
.mod-breadcrumbs li {
    display: flex;

    align-items: center;

    color: #999;

    font-size: 14px;
}

/* LINKS */
.mod-breadcrumbs a {
    color: gold;

    text-decoration: none;

    transition: 0.3s;
}

.mod-breadcrumbs a:hover {
    color: white;
}

/* SEPARATOR */
.mod-breadcrumbs li + li::before {
    content: "›";

    margin-right: 12px;

    color: rgba(255,215,0,0.5);
}

/* ACTIVE */
.mod-breadcrumbs .active {
    color: #fff;
}

/* Breadcrumbs: Joomla-Listenmarkup, 2026-10-19 */
.vfcg-breadcrumbs ol.mod-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vfcg-breadcrumbs .mod-breadcrumbs__divider {
  display: none;
}
.vfcg-breadcrumbs .mod-breadcrumbs > li::before {
  content: none;
}
.vfcg-breadcrumbs .mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
  content: "›";
  margin-right: 12px;
  color: rgba(255, 215, 0, 0.5);
}


/* Hauptmenue: einzeilige Beschriftung und kompakte Untermenue-Taster */
nav.nav > ul.mod-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  position: static;
  margin: 0;
  padding: 0;
  background: transparent;
}
nav.nav > ul.mod-menu > li {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
nav.nav > ul.mod-menu > li > a {
  margin-left: 0;
  padding: 12px 10px;
  white-space: nowrap;
}
nav.nav .mod-menu__toggle-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: gold;
  cursor: pointer;
}
nav.nav .mod-menu__toggle-sub::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
nav.nav .mod-menu__toggle-sub > .icon-chevron-down { display: none; }
nav.nav .mod-menu__toggle-sub .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
nav.nav .mod-menu__toggle-sub:focus-visible {
  outline: 2px solid gold;
  outline-offset: 2px;
}
@media (max-width: 768px) {
  nav.nav > ul.mod-menu { align-items: stretch; flex-direction: column; }
}

/* Mobile Navigation: verschachtelte Listen statt seitlicher Flyouts */
button.burger { color: gold; background: transparent; border: 0; padding: 6px; min-width: 44px; min-height: 44px; flex-shrink: 0; }
@media (max-width: 768px) {
  .header .container { gap: 8px; }
  .header .logo { min-width: 0; gap: 8px; }
  .header .logo img { height: 56px; }
  .header .logo-text span { font-size: 11px; }
  nav.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; box-sizing: border-box; padding: 12px 16px; background: #101010; border-bottom: 1px solid #665500; max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
  nav.nav.open { display: block; }
  nav.nav > ul.mod-menu { width: 100%; gap: 0; }
  nav.nav ul li, nav.nav > ul.mod-menu > li { display: flex; flex-wrap: wrap; align-items: center; width: 100%; margin: 0; }
  nav.nav li > a, nav.nav > ul.mod-menu > li > a { flex: 1 1 0; min-width: 0; margin: 0; padding: 12px 8px; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; box-sizing: border-box; }
  nav.nav .mod-menu__toggle-sub { width: 44px; height: 44px; }
  nav.nav li > ul.mod-menu__sub { display: none; position: static; flex: 0 0 100%; width: 100%; min-width: 0; box-sizing: border-box; padding: 0 0 0 12px; margin: 0; border-left: 1px solid #665500; border-radius: 0; background: transparent; box-shadow: none; }
  nav.nav li > .mod-menu__toggle-sub[aria-expanded="true"] + ul.mod-menu__sub { display: block; }
  nav.nav .mod-menu__toggle-sub[aria-expanded="true"]::after { transform: rotate(225deg); }
  nav.nav li ul a:hover { padding-left: 8px; }
}

/* Mobile Startseite: Bild und Einleitung ohne Ueberlappung */
@media (max-width: 900px) {
 .hero-v3 { min-height: 0; padding-bottom: 24px; }
 .hero-v3-container { gap: 24px; }
 .hero-v3-left { padding: 40px 0 0; }
 .hero-v3 h1 { font-size: clamp(44px, 12vw, 62px); }
 .hero-v3 p { font-size: 20px; }
 .hero-buttons { flex-wrap: wrap; gap: 12px; margin-top: 24px; }
 .hero-v3-right { margin-bottom: 0; }
 .hero-v3-right img { display: block; }
 .hero-wave { height: 24px; }
 .hero-v3 + main { margin-top: 0; padding-top: 0; }
 .home-intro { margin-top: 0; padding: 32px 5% 0; box-sizing: border-box; }
 .home-intro h1 { font-size: clamp(28px, 7vw, 38px); line-height: 1.2; }
 .home-intro p { font-size: 18px; line-height: 1.5; }
 .event-premium-grid { grid-template-columns: minmax(0, 1fr); }
 .section-header h2 { font-size: clamp(28px, 7vw, 42px); }
}
@media (max-width: 600px) {
 .event-premium-card { flex-direction: column; padding: 24px; }
 .highlights { grid-template-columns: minmax(0, 1fr); }
 .premium-events { padding: 60px 0; }
}

/* Veranstaltungskarten: flexible Breiten und gut bedienbare Ticketlinks */
.events-page.container { width: 100%; }
.events-page .poster-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.events-page .poster-card { min-width: 0; display: flex; flex-direction: column; }
.events-page .poster-card img { display: block; }
.events-page .poster-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.events-page .poster-content h2 { overflow-wrap: anywhere; }
.events-page .poster-buttons { flex-wrap: wrap; margin-top: auto; padding-top: 20px; }
.events-page .poster-buttons a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; box-sizing: border-box; line-height: 1.3; text-align: center; }
.events-page .poster-buttons a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.pagenavigation .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pagenavigation .pagination { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 600px) {
 .events-page { margin-top: 36px; }
 .events-page h1 { font-size: clamp(25px, 7vw, 34px); line-height: 1.2; overflow-wrap: anywhere; }
 .events-page .events-sub { line-height: 1.5; margin-bottom: 28px; }
 .events-page .poster-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .events-page .poster-card img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
 .events-page .poster-content { padding: 20px; }
 .events-page .poster-content h2 { font-size: 25px; line-height: 1.25; }
 .events-page .poster-buttons a { width: 100%; }
 .events-page .poster-card:hover { transform: none; }
}

/* Untermenues: klare Zeilen und aufklappbare Gruppen */
nav.nav li > ul.mod-menu__sub { box-sizing: border-box; background: #141414; border: 1px solid #3b3420; border-radius: 12px; padding: 8px; box-shadow: 0 16px 40px #0008; }
nav.nav ul.mod-menu__sub > li { display: flex; flex-wrap: wrap; align-items: center; margin: 0; width: 100%; }
nav.nav ul.mod-menu__sub > li > a { flex: 1 1 0; min-width: 0; margin: 0; padding: 12px 14px; line-height: 1.4; font-size: 15px; border-radius: 7px; transition: background .15s, color .15s; }
nav.nav ul.mod-menu__sub > li > a:hover, nav.nav ul.mod-menu__sub > li > a:focus-visible { padding: 12px 14px; background: #28251a; color: #ffe169; }
nav.nav ul.mod-menu__sub .mod-menu__toggle-sub { width: 44px; height: 44px; border-radius: 7px; background: #211f17; }
nav.nav ul.mod-menu__sub .mod-menu__toggle-sub:hover { background: #39321c; }
nav.nav ul.mod-menu__sub li > ul.mod-menu__sub { position: static !important; flex: 0 0 calc(100% - 14px); width: calc(100% - 14px); min-width: 0; margin: 4px 0 8px 14px; padding: 4px; border: 0; border-left: 2px solid #8b742d; border-radius: 0 6px 6px 0; background: #0c0c0c; box-shadow: none; transform: none; }
nav.nav ul.mod-menu__sub li > ul.mod-menu__sub { display: none !important; }
nav.nav ul.mod-menu__sub li > button[aria-expanded="true"] + ul.mod-menu__sub { display: block !important; }
nav.nav .mod-menu__toggle-sub[aria-expanded="true"]::after { transform: rotate(225deg); }
@media (min-width: 769px) {
 nav.nav > ul.mod-menu > li > ul.mod-menu__sub { width: 310px; min-width: 310px; max-height: calc(100dvh - 140px); overflow-y: auto; top: 100%; left: 0; }
}
@media (max-width: 768px) {
 nav.nav li > ul.mod-menu__sub { box-shadow: none; border-radius: 6px; padding: 5px; }
 nav.nav ul.mod-menu__sub > li > a { padding: 12px 10px; }
}

nav.nav > ul.mod-menu > li > ul.mod-menu__sub { display: none !important; }
nav.nav > ul.mod-menu > li > button[aria-expanded="true"] + ul.mod-menu__sub { display: block !important; }


/* Keep Phoca Gallery folder labels inside their tiles. */
#phocagallery .pg-item-box-title.category { box-sizing: border-box; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
#phocagallery .pg-item-box-title.category a { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }


/* Responsive overview artwork with visible AI attribution. */
.overview-ai-figure { margin: 1.5rem 0 2rem; max-width: 100%; }
.overview-ai-figure img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 18px; }
.overview-ai-figure figcaption, .ai-image-label { display: inline-block; margin-top: .45rem; color: #c8c8c8; font-size: .8rem; }
@media (max-width: 700px) { .overview-ai-figure img { max-height: 260px; } }


/* Homepage: reduce the gap above the hero by about one third */
.hero-v3-container { margin-top: 123px !important; }


/* VFCG Laufband: Aktuelle Neuigkeiten */
@keyframes vfcgTickerRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.vfcg-news-ticker { display:flex; align-items:stretch; width:100%; margin:2.25rem 0; background:#151515; border-top:1px solid rgba(255,212,0,.35); border-bottom:1px solid rgba(255,212,0,.35); overflow:hidden; }
.vfcg-news-ticker-label { display:flex; align-items:center; flex:0 0 auto; padding:0 1.25rem; background:#c90000; color:#fff; font-size:.82rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.vfcg-news-ticker-window { flex:1; min-width:0; overflow:hidden; white-space:nowrap; }
.vfcg-news-ticker-track { display:inline-flex; align-items:center; width:max-content; animation:vfcgTickerRun 42s linear infinite; }
.vfcg-news-ticker:hover .vfcg-news-ticker-track,.vfcg-news-ticker:focus-within .vfcg-news-ticker-track { animation-play-state:paused; }
.vfcg-news-ticker a,.vfcg-news-ticker-copy { display:inline-block; padding:1rem 1.35rem; color:#fff; text-decoration:none; font-weight:600; }
.vfcg-news-ticker a:hover,.vfcg-news-ticker a:focus { color:#ffd400; text-decoration:underline; }
.vfcg-news-separator { color:#ffd400; }
.vfcg-news-ticker-copy { color:#fff; }
@media (prefers-reduced-motion:reduce) { .vfcg-news-ticker-track { animation:none; white-space:normal; display:flex; flex-wrap:wrap; width:auto; } .vfcg-news-ticker-window { overflow:visible; white-space:normal; } .vfcg-news-ticker-copy { display:none; } }
/* Keep the requested moving news ticker visible on devices that prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .vfcg-news-ticker-track { animation: vfcgTickerRun 42s linear infinite !important; white-space: nowrap !important; display: inline-flex !important; flex-wrap: nowrap !important; width: max-content !important; }
  .vfcg-news-ticker-window { overflow: hidden !important; white-space: nowrap !important; }
  .vfcg-news-ticker-copy { display: inline-block !important; }
}
@media (max-width: 700px) {
  .vfcg-news-ticker { width: 100%; }
  .vfcg-news-ticker-label { padding: 0 .75rem; font-size: .72rem; }
  .vfcg-news-ticker-track { flex-wrap: nowrap !important; white-space: nowrap !important; }
}
/* Gallery: readable albums and responsive pagination */
#phocagallery .pg-item-box:has(.pg-item-box-title.category){height:auto!important;background:#181818;border-radius:12px;overflow:hidden}
#phocagallery .pg-item-box:has(.pg-item-box-title.category) .pg-item-box-info{position:static!important;width:100%!important;padding:14px!important;box-sizing:border-box;background:#181818!important}
#phocagallery .pg-item-box-title.category,#phocagallery .pg-item-box-title.category a{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.5}
#phocagallery .pg-item-box-title.category a{color:#ffe000;font-size:16px}
#phocagallery .pg-item-box-title.category>svg{display:none}
#phocagallery .pagination{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}
#phocagallery .pagination ul{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0;list-style:none}
#phocagallery .pagination li{list-style:none;margin:0}
#phocagallery .pagination li a,#phocagallery .pagination li span{display:inline-flex;min-width:42px;min-height:42px;align-items:center;justify-content:center;padding:0 10px;box-sizing:border-box;border:1px solid #665800;border-radius:7px;background:#181818;color:#ffe000;text-decoration:none}
#phocagallery .pagination li.active span{background:#c00;color:#fff}
#phocagallery .pagination select{background:#181818;color:white;border:1px solid #665800;border-radius:6px;padding:10px;max-width:100%}
#phocagallery #pgCategoryModal:not(.show){display:none}


#phocagallery .pg-item-box:has(.pg-item-box-title.category) .pg-svg-box{width:100%!important;max-width:100%!important;height:110px!important;aspect-ratio:auto!important;background:#202020!important;display:flex;justify-content:center;align-items:center}
#phocagallery .pg-item-box:has(.pg-item-box-title.category) .pg-svg-box svg{width:72px!important;height:72px!important}
#phocagallery .pg-item-box-title.category{position:static!important;background:transparent!important;width:100%!important;padding:0!important}
#phocagallery .pg-item-box:has(.pg-item-box-title.category) .pg-item-box-info{height:auto!important;min-height:80px}

#phocagallery .pagination li a span{min-width:0;min-height:0;border:0;padding:0;background:transparent;border-radius:0}
#phocagallery .pagination li.active>a{background:#c00;color:#fff;border-color:#c00}
#phocagallery .pagination__wrapper{flex-basis:100%}
#phocagallery .icon-angle-double-left:before{content:"«"}
#phocagallery .icon-angle-left:before{content:"‹"}
#phocagallery .icon-angle-right:before{content:"›"}
#phocagallery .icon-angle-double-right:before{content:"»"}
#phocagallery .pagination li.disabled{opacity:.4}

/* Consistent folder tiles, including parent navigation */
#phocagallery #pg-msnr-container:has(.pg-svg-box){display:flex!important;flex-wrap:wrap;align-items:flex-start;gap:16px}
#phocagallery .pg-item-box:has(.pg-svg-box){width:256px!important;max-width:100%!important;margin:0!important;position:relative!important;left:auto!important;top:auto!important;box-sizing:border-box;background:#181818;border-radius:12px;overflow:hidden}
#phocagallery .pg-item-box:has(.pg-svg-box) .pg-svg-box{width:100%!important;max-width:100%!important;height:110px!important;aspect-ratio:auto!important;background:#202020!important;display:flex;align-items:center;justify-content:center}
#phocagallery .pg-item-box:has(.pg-svg-box) .pg-svg-box svg{width:72px!important;height:72px!important;background:transparent!important}
#phocagallery .pg-item-box:has(.ph-si-back-medium) .pg-item-box-info:after{content:"Zurück zur Übersicht";display:block;padding:14px;color:#ffe000}
#phocagallery .pg-item-box-title.category a{display:block!important;max-width:100%!important;overflow-wrap:anywhere!important}

/* Mobile QA 2026-11-04: contact fields and booklet touch targets */
#contact-form, #contact-form fieldset, #contact-form .control-group, #contact-form .controls { min-width: 0; max-width: 100%; box-sizing: border-box; }
#contact-form input[type="text"], #contact-form input[type="email"], #contact-form textarea { width: 100%; max-width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px; }
#contact-form .control-group { margin-bottom: 12px; }
#vfcg-heft-prev, #vfcg-heft-next { min-height: 44px; min-width: 88px; padding: 10px 16px; margin: 4px 8px 12px 0; border: 1px solid #d00000; border-radius: 6px; background: #c90000; color: #fff; font-size: 16px; cursor: pointer; }
#vfcg-heft-prev:disabled, #vfcg-heft-next:disabled { opacity: .45; cursor: default; }
