/* =====================================================================
   LIVE & LOUD – Theme-Styles
   1. Design-Tokens
   2. Grundlagen
   3. Header / Navigation
   4. Hero (Slider Revolution + Fallback)
   5. Layout & Module
   6. Karten
   7. Einzelansichten
   8. Festivals
   9. Widgets / Sidebar / Footer
  10. Formulare, Buttons, Pagination
  11. WPBakery-Kompatibilitaet
  12. Responsive
   ===================================================================== */

/* 1. Design-Tokens ---------------------------------------------------- */
/*
 * Alle Werte kommen aus dem Customizer (Design > Customizer > LIVE & LOUD Theme)
 * und werden von inc/options.php als CSS-Variablen ausgegeben. Die Angaben hier
 * sind nur die Fallbacks, falls eine Einstellung fehlt.
 */
:root {
	--c-accent: var(--ll-accent, #e2334b);
	--c-accent-ink: var(--ll-accent-ink, #ffffff);
	--c-ink: var(--ll-ink, #14161a);
	--c-muted: var(--ll-muted, #5f6672);
	--c-canvas: var(--ll-canvas, #ffffff);
	--c-surface: var(--ll-surface, #f6f7f9);
	--c-line: var(--ll-line, #e4e7ec);
	--c-header: var(--ll-header-bg, #ffffff);
	--c-topbar: var(--ll-topbar-bg, #14161a);
	--c-footer: var(--ll-footer-bg, #f6f7f9);

	--radius: var(--ll-radius, 14px);
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(16, 20, 28, .06), 0 8px 24px rgba(16, 20, 28, .07);
	--gap: var(--ll-gap, 28px);

	--font-head: var(--ll-font-head, "Iowan Old Style", Palatino, Georgia, serif);
	--font-body: var(--ll-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
	--font-size: var(--ll-font-size, 17px);
	--line-height: var(--ll-line-height, 1.65);
	--head-weight: var(--ll-head-weight, 700);
	--head-spacing: var(--ll-head-spacing, -0.01em);
	--head-transform: var(--ll-head-transform, none);
	--hero-height: var(--ll-hero-height, 46vw);
}

/* 2. Grundlagen ------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--c-canvas);
	color: var(--c-ink);
	font-family: var(--font-body);
	font-size: var(--font-size);
	line-height: var(--line-height);
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	line-height: 1.18;
	margin: 0 0 .5em;
	font-weight: var(--head-weight);
	letter-spacing: var(--head-spacing);
	text-transform: var(--head-transform);
}

h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

.container {
	width: 100%;
	max-width: var(--ll-container);
	margin: 0 auto;
	padding: 0 20px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--c-accent); color: var(--c-accent-ink);
	padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 8px; top: 8px; width: auto; height: auto; clip: auto; }

.site-content { padding: 0 0 64px; }

/* 3. Header / Navigation ---------------------------------------------- */
.topbar {
	background: var(--c-topbar);
	color: #fff;
	font-size: 13px;
}
.topbar a { color: inherit; opacity: .85; }
.topbar a:hover { opacity: 1; color: var(--c-canvas); }
.topbar-menu {
	display: flex; flex-wrap: wrap; gap: 18px;
	list-style: none; margin: 0; padding: 8px 0;
}

.site-header {
	position: static; z-index: 500;
	background: var(--c-header);
	border-bottom: 1px solid var(--c-line);
}
body.ll-sticky-header .site-header { position: sticky; top: 0; }
body.ll-header-scrolled .site-header { box-shadow: var(--shadow); }

.header-inner {
	display: flex; align-items: center; gap: 24px;
	min-height: 72px;
}

.site-branding { margin-right: auto; }
.site-title {
	font-family: var(--font-head);
	font-size: 1.6rem; font-weight: 800;
	margin: 0; letter-spacing: -.02em;
}
.site-description { margin: 0; font-size: 13px; color: var(--c-muted); }
.custom-logo { max-height: 52px; width: auto; }

.primary-menu {
	display: flex; align-items: center; gap: 26px;
	list-style: none; margin: 0; padding: 0;
	font-weight: 600; font-size: 15px;
}
.primary-menu li { position: relative; }
.primary-menu > li > a { padding: 10px 0; display: inline-block; }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { color: var(--c-accent); }

.primary-menu .sub-menu {
	position: absolute; left: 0; top: 100%;
	min-width: 220px; padding: 10px 0; margin: 0;
	list-style: none;
	background: var(--c-header);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	display: none; z-index: 20;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { display: block; padding: 8px 16px; font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.search-toggle,
.menu-toggle {
	background: none; border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	width: 42px; height: 42px;
	cursor: pointer; color: inherit;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 18px;
}
.menu-toggle { display: none; }
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
	display: block; width: 18px; height: 2px;
	background: currentColor; position: relative;
}
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

.header-search {
	border-top: 1px solid var(--c-line);
	background: var(--c-surface);
	padding: 18px 0;
}

/* 4. Hero -------------------------------------------------------------- */
.ll-hero { position: relative; }
.ll-hero--slider { margin: 0; }

.ll-hero--fallback {
	background-size: cover; background-position: center;
	color: #fff;
	position: relative;
	min-height: clamp(300px, var(--hero-height), 720px);
	display: flex; align-items: flex-end;
}
.ll-hero--fallback::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10, 12, 16, .1) 0%, rgba(10, 12, 16, .82) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 48px 20px; max-width: 760px; }
.hero-kicker {
	display: inline-block; margin-bottom: 12px;
	background: var(--c-accent); color: var(--c-accent-ink);
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	padding: 5px 10px; border-radius: 4px;
}
.hero-title { color: #fff; margin-bottom: .3em; }
.hero-title a { color: #fff; }
.hero-excerpt { color: rgba(255, 255, 255, .88); font-size: 1.05rem; }

/* 5. Layout & Module --------------------------------------------------- */
.site-main { padding-top: 40px; }
.site-main--full { padding-top: 0; }

.layout { display: block; }
.layout.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}

.breadcrumbs {
	font-size: 13px; color: var(--c-muted);
	margin-bottom: 20px;
}
.breadcrumbs a:hover { color: var(--c-accent); }

.page-header { margin-bottom: 32px; }
.page-title { margin-bottom: .2em; }
.archive-description { color: var(--c-muted); max-width: 70ch; }

.ll-module { margin: 0 0 64px; }

.section-head {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 16px; margin-bottom: 24px;
	border-bottom: 2px solid var(--c-ink);
	padding-bottom: 10px;
}
.section-head.align-center { justify-content: center; text-align: center; }
.section-title { margin: 0; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); }
.section-subtitle { color: var(--c-muted); margin: 6px 0 0; }
.section-more {
	font-size: 14px; font-weight: 600; color: var(--c-accent);
	white-space: nowrap;
}

/* 6. Karten ------------------------------------------------------------ */
.card-grid {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	background: var(--c-canvas);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Karten-Stil aus dem Customizer (Layout > Karten-Stil) */
body.ll-cards-shadow .card { border-color: transparent; box-shadow: var(--shadow); }
body.ll-cards-flat .card { border: 0; background: transparent; border-radius: 0; }
body.ll-cards-flat .card:hover { box-shadow: none; }
body.ll-cards-flat .card-media { border-radius: var(--radius); }
body.ll-cards-flat .card-body { padding: 16px 0 0; }

.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media--empty { background: linear-gradient(135deg, var(--c-surface), var(--c-line)); }

.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }

.entry-kicker {
	font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
	color: var(--c-accent);
}
.card-title { font-size: 1.15rem; margin: 0; }
.card-excerpt { color: var(--c-muted); font-size: 15px; margin: 0; }
.card-date, .card-location { font-size: 14px; color: var(--c-muted); margin: 0; }
.card-date { font-weight: 600; color: var(--c-accent); }

.entry-meta {
	display: flex; flex-wrap: wrap; gap: 14px;
	font-size: 13px; color: var(--c-muted);
}

/* Erste Karte im Startseiten-Raster als Aufmacher */
.module-latest .card-grid > .card:first-child {
	grid-column: span 2;
	flex-direction: row;
}
.module-latest .card-grid > .card:first-child .card-link { flex: 1 1 55%; }
.module-latest .card-grid > .card:first-child .card-media { height: 100%; aspect-ratio: auto; min-height: 260px; }
.module-latest .card-grid > .card:first-child .card-body { flex: 1 1 45%; justify-content: center; }
.module-latest .card-grid > .card:first-child .card-title { font-size: 1.6rem; }

/* 7. Einzelansichten ---------------------------------------------------- */
.single-entry .entry-header { max-width: 76ch; margin-bottom: 28px; }
.entry-title { margin-bottom: .25em; }
.entry-lead { font-size: 1.2rem; color: var(--c-muted); }

.entry-media { margin: 0 0 32px; }
.entry-media img { width: 100%; border-radius: var(--radius); }
.entry-media figcaption { font-size: 13px; color: var(--c-muted); padding-top: 8px; }

.entry-content { max-width: 76ch; }
.layout.has-sidebar .entry-content { max-width: none; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content blockquote {
	margin: 1.8em 0; padding: 4px 0 4px 22px;
	border-left: 3px solid var(--c-accent);
	font-family: var(--font-head); font-size: 1.2rem;
}
.entry-content figure { margin: 1.8em 0; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }

.entry-footer { margin-top: 36px; }
.entry-tags a {
	display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px;
	background: var(--c-surface); border-radius: 999px;
	font-size: 13px;
}

.comments-area { margin-top: 56px; border-top: 1px solid var(--c-line); padding-top: 32px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--c-line); }

/* 8. Festivals ---------------------------------------------------------- */
.festival-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px; align-items: start;
}

.festival-headline-meta {
	display: flex; flex-wrap: wrap; gap: 16px;
	font-weight: 600; color: var(--c-muted);
}
.festival-headline-meta .festival-date { color: var(--c-accent); }

.festival-facts {
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 24px;
	position: sticky; top: 96px;
}
.festival-facts h2 { font-size: 1.1rem; }
.festival-facts dl { margin: 0 0 18px; }
.festival-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--c-muted); }
.festival-facts dd { margin: 0 0 14px; font-weight: 600; }
.festival-facts .button { width: 100%; margin-bottom: 10px; }

.lineup-list {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; gap: 8px;
}
.lineup-list li {
	background: var(--c-surface); border: 1px solid var(--c-line);
	padding: 6px 12px; border-radius: 999px; font-size: 14px;
}

/* 9. Widgets / Sidebar / Footer ------------------------------------------ */
.widget { margin-bottom: 36px; }
.widget-title {
	font-size: 1rem; text-transform: uppercase; letter-spacing: .07em;
	border-bottom: 2px solid var(--c-ink); padding-bottom: 8px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; }

.site-footer {
	background: var(--c-footer);
	border-top: 1px solid var(--c-line);
	padding: 56px 0 32px;
	margin-top: 64px;
}
.footer-widgets {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gap); margin-bottom: 40px;
}
.footer-bottom {
	display: flex; flex-wrap: wrap; gap: 16px 32px;
	align-items: center; justify-content: space-between;
	border-top: 1px solid var(--c-line); padding-top: 22px;
	font-size: 14px; color: var(--c-muted);
}
.footer-menu, .legal-menu {
	display: flex; flex-wrap: wrap; gap: 18px;
	list-style: none; margin: 0; padding: 0;
}

.scroll-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 400;
	width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid var(--c-line);
	background: var(--c-canvas); color: var(--c-ink);
	box-shadow: var(--shadow); cursor: pointer; font-size: 18px;
}

/* 10. Formulare, Buttons, Pagination -------------------------------------- */
.button,
button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px; padding: 11px 20px;
	border-radius: var(--radius-sm); border: 1px solid transparent;
	font-weight: 600; font-size: 15px; cursor: pointer;
	font-family: inherit;
}
.button-accent { background: var(--c-accent); color: var(--c-accent-ink); }
.button-accent:hover { filter: brightness(.93); color: var(--c-accent-ink); }
.button-ghost { background: transparent; border-color: var(--c-line); color: var(--c-ink); }

.search-form { display: flex; gap: 10px; max-width: 620px; }
.search-field {
	flex: 1; padding: 11px 14px;
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	background: var(--c-canvas); color: var(--c-ink); font: inherit; font-size: 15px;
}

input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
	max-width: 100%;
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	padding: 11px 14px; font: inherit;
	background: var(--c-canvas); color: var(--c-ink);
}

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	font-weight: 600; font-size: 15px;
}
.pagination .page-numbers.current {
	background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink);
}

.no-results { padding: 40px 0 64px; max-width: 70ch; }
.error-code { font-family: var(--font-head); font-size: 5rem; color: var(--c-accent); margin: 0; line-height: 1; }

/* 10b. Termindatenbank ------------------------------------------------------ */
/* Einstieg */
.db-hero {
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-line);
	padding: 56px 0 48px;
	margin-bottom: 40px;
}
.db-hero .hero-kicker { position: static; }
.db-hero .hero-title { color: var(--c-ink); margin-bottom: .2em; }
.db-hero .hero-excerpt { color: var(--c-muted); max-width: 62ch; }

.db-header { margin-bottom: 20px; }

.db-entry-grid {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap); margin-bottom: 32px;
}
.db-entry {
	display: block; padding: 28px;
	border: 1px solid var(--c-line); border-radius: var(--radius);
	background: var(--c-canvas);
	transition: transform .18s ease, box-shadow .18s ease;
}
.db-entry:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.db-entry h2 { margin: 8px 0 10px; }
.db-entry p { color: var(--c-muted); margin-bottom: 14px; }
.db-entry-cta { font-weight: 700; color: var(--c-accent); }
.db-entry--festival { border-top: 4px solid var(--c-accent); }
.db-entry--concert { border-top: 4px solid var(--c-ink); }

/* Filterleiste */
.event-filter {
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 16px 18px;
	margin-bottom: 28px;
}
.event-filter-row {
	display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px;
}
.event-filter-field { display: flex; flex-direction: column; gap: 5px; min-width: 160px; }
.event-filter-field > span {
	font-size: 12px; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; color: var(--c-muted);
}
.event-filter-field select,
.event-filter-field input {
	padding: 9px 12px; font: inherit; font-size: 15px;
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	background: var(--c-canvas); color: var(--c-ink);
}
.event-filter-field--search { flex: 1 1 220px; }
.event-filter-reset { font-size: 14px; color: var(--c-muted); text-decoration: underline; }

/* Stadt-Chips */
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.city-chip {
	display: inline-block; padding: 6px 14px;
	border: 1px solid var(--c-line); border-radius: 999px;
	font-size: 14px; font-weight: 600; background: var(--c-canvas);
}
.city-chip:hover { border-color: var(--c-accent); color: var(--c-accent); }
.city-chip.is-active { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }

/* Listenansicht Konzerte */
.event-month {
	font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em;
	color: var(--c-muted); border-bottom: 1px solid var(--c-line);
	padding-bottom: 8px; margin: 36px 0 14px;
}
.event-list { display: flex; flex-direction: column; }
.event-row {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto;
	gap: 20px; align-items: center;
	padding: 18px 0; border-bottom: 1px solid var(--c-line);
}
.event-row-date {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	padding: 10px 6px; background: var(--c-surface);
}
.event-row-day { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.event-row-month { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-accent); font-weight: 700; }
.event-row-weekday { font-size: 12px; color: var(--c-muted); }
.event-row-title { margin: 0 0 4px; font-size: 1.2rem; }
.event-row-tour { margin: 0 0 4px; color: var(--c-muted); font-size: 15px; }
.event-row-place { margin: 0; font-size: 15px; }
.event-row-time { color: var(--c-muted); margin-left: 8px; }
.event-row-support { margin: 4px 0 0; font-size: 14px; color: var(--c-muted); }
.event-row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* Planer-Mini-Karten */
.mini-grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}
.mini-card {
	display: flex; flex-direction: column; gap: 4px;
	padding: 14px 16px;
	border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	background: var(--c-canvas);
}
.mini-card:hover { border-color: var(--c-accent); }
.mini-date { font-size: 13px; font-weight: 700; color: var(--c-accent); }
.mini-title { font-family: var(--font-head); font-weight: 700; line-height: 1.25; }
.mini-city { font-size: 13px; color: var(--c-muted); }

/* Karten der Datenbank */
.card-acts { font-size: 14px; color: var(--c-muted); margin: 0; }
.card-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Einzelansicht */
.event-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px; align-items: start;
}
.event-headline-meta {
	display: flex; flex-wrap: wrap; gap: 16px;
	font-weight: 600; color: var(--c-muted);
}
.event-headline-meta .event-date { color: var(--c-accent); }
.event-facts {
	background: var(--c-surface);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 24px; position: sticky; top: 96px;
}
.event-facts h2 { font-size: 1.1rem; }
.event-facts dl { margin: 0 0 18px; }
.event-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--c-muted); }
.event-facts dd { margin: 0 0 14px; font-weight: 600; }
.event-facts .button { width: 100%; margin-bottom: 10px; }
.event-facts-terms { margin-top: 16px; }

/* 11. WPBakery-Kompatibilitaet --------------------------------------------- */
/* Builder-Seiten: kein Container, damit "Stretch row" greift. */
body.ll-builder .site-main { padding-top: 0; }
body.ll-builder .builder-entry { max-width: none; }
.builder-entry > .vc_row,
.front-builder > .vc_row { margin-left: 0; margin-right: 0; }

/* WPBakery-Inhalt innerhalb normaler Seiten sauber begrenzen. */
.entry-content .vc_row[data-vc-full-width="true"] { max-width: 100vw; }

/* Standardabstaende der WPBakery-Reihen an das Theme angleichen. */
.vc_row.ll-section { padding: 64px 0; }
.wpb_text_column p:last-child { margin-bottom: 0; }
.vc_btn3.vc_btn3-color-liveloud { background-color: var(--c-accent); color: var(--c-accent-ink); }

/* Slider-Revolution-Container: keine Randabstaende erben. */
.ll-hero--slider .rev_slider_wrapper,
.ll-hero--slider rs-module-wrap { margin: 0 !important; }

/* 12. Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
	.layout.has-sidebar,
	.festival-layout,
	.event-layout { grid-template-columns: 1fr; gap: 40px; }
	.festival-facts, .event-facts { position: static; }
	.mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.menu-toggle { display: inline-flex; }

	.main-navigation {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--c-canvas);
		border-bottom: 1px solid var(--c-line);
		box-shadow: var(--shadow);
		display: none;
	}
	.main-navigation.is-open { display: block; }
	.primary-menu {
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 8px 20px 20px;
	}
	.primary-menu > li > a { padding: 12px 0; border-bottom: 1px solid var(--c-line); display: block; }
	.primary-menu .sub-menu {
		position: static; display: block; border: 0; box-shadow: none;
		padding: 0 0 0 14px;
	}

	.module-latest .card-grid > .card:first-child { grid-column: span 2; flex-direction: column; }
	.module-latest .card-grid > .card:first-child .card-media { min-height: 0; aspect-ratio: 16 / 10; }
	.module-latest .card-grid > .card:first-child .card-title { font-size: 1.3rem; }
}

@media (max-width: 860px) {
	.db-entry-grid { grid-template-columns: 1fr; }
	.mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.event-row { grid-template-columns: 64px minmax(0, 1fr); }
	.event-row-actions { grid-column: 2; justify-content: flex-start; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.mini-grid { grid-template-columns: 1fr; }
	.event-filter-field { min-width: 0; flex: 1 1 100%; }
	.card-grid, .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
	.footer-widgets { grid-template-columns: 1fr; }
	.module-latest .card-grid > .card:first-child { grid-column: auto; }
	.search-form { flex-direction: column; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}
