/* ARTIFX Events – ergänzende Gestaltung (Farben/Schriftgrößen bleiben in theme.json).
   Diese Datei enthält das globale Layoutsystem (site-section / site-shell), Sticky-Header,
   Sprungmarken-Abstand, Karten-/Akkordeon-Optik, Fokuszustände und reduzierte Bewegung. */

/* ============================================================
   0. Grundraster / Sprungmarken
   ============================================================ */
html {
	scroll-behavior: smooth;
	/* Der Header ist mit dem neuen, etwas höheren Showtech-Connect-Logo
	   auf Desktop ca. 113.5px hoch (vorher 89.5px mit dem ArtiFX-Logo) —
	   Wert entsprechend mit Sicherheitsabstand nachgezogen. */
	scroll-padding-top: 130px;
}

/* overflow-x:clip statt hidden — hidden würde einen neuen Scroll-Kontext auf
   body erzeugen und dadurch position:sticky im Header zuverlässig brechen. */
body {
	overflow-x: clip;
}

/* Jeder Abschnitt ist eine Sprungmarke — Überschrift darf nicht hinter der
   sticky Navbar verschwinden. */
.site-section {
	scroll-margin-top: 130px;
}

@media (max-width: 781px) {
	html {
		scroll-padding-top: 88px;
	}

	.site-section {
		scroll-margin-top: 88px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ============================================================
   1. Globales Layoutsystem: site-section (voll breit) + site-shell (zentriert)
   ============================================================ */
.site-shell {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 20px;
}

@media (min-width: 600px) {
	.site-shell {
		padding-inline: 32px;
	}
}

@media (min-width: 1100px) {
	.site-shell {
		padding-inline: clamp(32px, 4vw, 64px);
	}
}

/* Fließtext-Höchstbreite innerhalb des Shells, wo Lesbarkeit zählt. */
.site-shell :where(p, li) {
	max-width: 68ch;
}

.site-section {
	padding-block: 3.5rem;
}

@media (min-width: 600px) {
	.site-section {
		padding-block: 4.5rem;
	}
}

@media (min-width: 1100px) {
	.site-section {
		padding-block: 6rem;
	}
}

.site-section {
	position: relative;
}

.site-section--base {
	background-color: var(--wp--preset--color--base);
}

.site-section--surface {
	background-color: var(--wp--preset--color--surface);
}

/* Beide Varianten geben absichtlich dasselbe Grün aus (siehe theme.json) —
   Struktur entsteht künftig über Abstand, Rahmen und Dekoration, nicht über
   wechselnde Flächenfarben. Die Klassen bleiben nur für spätere Feinjustierung
   technisch bestehen. */

/* Die Hero- und Abschluss-CTA-Cover-Blöcke referenzieren weiterhin ein
   Hintergrundbild (Gutenberg-Editor bleibt dadurch unverändert bedienbar),
   das Leiterbahn-Hintergrundbild selbst darf auf der Website aber nirgends
   mehr sichtbar sein — nur die einheitliche grüne Fläche. */
.site-section.wp-block-cover .wp-block-cover__image-background {
	display: none;
}

.site-section.wp-block-cover > .wp-block-cover__background {
	opacity: 1 !important;
	background-color: var(--wp--preset--color--base) !important;
}

/* Abschnittslabel → Überschrift → Einleitung → Inhalt: einheitliche Abstände. */
.section-label {
	margin-bottom: 1rem;
}

.section-label + :is(h1, h2, h3) {
	margin-top: 0;
}

.site-section :is(h1, h2, h3).section-heading + p {
	margin-top: 1.5rem;
}

.section-intro {
	margin-top: 1.5rem;
	margin-bottom: 2.5rem;
	max-width: 68ch;
}

/* ============================================================
   2. Sichtbarer Fokuszustand für Tastaturbedienung (Audit-Fund F-008,
   deckt Links, Buttons, Formularfelder und Akkordeons einheitlich ab).
   ============================================================ */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-2);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ============================================================
   3. Skip-Link
   ============================================================ */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--button-text);
	padding: 0.75em 1.25em;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* ============================================================
   4. Sticky Header — berücksichtigt die WordPress-Adminleiste im
   angemeldeten Zustand, damit Logo/Navigation nie verdeckt werden.

   position:sticky sitzt bewusst auf dem äußeren <header>-Template-Part-
   Wrapper, nicht auf .site-header selbst: .site-header ist exakt so hoch
   wie sein einziges Kind, wäre also sein eigener Containing Block ohne
   jeden Spielraum — der Header würde nach wenigen Pixeln Scroll wieder
   wie position:static wirken. Der Template-Part-Wrapper liegt dagegen
   direkt in .wp-site-blocks (Höhe der gesamten Seite) und bietet den
   nötigen Spielraum, damit das Sticky-Verhalten über die ganze Seite hält.
   ============================================================ */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 1000;
}

.site-header {
	/* Volldeckend und identisch zur Seitenfläche — keine Transparenz, die beim
	   Scrollen über wechselndem Untergrund einen abweichenden Grünton erzeugt. */
	background-color: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

body.admin-bar header.wp-block-template-part {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar header.wp-block-template-part {
		top: 46px;
	}
}

/* ============================================================
   5. Karten, Infoboxen, Akkordeons: große Rundung (26px) nur hier —
   niemals auf ganze, bildschirmbreite Abschnitte (site-section).
   ============================================================ */
.tech-frame {
	position: relative;
	border: 1.5px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
}

.tech-frame::before,
.tech-frame::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 22px;
	border: 2px solid var(--wp--preset--color--accent);
	opacity: 0.9;
	pointer-events: none;
}

.tech-frame::before {
	top: 10px;
	left: 10px;
	border-right: none;
	border-bottom: none;
	border-top-left-radius: 10px;
}

.tech-frame::after {
	bottom: 10px;
	right: 10px;
	border-left: none;
	border-top: none;
	border-bottom-right-radius: 10px;
}

.wp-block-image img,
.wp-block-cover.is-rounded {
	border-radius: var(--wp--custom--radius--card);
}

/* Gleich hohe Karten in einer Reihe (Highlights u. Ä.): der umgebende
   core/columns-Block bekommt diese Klasse, die Spalten strecken sich. */
.equal-height-cards {
	align-items: stretch;
}

.equal-height-cards > .wp-block-column.tech-card {
	display: flex;
	flex-direction: column;
}

.tech-card {
	transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.tech-card:hover {
	transform: translateY(-6px);
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   6. Abschnittslabel ("Eyebrow") — Body-Schrift, nicht die Markenschrift.
   ============================================================ */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-2);
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 1px;
	background: var(--wp--preset--color--accent-2);
}

/* Reine Textlabels statt Emoji (Audit-Fund: Emojis passen nicht zur
   technischen Markengestaltung). */
.meta-label {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-2);
	margin-right: 0.5em;
}

/* ============================================================
   7. Preis-/Platzhalter-Kennzeichnung
   ============================================================ */
.price-figure {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem);
	color: var(--wp--preset--color--accent);
	letter-spacing: 0.02em;
}

.placeholder-tag {
	display: inline-block;
	border: 1px dashed var(--wp--preset--color--accent-2);
	color: var(--wp--preset--color--accent-2);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.3em 0.7em;
}

@media (max-width: 600px) {
	.price-figure {
		font-size: 2rem;
	}
}

/* ============================================================
   8. FAQ: dauerhaft sichtbare Frage/Antwort-Blöcke. Kein Akkordeon mehr
   (Nachtrag: FAQ- und Ablaufinhalte müssen ohne Klick vollständig im
   Server-HTML sichtbar sein) — Trennung nur über eine dezente Linie,
   keine Karten-Box, damit die Liste als fließender Lesetext wirkt.
   ============================================================ */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.faq-list > .faq-qa:not(:first-child) {
	border-top: 1px solid var(--wp--preset--color--line);
	padding-top: 1.75rem;
}

.faq-question {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--wp--preset--color--contrast);
}

.faq-qa > *:not(:first-child) {
	margin-top: 0.75rem;
}

/* ============================================================
   9. Buttons: Hover-Glühen, deaktivierter Zustand (nur .cta-disabled)
   ============================================================ */
.wp-block-button__link {
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(224, 179, 105, 0.35);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	transform: translateY(-2px);
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}

/* Der Seitenhintergrund ist jetzt überall dasselbe Grün (siehe Abschnitt 1);
   direkt auf dieser Fläche unterschreitet der reguläre Gold-Ton (Link-Farbe)
   knapp den nötigen Kontrast (4.44:1 statt 4.5:1) für Outline-Buttons ohne
   Füllung. Minimal aufgehellter Goldton nur für diesen Fall, optisch praktisch
   identisch, WCAG-AA-konform (~4.7:1). */
.wp-block-button.is-style-outline .wp-block-button__link {
	color: #e2b975;
	border-color: #e2b975;
}

.cta-disabled .wp-block-button__link {
	pointer-events: none;
	cursor: not-allowed;
	box-shadow: none;
	background-color: var(--wp--preset--color--muted) !important;
	color: var(--wp--preset--color--button-text) !important;
}

.cta-disabled .wp-block-button__link:hover {
	transform: none;
	box-shadow: none;
}

/* Hervorgehobener CTA innerhalb der Navigation (pillenförmig, wie die Buttons) */
.wp-block-navigation-item.nav-cta > a {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--button-text) !important;
	padding: 0.55em 1.3em;
	border-radius: var(--wp--custom--radius--pill);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-navigation-item.nav-cta > a:hover {
	background: var(--wp--preset--color--accent-2);
	color: var(--wp--preset--color--button-text) !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(154, 207, 130, 0.35);
}

.wp-block-navigation-item.nav-cta.cta-disabled > a {
	pointer-events: none;
	cursor: not-allowed;
	background-color: var(--wp--preset--color--muted) !important;
	color: var(--wp--preset--color--button-text) !important;
}

/* ============================================================
   10. Dezente Eingangsanimation: reine CSS-Animation (kein JS).
   ============================================================ */
@keyframes artifx-fade-up {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.reveal {
	animation: artifx-fade-up 0.7s ease both;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		animation: none;
	}

	.tech-card {
		transition: none;
	}

	.tech-card:hover {
		transform: none;
		box-shadow: none;
	}

	.wp-block-button__link,
	.wp-block-navigation-item.nav-cta > a,
	.site-header {
		transition: none;
	}

	.wp-block-button__link:hover,
	.wp-block-navigation-item.nav-cta > a:hover {
		transform: none;
	}
}

/* ============================================================
   11. Header-Navigation: eigener Umschaltpunkt statt WordPress-Standard
   (600px). Unterhalb 1100px wechselt die Navigation kontrolliert ins
   mobile Menü, statt bei knappem Platz zweizeilig umzubrechen.
   ============================================================ */
@media (min-width: 600px) and (max-width: 1099px) {
	.site-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex !important;
	}

	.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
}

/* Mobiles Menü darf niemals durch overflow/Sticky-Kontext abgeschnitten werden. */
.wp-block-navigation__responsive-container.is-menu-open {
	overflow-y: auto;
	max-height: 100vh;
}

/* ============================================================
   12. Ambiente-Dekoration: vereinzelte Sterne & Eye-Wasserzeichen
   ============================================================
   Ersetzt die frühere flächige Leiterbahn-/Raster-Optik. Alle Formen stammen
   aus den Original-Markenassets (ARTIX-Ordner, stars-static.svg / eye-radial-
   gold.png) — hier nur eingefärbt auf die freigegebenen Dekorfarben und
   einzeln statt als Wiederholmuster platziert. Rein dekorativ: nie im
   Accessibility-Baum (Pseudo-Elemente), nie klickbar, hinter dem Inhalt,
   auf Mobil ausgeblendet. */
.site-section#event::before,
.site-section#event::after,
.site-section#highlights::before,
.site-section#programme::before,
.site-section#programme::after,
.site-section#venue::before,
.site-section#tickets::before,
.site-section#hotel::before,
.site-section#faq::before,
.site-section.wp-block-cover:has(+ .site-footer)::before,
.site-section.wp-block-cover:has(+ .site-footer)::after {
	content: "";
	position: absolute;
	/* Über dem undurchsichtigen Cover-Overlay (Hero/Abschluss-CTA), aber unter
	   dem eigentlichen Inhalt (site-shell / inner-container, siehe unten). */
	z-index: 1;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
}

/* -- Sterne: vier Originalformen aus stars-static.svg, zwei Größen, Gold/Salbei -- */
.site-section#event::before {
	top: 9%;
	right: 6%;
	width: 22px;
	height: 22px;
	opacity: 0.55;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.5 -1.5 20.1 20.1'%3E%3Cpath d='M8.5,0 Q9.9,7.2 17.1,8.6 Q9.9,9.9 8.5,17.1 Q7.2,9.9 0,8.6 Q7.2,7.2 8.5,0 Z' fill='%23E0B369'/%3E%3C/svg%3E");
}

.site-section#event::after {
	bottom: 14%;
	left: 3.5%;
	width: 13px;
	height: 13px;
	opacity: 0.4;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 8 8'%3E%3Cpath d='M3,0 Q3.5,2.5 6,3 Q3.5,3.5 3,6 Q2.5,3.5 0,3 Q2.5,2.5 3,0 Z' fill='%239ACF82'/%3E%3C/svg%3E");
}

.site-section#highlights::before {
	top: 7%;
	left: 2.5%;
	width: 16px;
	height: 16px;
	opacity: 0.45;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 9.7 9.7'%3E%3Cpath d='M3.8,0 Q4.5,3.2 7.7,3.8 Q4.5,4.5 3.8,7.7 Q3.2,4.5 0,3.8 Q3.2,3.2 3.8,0 Z' fill='%23E0B369'/%3E%3C/svg%3E");
}

.site-section#programme::before {
	top: 18%;
	right: 2.8%;
	width: 24px;
	height: 24px;
	opacity: 0.4;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1.5 -1.5 16.3 16.4'%3E%3Cpath d='M6.7,0 Q7.7,5.6 13.3,6.7 Q7.7,7.8 6.7,13.4 Q5.6,7.8 0,6.7 Q5.6,5.6 6.7,0 Z' fill='%239ACF82'/%3E%3C/svg%3E");
}

.site-section#programme::after {
	bottom: 10%;
	left: 3%;
	width: 13px;
	height: 13px;
	opacity: 0.4;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 8 8'%3E%3Cpath d='M3,0 Q3.5,2.5 6,3 Q3.5,3.5 3,6 Q2.5,3.5 0,3 Q2.5,2.5 3,0 Z' fill='%23E0B369'/%3E%3C/svg%3E");
}

.site-section#tickets::before {
	top: 8%;
	right: 3%;
	width: 16px;
	height: 16px;
	opacity: 0.45;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 9.7 9.7'%3E%3Cpath d='M3.8,0 Q4.5,3.2 7.7,3.8 Q4.5,4.5 3.8,7.7 Q3.2,4.5 0,3.8 Q3.2,3.2 3.8,0 Z' fill='%23E0B369'/%3E%3C/svg%3E");
}

.site-section#hotel::before {
	bottom: 9%;
	left: 2.8%;
	width: 18px;
	height: 18px;
	opacity: 0.4;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 8 8'%3E%3Cpath d='M3,0 Q3.5,2.5 6,3 Q3.5,3.5 3,6 Q2.5,3.5 0,3 Q2.5,2.5 3,0 Z' fill='%239ACF82'/%3E%3C/svg%3E");
}

.site-section.wp-block-cover:has(+ .site-footer)::before {
	top: 12%;
	left: 4%;
	width: 16px;
	height: 16px;
	opacity: 0.45;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 9.7 9.7'%3E%3Cpath d='M3.8,0 Q4.5,3.2 7.7,3.8 Q4.5,4.5 3.8,7.7 Q3.2,4.5 0,3.8 Q3.2,3.2 3.8,0 Z' fill='%23E0B369'/%3E%3C/svg%3E");
}

.site-section.wp-block-cover:has(+ .site-footer)::after {
	bottom: 16%;
	right: 5%;
	width: 12px;
	height: 12px;
	opacity: 0.4;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 8 8'%3E%3Cpath d='M3,0 Q3.5,2.5 6,3 Q3.5,3.5 3,6 Q2.5,3.5 0,3 Q2.5,2.5 3,0 Z' fill='%239ACF82'/%3E%3C/svg%3E");
}

/* -- Eye-Wasserzeichen: dieselbe Grafik wie das Hero-/CTA-Emblem, hier klein
   und sehr dezent als ruhiger Blickpunkt am Rand, nicht als Vollbild. -- */
.site-section#venue::before {
	top: 50%;
	right: 2%;
	width: 130px;
	height: 130px;
	transform: translateY(-50%);
	opacity: 0.1;
	background-image: url("../decor/eye-motif-gold.png");
}

.site-section#faq::before {
	top: 8%;
	left: 2%;
	width: 100px;
	height: 100px;
	opacity: 0.09;
	background-image: url("../decor/eye-motif-gold.png");
}

/* Auf Mobil reduziert: Sterne/Eyes ausblenden, damit schmale Viewports ruhig
   und ohne jedes Überlaufrisiko bleiben. */
@media (max-width: 680px) {
	.site-section#event::before,
	.site-section#event::after,
	.site-section#highlights::before,
	.site-section#programme::before,
	.site-section#programme::after,
	.site-section#venue::before,
	.site-section#tickets::before,
	.site-section#hotel::before,
	.site-section#faq::before,
	.site-section.wp-block-cover:has(+ .site-footer)::before,
	.site-section.wp-block-cover:has(+ .site-footer)::after {
		display: none;
	}
}

/* Dekoration liegt hinter dem Inhalt; site-shell braucht dafür einen eigenen
   Stapelkontext oberhalb der Pseudo-Elemente (und, bei Hero/Abschluss-CTA,
   oberhalb des jetzt volldeckenden Cover-Overlays). */
.site-section > .site-shell,
.site-section > .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

/* ============================================================
   13. Confirmed-event logo (Hero) & Speaker-Karten
   ============================================================ */
.hero-event-logo {
	margin: 0 0 1rem;
}

.hero-event-logo img {
	display: block;
	height: auto;
	/* ~180px at a 390px viewport, saturating at 300px from ~600px up —
	   covers the mobile (180–220px) and desktop (280–320px) targets from
	   one fluid rule instead of a breakpoint jump. */
	width: clamp(180px, 50vw, 300px);
}

/* Hero-Medienplatz (nativer core/media-text-Block): rechts liegt das jeweils
   hinterlegte Medium — aktuell das animierte GIF, später ggf. ein anderes Bild
   oder ein Video. Die vertikale Zentrierung zur gesamten Textspalte übernimmt
   der Block selbst (is-vertically-aligned-center → align-self:center); hier
   wird ausschließlich die Darstellungsgröße begrenzt, damit ein ausgetauschtes
   Medium dieselbe Fläche einnimmt. Keine Medien-URL im CSS. */
.hero-media-slot .wp-block-media-text__media {
	text-align: center;
}

.hero-media-slot .wp-block-media-text__media img,
.hero-media-slot .wp-block-media-text__media video {
	display: block;
	width: 100%;
	max-width: 220px;
	height: auto;
	margin-inline: auto;
}

/* Der Core-Block gibt dem Inhaltsbereich 8% Innenabstand — im Hero liefert
   bereits .site-shell den Außenabstand, sonst rückt der Text ein. */
.hero-media-slot > .wp-block-media-text__content {
	padding: 0;
}

/* Unter 782px stapeln (derselbe Umbruchpunkt wie zuvor bei den Spalten):
   Medium unter den Inhalt, mit moderatem Abstand statt großer Leerfläche. */
@media (max-width: 781px) {
	.hero-media-slot {
		display: block;
	}

	.hero-media-slot .wp-block-media-text__media {
		margin-top: 2rem;
	}

	.hero-media-slot .wp-block-media-text__media img,
	.hero-media-slot .wp-block-media-text__media video {
		max-width: 180px;
	}
}

.speaker-photo {
	margin: 0 0 0.25rem;
}

.speaker-photo img {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	object-fit: cover;
	border: 1.5px solid var(--wp--preset--color--line);
}

/* ============================================================
   14. Event Overview: sticky Booking-Karte
   ============================================================
   Die Spalte muss auf die Höhe der linken (Text-)Spalte gestreckt werden,
   sonst hat die Karte keinen Raum, um beim Scrollen "mitzuwandern" — daher
   hier gezielt align-items:stretch statt des von are-vertically-aligned-top
   ererbten flex-start, nur für diesen Abschnitt. */
/* !important: WordPress' auto-generierte Block-Support-Layoutklasse
   (wp-container-core-columns-is-layout-*) konkurriert unvorhersehbar mit
   der are-vertically-aligned-top-Utility-Klasse um align-items — nur so
   gewinnt der Override zuverlässig. */
#overview .wp-block-columns {
	align-items: stretch !important;
}

.booking-card {
	border-color: var(--wp--preset--color--accent);
}

@media (min-width: 782px) {
	.booking-card {
		position: sticky;
		/* Muss den tatsächlichen Header (113.5px) sicher unterschreiten —
		   sonst überlappt die Karte kurzzeitig die Navbar beim Ansticken. */
		top: 130px;
		align-self: start;
	}
}

/* ============================================================
   17. FAQ-Kategorien: klar sichtbare Zwischenüberschriften je Gruppe.
   ============================================================ */
.faq-category {
	color: var(--wp--preset--color--accent-2);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

/* ============================================================
   16. Navbar-Logo (Showtech Connect, ersetzt das frühere ArtiFX-Logo
   nur im Header — im Footer bleibt ArtiFX als Trägermarke bestehen)
   ============================================================ */
.site-header-logo {
	margin: 0;
	line-height: 0;
	flex-shrink: 0;
}

.site-header-logo img {
	display: block;
	height: auto;
	width: 220px;
	max-width: 40vw;
}

@media (max-width: 600px) {
	.site-header-logo img {
		width: 160px;
	}
}

/* ============================================================
   18. Screen-reader-only text (Standard-WordPress-Pattern) — versteckt
   Inhalte ausschließlich visuell, bleibt für Screenreader und SEO
   vollständig erhalten. Bewusst nicht display:none/visibility:hidden.
   ============================================================ */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* ============================================================
   19. Hero: kompakter auf Mobil, seit die sichtbare H1 entfällt.
   min-height:680px (inline auf dem Cover-Block) gilt sonst auf allen
   Breakpoints gleich — genau das drückte Datum/Ort/CTA auf Mobil unter
   die erste Bildschirmseite. Feste Section-Paddings (spacing|60) sind
   in theme.json ebenfalls nicht responsiv, daher hier gezielt überschrieben.
   ============================================================ */
@media (max-width: 600px) {
	#event.wp-block-cover {
		min-height: auto !important;
		padding-top: 2rem !important;
		padding-bottom: 2.5rem !important;
	}
}

/* ============================================================
   20. Footer: rundes ArtiFX-Logo & Online-Marketing-Westfalen-Backlink
   ============================================================ */
.footer-logo {
	margin: 0 0 1rem;
	line-height: 0;
}

.footer-logo img {
	display: block;
	/* ~130px Desktop, ~95px auf einem 390px-Viewport — ein Regler statt
	   eines Breakpoint-Sprungs. */
	width: clamp(90px, 24vw, 130px);
	height: auto;
}

.omw-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.omw-link:hover,
.omw-link:focus-visible {
	color: var(--wp--preset--color--accent);
}

@media (max-width: 600px) {
	.site-footer .wp-block-columns,
	.site-footer .wp-block-column,
	.site-footer .wp-block-navigation,
	.site-footer .wp-block-group:last-of-type {
		align-items: center !important;
		text-align: center;
	}

	.footer-logo {
		margin-inline: auto;
	}

	.site-footer .wp-block-navigation {
		justify-content: center !important;
	}
}

/* ============================================================
   21. Ticket includes / does-not-include: ein gemeinsames Kartenraster
   für beide Bereiche. Enthaltene Leistungen bekommen ein gefülltes
   goldenes Häkchen plus dezente goldene Akzentlinie, nicht enthaltene
   ein neutrales goldenes Outline-Info-Zeichen ohne Füllung — beide auf
   derselben Karten-Grundform, keine Warnfarben, kein großer Außenrahmen.
   ============================================================ */
.ticket-item-list {
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-rows: auto;
	gap: clamp(20px, 2.5vw, 24px);
	margin-top: clamp(28px, 3.5vw, 36px);
}

.ticket-item {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	margin: 0;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius--card);
	padding: clamp(24px, 2.2vw, 32px);
}

.ticket-item--included {
	border-top: 3px solid var(--wp--preset--color--accent);
}

.ticket-item h4 {
	display: flex;
	align-items: center;
	gap: 0.65em;
	font-size: clamp(17px, 1.1vw + 0.6rem, 19px);
	line-height: 1.3;
	margin: 0;
}

.ticket-item-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6em;
	height: 1.6em;
	border-radius: 50%;
	font-size: 0.75em;
	line-height: 1;
}

.ticket-item--included .ticket-item-icon {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}

.ticket-item--excluded .ticket-item-icon {
	background: transparent;
	border: 1.5px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
	font-style: italic;
	font-family: Georgia, serif;
}

.ticket-item p,
.ticket-item ul {
	margin-top: 0.65rem;
	font-size: 16px;
	line-height: 1.6;
}

.ticket-item ul {
	padding-left: 1.3rem;
	list-style: disc;
}

.ticket-item li {
	margin-bottom: 0.4rem;
}

.ticket-item li:last-child {
	margin-bottom: 0;
}

/* Ab 700px (Tablet + Desktop): jede Karte belegt grundsätzlich 2 Spalten;
   Zeilen strecken alle Karten einer Reihe auf dieselbe Höhe. Das genaue
   Spaltenraster (4 auf Tablet, 6 ab Desktop) folgt weiter unten. */
@media (min-width: 700px) {
	.ticket-item-list {
		grid-auto-rows: 1fr;
		align-items: stretch;
	}

	.ticket-item {
		grid-column: span 2;
	}
}

/* Tablet 700–1099px: vierspaltiges Raster, zwei Karten pro Reihe.
   Die letzte (ungerade) Karte wird mittig platziert statt gestreckt. */
@media (min-width: 700px) and (max-width: 1099px) {
	.ticket-item-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ticket-included .ticket-item-list > .ticket-item:nth-child(5) {
		grid-column: 2 / span 2;
	}

	.ticket-excluded .ticket-item-list > .ticket-item:nth-child(3) {
		grid-column: 2 / span 2;
	}
}

/* Desktop ab 1100px: sechsspaltiges Raster.
   Include — Reihe 1: drei Karten à 2 Spalten (2+2+2 = 6, gleich breit).
   Reihe 2: zwei Karten à 2 Spalten, mittig zentriert (Lücke links/rechts).
   Exclude — eine Reihe mit drei Karten à 2 Spalten (2+2+2 = 6). */
@media (min-width: 1100px) {
	.ticket-item-list {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.ticket-included .ticket-item-list > .ticket-item:nth-child(4) {
		grid-column: 2 / span 2;
	}

	.ticket-included .ticket-item-list > .ticket-item:nth-child(5) {
		grid-column: 4 / span 2;
	}
}

/* Mobil unter 700px: eine Karte pro Reihe, Höhe wieder automatisch,
   alle speziellen Spaltenpositionen zurückgesetzt. */
@media (max-width: 699px) {
	.ticket-item-list {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.ticket-item {
		grid-column: 1 / -1;
		width: 100%;
		height: auto;
	}
}

/* ============================================================
   22. Programm: schlichte Tagesblöcke aus Überschrift + Absatz
   (ersetzt die frühere Timeline mit Einzelzeiten). Reine Layout-Regeln —
   sämtliche Texte stehen als native Überschriften-/Absatz-Blöcke im Inhalt.
   ============================================================ */
.program-days {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.program-days > .program-day:not(:first-child) {
	border-top: 1px solid var(--wp--preset--color--line);
	padding-top: 2rem;
}

.program-day > *:not(:first-child) {
	margin-top: 0.75rem;
}

.program-day-heading {
	margin: 0;
}

.program-note {
	margin-top: 2rem;
	color: var(--wp--preset--color--muted);
	font-style: italic;
	font-size: 0.9rem;
}

/* ============================================================
   23. H1/H2 small-caps: "ArtiFX Display" hat keine echten Kleinbuchstaben
   (Groß-/Kleinschreibung ergibt bei gleicher font-size pixelgleiche Glyphen).
   text-transform:uppercase (aus theme.json entfernt) hätte jeden Buchstaben
   auf volle Großform gezwungen; font-variant-caps:small-caps lässt den
   Browser die kleingetippten Folgebuchstaben stattdessen automatisch
   verkleinert synthetisieren, sodass nur der erste Buchstabe groß bleibt.
   theme.json kennt "font-variant-caps" nicht als Style-Property, daher hier.
   Nur h1/h2 betroffen: h3/h4 und core/navigation/core/site-title laufen
   bereits über die normale Fließtext-Schrift (--font-family--body).
   ============================================================ */
h1,
h2 {
	font-variant-caps: small-caps;
}

/* ============================================================
   24. Sponsoren-Bereich: zweispaltiges Layout wie die FAQ-Sektion
   (core/columns 33.33%/66.67%, vertical-alignment:top — im HTML wörtlich
   dieselbe Struktur wie #faq, keine neue Layout-Logik). Durch die
   Top-Ausrichtung beider Spalten beginnt die Logo-Reihe automatisch auf
   Höhe der Überschrift, ganz ohne zusätzlichen Versatz.

   Logogrößen sind bewusst per Breite statt Höhe gesetzt: Eclipsium (Dreieck
   + Wortmarke, Seitenverhältnis ~1,48) und Waves System (breites Logo mit
   violettem Claim "Smart solutions for creative people.", Seitenverhältnis
   ~2,67) brauchen unterschiedliche Zielbreiten, um trotz identischer
   optischer Präsenz nicht verzerrt zu wirken — bei gleicher Höhe bliebe
   der Waves-Claim sonst zu klein. object-fit:contain + height:auto
   verhindern jede Verzerrung. Kein Card-/Rahmen-Hintergrund: beide Logos
   sind bereits hell/transparent für den dunklen Sektionshintergrund
   gezeichnet (früheres helles Partner-Raster siehe Abschnitt 15, entfernt).
   ============================================================ */
.sponsors-section.site-section {
	padding-block: 3.5rem;
	border-top: 1px solid var(--wp--preset--color--line);
}

@media (min-width: 600px) {
	.sponsors-section.site-section {
		padding-block: 4.5rem;
	}
}

.sponsors-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 3.5rem;
	row-gap: 2rem;
}

@media (max-width: 699px) {
	.sponsors-grid {
		flex-direction: column;
		align-items: flex-start;
		row-gap: 2rem;
	}
}

.sponsor-logo {
	margin: 0;
}

.sponsor-logo a {
	display: block;
	line-height: 0;
	transition: opacity 0.25s ease;
}

.sponsor-logo a:hover,
.sponsor-logo a:focus-visible {
	opacity: 0.75;
}

.sponsor-logo img {
	display: block;
	height: auto;
	object-fit: contain;
	/* Sponsoren-Logos haben transparenten Hintergrund und Artwork/Text bis an
	   den Rand - der globale Karten-Radius (26px) wuerde bei dieser kleinen
	   Anzeigegroesse sichtbar ins Logo hineinschneiden. */
	border-radius: 0;
}

/* Mobil: kompakte, je Logo eigene Breite; Logos stehen untereinander. */
.sponsor-logo--eclipsium img {
	width: 150px;
	max-width: 42vw;
}

.sponsor-logo--waves img {
	width: 210px;
	max-width: 58vw;
}

@media (min-width: 700px) {
	.sponsor-logo img {
		max-width: none;
	}

	.sponsor-logo--eclipsium img {
		width: 165px;
	}

	.sponsor-logo--waves img {
		width: 320px;
	}
}
