/* Aktuelles Erscheinungsbild: Farben, Futura-Schrift, Hell-/Dunkelmodus und seitenspezifische Designanpassungen. Wird nach den Basis- und Mobilregeln geladen; Organisationsfarben folgen gegebenenfalls danach.
   Bei mehrfach definierten Selektoren gilt die CSS-Kaskade: spätere bzw. spezifischere Regeln können frühere überschreiben. */
/* Festival Editorial: Futura Bold headings and Jost body text/UI.
   --font-mono is retained as the existing metadata token; metadata now also uses Jost. */
@font-face {
  font-family: "Futura Page Titles";
  src:
    local("Futura Bold"), local("Futura-Bold"), local("FuturaBT-Bold"),
    local("Futura PT Bold"), local("FuturaPT-Bold");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
/* Zentrale Variablen: hier beginnen die wiederverwendbaren Farben, Schriften und Abstände. */
:root {
  color-scheme: light;
  --bg: #fff7f9;
  --bg-2: #fff;
  --bg-3: #ffe7f6;
  --surface: #fff;
  --surface-raised: #ffeff8;
  --surface-muted: #ffe7f6;
  --text: #390036;
  --muted: #5b3f43;
  --faint: #76565f;
  --border: #390036;
  --border-strong: #390036;
  --accent: #af0041;
  --accent-2: #d91656;
  --accent-3: #af0041;
  --orange: #fc6714;
  --gold: #ffdead;
  --ink: #390036;
  --shadow-color: #390036;
  --nav-shadow-color: #000;
  --accent-shadow-color: #af0041;
  --shadow: 4px 4px 0 var(--shadow-color);
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-xl: 4px;
  --font-sans: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
  --font-body: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
  --font-mono: "Jost", "Futura", "Century Gothic", Arial, sans-serif;
}
/* Dunkelmodus: überschreibt die Variablen des hellen Designs. */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #131018;
  --bg-2: #1a1621;
  --bg-3: #241e2c;
  --surface: #1d1825;
  --surface-raised: #27202f;
  --surface-muted: #30263a;
  --text: #f8f3f7;
  --muted: #c9bdc8;
  --faint: #aa99a8;
  --border: #67566a;
  --border-strong: #ad93aa;
  --accent: #ff7da6;
  --accent-2: #e32963;
  --accent-3: #ff9fb7;
  --shadow-color: #0b0810;
  --nav-shadow-color: #000;
  --accent-shadow-color: #54243b;
  --shadow: 4px 4px 0 var(--shadow-color);
}
html[data-theme="dark"] .home-page {
  --shadow-color: #000;
  --accent-shadow-color: #000;
  --shadow: 4px 4px 0 var(--shadow-color);
}
/* E-Mail-Auswahl: Dialog mit Mailprogramm-Link und kopierbarer Adresse. */
.email-dialog {
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1.5rem;
  border: 2px solid var(--border);
  border-radius: 2px;
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: var(--shadow);
}
.email-dialog::backdrop {
  background: rgba(25, 14, 32, 0.7);
}
.email-dialog h2 {
  margin: 0 2rem 1rem 0;
}
.email-dialog p {
  color: var(--muted);
}
.email-dialog label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.email-dialog input {
  width: 100%;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.email-dialog-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}
.email-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.email-dialog-actions > * {
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
}
.email-dialog-status {
  margin-bottom: 0;
}
/* Fehlende PDF-Dateien werden als Hinweis statt als defekter Downloadlink angezeigt. */
.guide-unavailable {
  display: inline-block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
body {
  line-height: 1.6;
  background: var(--bg);
}
html {
  scroll-padding-top: 100px;
}
.container {
  width: min(100% - 5rem, 1280px);
}
body.festival-design :is(h1, h2, h3, h4, h5, h6) {
  font-family:
    "Futura Page Titles", "Futura", "Futura PT", "Jost", "Century Gothic",
    Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
body.festival-design :is(.page-title, .home-hero-content h1) {
  font-family:
    "Futura Page Titles", "Futura", "Futura PT", "Jost", "Century Gothic",
    Arial, sans-serif;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--text);
  max-width: 1100px;
  margin: 1.2rem 0;
}
body.festival-design :is(.page-title, .home-hero-content h1) > span {
  color: var(--accent);
}
body.festival-design .lead {
  color: var(--muted);
  font: 400 1rem/1.8 var(--font-body);
  max-width: 65ch;
}
.page {
  padding: 1.5rem 0 3rem;
}
body.festival-design
  :is(
    .hero,
    .home-hero,
    .programme-hero,
    .faq-hero,
    .howto-hero,
    .organisations-hero
  ) {
  padding-top: 1.5rem;
}
body.festival-design
  :is(.section-title, .home-section-heading h2, .festival-orientation h2) {
  color: var(--text);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}
/* Existing navigation and mobile menu behaviour are retained. */
body.festival-design :is(.site-header, .footer) {
  --surface: #af0041;
  --surface-muted: #850032;
  --text: #fff7f9;
  --muted: #ffe0eb;
  --faint: #ffe0eb;
  --border: #e88baa;
  --accent: #ffdead;
  color: var(--text);
}
body.festival-design .site-header .nav-btn.active,
body.festival-design .site-header .nav-btn.active:hover {
  color: #af0041;
  background: #fff;
  background-clip: padding-box;
  border-color: #000;
  box-shadow: 5px 5px 0 var(--nav-shadow-color);
}
body.festival-design .site-header {
  padding: 0;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
}
body.festival-design .header-bar {
  /* Keep the space for the JS-injected theme/language controls reserved.
     Otherwise the navigation shifts sideways after every page load. */
  grid-template-columns: minmax(190px, 0.85fr) minmax(0, 1.5fr) 96px;
  gap: 1rem;
  padding: 0.8rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* Querlogo ersetzt den Textschriftzug; die verfügbare Grid-Spalte begrenzt die Breite. */
body.festival-design .brand {
  width: 100%;
  max-width: 280px;
  min-width: 0;
}
body.festival-design .brand-logo-box {
  width: 100%;
  aspect-ratio: 14 / 3;
}
body.festival-design .brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Hauptnavigation: Anordnung der Seitenlinks. */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
body.festival-design .site-header .nav-btn {
  --nav-angle: 0deg;
  --nav-scale: 1;
  border-radius: 0;
  background-clip: padding-box;
  transform: rotate(var(--nav-angle)) scale(var(--nav-scale));
}
body.festival-design .site-header .nav-btn[href="/index.html"],
body.festival-design .site-header .nav-btn[href="/index-en.html"],
body.festival-design .site-header .nav-btn[href="/"], body.festival-design .site-header .nav-btn[href="/en/"] {
  --nav-angle: -3deg;
  --nav-scale: 1.03;
}
body.festival-design .site-header .nav-btn[href="/programm.html"],
body.festival-design .site-header .nav-btn[href="/programm-en.html"],
body.festival-design .site-header .nav-btn[href="/programm"], body.festival-design .site-header .nav-btn[href="/en/programme"] {
  --nav-angle: 2deg;
  --nav-scale: 1;
}
body.festival-design .site-header .nav-btn[href="/organisation.html"],
body.festival-design .site-header .nav-btn[href="/organisation-en.html"],
body.festival-design .site-header .nav-btn[href="/organisationen"], body.festival-design .site-header .nav-btn[href="/en/organisations"] {
  --nav-angle: -1deg;
  --nav-scale: 1.02;
  min-height: 48px;
}
body.festival-design .site-header .nav-btn[href="/faq.html"],
body.festival-design .site-header .nav-btn[href="/faq-en.html"],
body.festival-design .site-header .nav-btn[href="/faq"], body.festival-design .site-header .nav-btn[href="/en/faq"] {
  --nav-angle: 4deg;
  --nav-scale: 1;
  padding-inline: 1rem;
}
body.festival-design .site-header .nav-btn[href="/howto.html"],
body.festival-design .site-header .nav-btn[href="/howto-en.html"],
body.festival-design .site-header .nav-btn[href="/howto"], body.festival-design .site-header .nav-btn[href="/en/how-to"] {
  --nav-angle: -2deg;
  --nav-scale: 1.04;
}
body.festival-design .site-header .nav-btn:hover {
  transform: translateY(-2px) rotate(var(--nav-angle)) scale(var(--nav-scale));
}
/* Leave room for the rotated buttons and their offset shadows in the mobile menu. */
body.festival-design .mobile-nav-ready .main-nav {
  padding: 6px 8px 10px;
  gap: 0.85rem;
}
body.festival-design .nav-btn {
  min-height: 44px;
  height: auto;
  padding: 0.65rem 0.7rem;
  color: var(--text);
  background: transparent;
  border: 2px solid transparent;
  border-radius: 2px;
  box-shadow: none;
  font: 700 0.65rem/1.4 var(--font-mono);
  text-transform: uppercase;
}
body.festival-design .nav-btn.active,
body.festival-design .nav-btn.active:hover {
  color: white;
  background: #af0041;
  border-color: var(--border);
  box-shadow: 2px 2px 0 var(--shadow-color);
}
body.festival-design .nav-btn:hover {
  color: var(--text);
  background: var(--surface-muted);
  border-color: var(--border);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}
body.festival-design :is(.theme-toggle, .lang-switch, .menu-toggle) {
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid var(--border);
  border-radius: 3px;
  background: var(--surface-muted);
  color: var(--text);
  box-shadow: none;
}
.theme-toggle {
  display: inline-flex;
  width: 44px;
  padding: 0;
}
.theme-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.theme-toggle .theme-icon-moon,
html[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: none;
}
html[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: block;
}
body.festival-design
  :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
body.festival-design .skip-link {
  background: var(--surface);
  color: var(--text);
}
.festival-ticker {
  border-bottom: 1px solid var(--border);
  background: var(--surface-muted);
  font: 700 0.64rem/1.6 var(--font-mono);
}
.festival-ticker .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
}
body.festival-design
  :is(
    .eyebrow,
    .badge,
    .home-section-kicker,
    .info-badge,
    .schedule-kicker,
    .event-label,
    .organisation-label,
    .save-date-format
  ) {
  display: inline-flex;
  gap: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0.25rem 0.5rem;
  color: var(--text);
  background: var(--surface-muted);
  font: 700 0.64rem/1.5 var(--font-mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--shadow-color);
}
body.festival-design .eyebrow {
  transform: rotate(-1deg);
  background: var(--gold);
  color: var(--ink);
}
body.festival-design .dot {
  width: 6px;
  height: 6px;
  background: #af0041;
  box-shadow: none;
}
body.festival-design
  :is(
    .btn-primary,
    .btn-secondary,
    .ticket-button,
    .save-date-link,
    .schedule-notice-button,
    .contact-button,
    .guide-button,
    .faq-answer-button,
    .faq-contact-button,
    .outlook-link-button,
    .organisation-links a,
    .schedule-links a,
    .event-link-button,
    .calendar-button,
    .calendar-menu-trigger,
    .campus-map-toolbar a
  ) {
  border: 2px solid var(--border);
  border-radius: 2px;
  background: var(--surface-muted);
  color: var(--text);
  box-shadow: 3px 3px 0 var(--shadow-color);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
}
body.festival-design
  :is(
    .btn-primary,
    .hero-actions .btn-primary,
    .save-date-link,
    .schedule-notice-button,
    .contact-button-primary,
    .faq-contact-button
  ) {
  background: #af0041;
  color: white;
}
body.festival-design .btn-secondary {
  background: var(--gold);
  color: var(--ink);
}
body.festival-design
  :is(
    .btn-primary,
    .btn-secondary,
    .guide-button,
    .faq-answer-button,
    .faq-contact-button,
    .outlook-link-button,
    .organisation-links a,
    .schedule-links a,
    .contact-button,
    .save-date-link
  ):hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--shadow-color);
  background: var(--orange);
  color: var(--ink);
  border-color: var(--border);
}
body.festival-design :is(.btn-primary, .btn-secondary, button):active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
body.festival-design
  :is(
    .glass-card,
    .panel,
    .info-card,
    .contact-card,
    .legal-card,
    .legal-block,
    .community-card,
    .outlook-card,
    .faq-question,
    .organisation-card,
    .programme-event.glass-card,
    .schedule-card,
    .guide-card,
    .campus-results,
    .campus-detail,
    .campus-result,
    .save-date-card,
    .schedule-notice,
    .programme-tools-card,
    .no-events
  ) {
  border: 2px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
body.festival-design
  :is(
    .faq-question,
    .organisation-card,
    .programme-event,
    .schedule-card,
    .guide-card,
    .campus-result,
    .save-date-card
  ):hover {
  background: var(--surface-raised);
  border-color: var(--border);
  box-shadow: 5px 5px 0 var(--shadow-color);
}
body.festival-design
  :is(
    .filter-row,
    .label-filter-row,
    .programme-tabs,
    .organisation-filters,
    .faculty-filter-options,
    .event-search,
    .campus-search,
    .campus-map-selected,
    .event-detail,
    .organisations-note,
    .contact-secondary
  ) {
  background: var(--surface-muted);
  color: var(--text);
  border-color: var(--border);
  border-radius: 2px;
  box-shadow: none;
}
body.festival-design
  :is(
    .filter-chip,
    .faculty-filter summary,
    .clear-filters-button,
    .campus-filter,
    .programme-tab,
    .mobile-filter-trigger,
    .mobile-clear-filters
  ) {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 1px;
  box-shadow: none;
  font-family: var(--font-mono);
}
body.festival-design
  :is(
    .filter-chip.active,
    .campus-filter.active,
    .programme-tab.active,
    .mobile-filter-trigger.active
  ),
body.festival-design .programme-tools .filter-chip.active {
  background: #af0041;
  color: white;
  border-color: var(--border);
  box-shadow: 2px 2px 0 var(--shadow-color);
}
body.festival-design
  :is(
    .filter-chip,
    .programme-tab,
    .campus-filter,
    .clear-filters-button,
    .faculty-filter summary
  ):hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--border);
}
body.festival-design
  :is(
    .filter-label,
    .event-listing-time,
    .home-section-kicker,
    .community-category,
    .info-meta svg,
    .save-date-date,
    .save-date-organizer svg,
    .campus-result-number,
    .campus-map-selected-number
  ) {
  color: var(--accent);
}
body.festival-design :is(.event-search input, .campus-search input) {
  color: var(--text);
}
body.festival-design
  :is(.event-search input, .campus-search input)::placeholder {
  color: var(--muted);
}
body.festival-design
  :is(
    .faq-contact-icon,
    .faq-chevron,
    .faq-category-icon,
    .howto-heading-icon,
    .guide-icon
  ) {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}
body.festival-design
  :is(.community-media, .media-tone-0, .media-tone-1, .media-tone-2) {
  background: var(--surface-muted);
  color: var(--muted);
}
body.festival-design .community-facts {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
body.festival-design .community-facts svg {
  stroke: var(--accent);
}
body.festival-design .placeholder-label {
  color: var(--muted);
  border-color: var(--border);
}
body.festival-design .organisation-avatar {
  background: var(--surface-muted);
  color: var(--accent);
  border-radius: 0;
}
/* Home: poster headline, framed photo, stickers and four entry cards. */
body.festival-design .home-hero-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2rem;
}
body.festival-design .home-hero-content {
  padding: 1rem 0 2rem;
}
body.festival-design .home-hero-content h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.3rem);
}
body.festival-design .home-hero-content .lead {
  max-width: 49ch;
}
body.festival-design .hero-actions {
  flex-wrap: wrap;
}
body.festival-design .hero-actions a {
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
}
body.festival-design .festival-photo {
  position: relative;
  display: block;
  padding: 0.45rem;
  border: 2px solid #e88baa;
  background: #af0041;
  box-shadow: 6px 6px 0 var(--shadow-color);
  min-height: 0;
  transform: rotate(1deg);
}
.festival-photo > img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.festival-sticker {
  position: absolute;
  top: -20px;
  left: -12px;
  padding: 0.4rem 0.8rem;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--shadow-color);
  transform: rotate(-5deg);
  font: 700 0.8rem var(--font-mono);
}
.photo-caption {
  position: absolute;
  bottom: 132px;
  left: 16px;
  padding: 0.25rem 0.5rem;
  color: white;
  background: #390036;
  font: 700 0.65rem var(--font-mono);
}
/* Kennzahlen unter dem Startseitenbild: drei Spalten mit individuell gestalteten Zahlen. */
.festival-photo-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 116px;
  border-top: 2px solid #e88baa;
  margin-top: 0.4rem;
  background: #af0041;
  text-align: center;
}
.festival-photo-footer > span {
  min-width: 0;
  padding: 0.7rem 0.35rem 0.8rem;
}
.festival-photo-footer > span + span {
  border-left: 1px solid #e88baa;
}
.festival-photo-footer b {
  display: block;
  width: fit-content;
  min-width: 2.6ch;
  margin: 0 auto 0.55rem;
  padding: 0.05rem 0.45rem;
  border: 2px solid #390036;
  box-shadow: 3px 3px 0 var(--shadow-color);
  font:
    700 clamp(2rem, 3.8vw, 2.8rem)/1.1 "Futura Page Titles",
    "Futura",
    "Futura PT",
    "Jost",
    sans-serif;
  color: #390036;
}
.festival-photo-footer small {
  display: block;
  font:
    700 clamp(0.78rem, 1.25vw, 0.92rem)/1.25 "Jost",
    sans-serif;
  color: #fff7f9;
  overflow-wrap: break-word;
}
.festival-photo-footer span:nth-child(1) b {
  background: #fc6714;
  transform: rotate(-6deg);
}
.festival-photo-footer span:nth-child(2) b {
  background: #af0041;
  color: #fff;
  border-radius: 50%;
  transform: rotate(4deg);
}
.festival-photo-footer span:nth-child(3) b {
  background: #ffdead;
  transform: rotate(-3deg) translateY(2px);
}
body.festival-design .partners-section {
  padding: 1.5rem 0 2.5rem;
}
body.festival-design .partners-marquee {
  border: 2px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--shadow-color);
  padding: 0.75rem;
  mask-image: none;
}
html:not([data-theme="dark"]) .partner-logo img {
  filter: brightness(0);
  opacity: 0.8;
}
html[data-theme="dark"] .partner-logo img {
  filter: brightness(0) invert(1);
}
.festival-orientation {
  padding-block: 3rem;
  background: var(--surface-raised);
  border-block: 1px solid var(--border);
}
.festival-orientation h2 {
  margin: 1rem 0 1.5rem;
}
/* Organisationsbeiträge auf der Startseite: Raster und Beitragskarten. */
.community-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
body.festival-design .community-card {
  grid-template-columns: minmax(0, 1fr);
}
body.festival-design .community-media {
  min-height: 150px;
  border-right: 0;
  border-bottom: 2px dashed var(--border);
}
body.festival-design .community-facts {
  border-top-style: dashed;
}
body.festival-design .outlook-section > .container {
  padding: 2.5rem;
  color: white;
  background: #390036;
  border: 2px solid var(--border);
  box-shadow: 7px 7px 0 var(--accent-shadow-color);
}
body.festival-design .outlook-section .home-section-heading h2 {
  color: white;
}
body.festival-design .outlook-section .home-section-heading > p {
  color: #ffdbeb;
}
body.festival-design .outlook-section .home-section-kicker {
  color: #390036;
  background: var(--gold);
}
body.festival-design .outlook-date {
  color: var(--accent);
  border-right: 2px dashed var(--border);
  border-radius: 0;
}
/* Programme: date strips, perforations and ticket metadata. */
body.festival-design .programme-heading {
  grid-template-columns: minmax(0, 1fr) auto;
}
body.festival-design .programme-day {
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--shadow-color);
}
.programme-list-section > .programme-weeks {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
/* Wochenhintergründe: vollbreite Farbflächen um die zentrierten Tagesinhalte. */
.programme-week {
  --week-bg: var(--surface-raised);
  --week-divider-ink: color-mix(in srgb, var(--week-bg) 88%, #390036);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
  background: var(--week-bg);
  border: 0;
}
.programme-week > .container {
  position: relative;
  z-index: 1;
}
.programme-week-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.programme-week-background .programme-week-divider-repeat {
  position: absolute;
  left: 0;
  margin: 0;
  background: transparent;
  transform: translateY(-50%);
}
.programme-week-divider-repeat:nth-child(even) .programme-week-divider-track {
  transform: translateX(-5rem);
}
.programme-week[data-programme-week$="W40"] {
  --week-bg: #ffd6a3;
}

.programme-week[data-programme-week$="W41"] {
  --week-bg: #cfdcff;
}

.programme-week[data-programme-week$="W42"] {
  --week-bg: #ffbfd7;
}

.programme-week[data-programme-week$="W43"] {
  --week-bg: #ccebc9;
}
html[data-theme="dark"] .programme-week[data-programme-week$="W40"] {
  --week-bg: #271f1d;
}

html[data-theme="dark"] .programme-week[data-programme-week$="W41"] {
  --week-bg: #1c2433;
}

html[data-theme="dark"] .programme-week[data-programme-week$="W42"] {
  --week-bg: #2a1e26;
}

html[data-theme="dark"] .programme-week[data-programme-week$="W43"] {
  --week-bg: #1d2923;
}
html[data-theme="dark"] .programme-week {
  --week-divider-ink: color-mix(in srgb, var(--week-bg) 76%, #b8a4bd);
}
html[data-theme="dark"] body.festival-design .programme-day {
  border-color: color-mix(in srgb, var(--border) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 82%, var(--week-bg));
  box-shadow: 3px 3px 0 rgba(11, 8, 16, 0.72);
}
html[data-theme="dark"] body.festival-design .programme-event.glass-card {
  border-color: color-mix(in srgb, var(--border) 82%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, var(--week-bg));
}
.programme-week-divider {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 0.7rem 0;
  background: var(--week-bg);
}
.programme-week + .programme-week::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--week-divider-ink) 0 16px,
    transparent 16px 25px
  );
  content: "";
  pointer-events: none;
}
.programme-week-divider-top {
  z-index: 0;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.programme-week-divider-bottom {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.programme-week-divider-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.5rem);
  transform: translateX(-1.25rem);
  color: var(--week-divider-ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.75rem, 5.5vw, 5.75rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.25px var(--week-divider-ink);
}
.programme-week-divider-bottom .programme-week-divider-track {
  transform: translateX(-5rem);
}
.programme-week
  .programme-day:not([hidden]):not(:has(~ .programme-day:not([hidden]))) {
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .programme-week-divider {
    padding-block: 0.55rem;
  }

  .programme-week-divider-track {
    gap: 1.25rem;
    font-size: clamp(2.4rem, 13vw, 4rem);
    -webkit-text-stroke-width: 1px;
  }
}
body.festival-design .programme-date {
  background: #af0041;
  border-bottom: 2px solid var(--border);
  padding: 0.6rem 0.8rem;
  border-radius: 0;
}
body.festival-design .programme-date :is(strong, span) {
  color: #fff;
}
body.festival-design .programme-event {
  border-radius: 0;
}
body.festival-design .programme-event .event-accent {
  background: var(--orange);
  color: var(--orange);
  box-shadow: none;
}
body.festival-design .programme-event:nth-child(3n + 2) .event-accent {
  background: #d91656;
}
body.festival-design .programme-event:nth-child(3n + 3) .event-accent {
  background: #956700;
}
body.festival-design .event-listing-time {
  padding: 0.5rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  font: 700 0.8rem/1.6 var(--font-mono);
}
body.festival-design
  :is(.event-listing-context, .event-listing-location, .programme-event p) {
  color: var(--muted);
}
body.festival-design
  :is(
    .event-details-indicator,
    .event-listing-summary:hover .event-details-indicator,
    .event-listing-summary[aria-expanded="true"] .event-details-indicator
  ) {
  background: var(--surface-muted);
  color: var(--text);
  border-color: var(--border);
  border-radius: 0;
}
body.festival-design .event-listing-details {
  border-top: 2px dashed var(--border);
}
body.festival-design .calendar-menu {
  width: 320px;
  min-width: 0;
  max-width: calc(100vw - 24px);
  padding: 0.65rem;
  background: var(--surface-raised);
  border: 2px solid var(--border);
  border-radius: 0;
  box-shadow: var(--shadow);
}
body.festival-design .calendar-menu-choice {
  min-height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-family: "Futura Page Titles", "Futura", "Futura PT", "Jost", sans-serif;
}
body.festival-design .calendar-menu-choice:hover,
body.festival-design .calendar-menu-choice:focus-visible {
  background: var(--surface-muted);
  border-color: var(--accent);
}
body.festival-design .calendar-provider-icon {
  width: 32px;
  height: 32px;
  padding: 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  stroke: currentColor;
}
body.festival-design .calendar-provider-icon--google {
  background: #fff;
  stroke: none;
}
/* FAQ: numbered accordion tickets and a help sidebar. */
body.festival-design .faq-grid {
  grid-template-columns: minmax(0, 1fr);
}
.festival-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
  gap: 2rem;
  align-items: start;
}
.festival-faq-sidebar {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border: 2px solid var(--border);
  background: var(--surface-muted);
  box-shadow: var(--shadow);
}
.festival-faq-sidebar h2 {
  font-size: 1.6rem;
}
.festival-faq-sidebar p {
  color: var(--muted);
}
body.festival-design .faq-contact-card {
  background: #390036;
  color: white;
  border: 2px solid var(--border);
  border-radius: 0;
  box-shadow: 5px 5px 0 var(--accent-shadow-color);
}
body.festival-design .faq-contact-card :is(h2, p) {
  color: white;
}
body.festival-design .faq-contact-card::before {
  content: none;
}
body.festival-design .faq-category-heading {
  border-bottom: 1px solid var(--border);
}
body.festival-design .faq-category-heading h2 {
  font-size: 1.5rem;
}
body.festival-design .faq-question summary:hover,
body.festival-design .faq-question[open] summary {
  background: var(--surface-raised);
  color: var(--text);
}
body.festival-design .faq-question[open] {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
}
body.festival-design .faq-question[open] .faq-chevron {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--border);
}
.festival-question-number {
  flex: 0 0 auto;
  align-self: center;
  padding: 0.15rem 0.3rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--accent);
  font: 700 0.65rem var(--font-mono);
}
.festival-faq-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin: 2rem 0 0;
}
.festival-faq-tools input {
  flex: 1;
  min-width: 180px;
  padding: 0.7rem;
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.festival-faq-tools span {
  align-self: center;
  font: 700 0.7rem var(--font-mono);
}
/* Organisation and guide category bars. */
body.festival-design .organisation-grid {
  gap: 1.5rem;
}
body.festival-design :is(.organisation-card, .schedule-card, .guide-card) {
  border-top: 8px solid #af0041;
}
body.festival-design
  :is(.organisation-card, .schedule-card, .guide-card):nth-child(3n + 2) {
  border-top-color: var(--orange);
}
body.festival-design
  :is(.organisation-card, .schedule-card, .guide-card):nth-child(3n + 3) {
  border-top-color: #956700;
}
body.festival-design .organisation-label {
  transform: rotate(-2deg);
}
body.festival-design .organisation-links {
  border-top: 2px dashed var(--border);
}
body.festival-design .schedule-links a {
  font-size: 0.72rem;
}
body.festival-design .guide-button {
  margin-top: auto;
}
body.festival-design .campus-map-selected {
  border: 2px solid var(--border);
}
body.festival-design
  :is(
    .legal-block a,
    .legal-block h2::before,
    .contact-card a:not(.contact-button)
  ) {
  color: var(--accent);
}
body.festival-design .footer {
  padding: 3rem 0 1.5rem;
  border-top: 2px solid var(--border);
  background: var(--surface);
}
/* Fußzeilenraster: Kurzbeschreibung, Seitennavigation und Kontaktinformationen. */
.festival-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.festival-footer-grid h2 {
  font-size: 1.7rem;
  margin: 0 0 1rem;
  line-height: 1.15;
}
/* Die quadratische PNG enthält viel Leerraum; der Ausschnitt hält das Logo im Footer kompakt. */
.festival-footer-grid .footer-logo {
  display: block;
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 40%;
  margin-bottom: 1rem;
}
.festival-footer-grid h3 {
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}
.festival-footer-grid p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 0.85rem;
}
.festival-footer-grid a {
  display: block;
  font-size: 0.85rem;
  padding: 0.3rem 0;
}
.festival-footer-grid a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.festival-footer-badge {
  display: inline-block;
  padding: 0.3rem 0.5rem;
  margin-top: 1rem;
  background: var(--gold);
  border: 1px solid var(--border);
  color: var(--ink);
  transform: rotate(-2deg);
  font: 700 0.6rem/1.4 var(--font-mono);
}
.festival-hashtags {
  font: 700 0.6rem var(--font-mono);
}
body.festival-design .footer-bar {
  border-top: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: 0;
  padding-inline: 0;
}
[hidden] {
  display: none !important;
}
/* Keep poster words within their column, including narrow phones. */
body.festival-design .home-hero-content {
  min-width: 0;
}
body.festival-design .home-hero-content h1 {
  font-size: clamp(2rem, 4.1vw, 3.9rem);
}
body.festival-design .hero-actions .btn-secondary {
  background: var(--gold);
  color: var(--ink);
}
body.festival-design .partner-logo {
  width: 80px;
  height: 54px;
  flex: 0 0 80px;
}
body.festival-design .partner-logo img {
  max-height: 48px;
  width: 100%;
  object-fit: contain;
}
body.festival-design .faq-question summary .faq-chevron {
  margin-left: auto;
  margin-right: 0;
}
body.festival-design .schedule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.festival-design .guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.festival-campus-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 3rem;

  /* größerer Bildbereich */
  min-height: 430px;

  /* etwas mehr Luft */
  padding: 2.5rem;

  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: end;

  background: #390036;
}
.festival-campus-banner .eyebrow {
  align-self: flex-start;
  width: fit-content;
}
.festival-campus-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.festival-campus-banner:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(57, 0, 54, 0.65) 0%,
    rgba(57, 0, 54, 0.3) 50%,
    rgba(57, 0, 54, 0.05) 100%
  );
}
.festival-campus-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  max-width: 22ch;
  line-height: 1.1;
  margin: 0.75rem 0;
}
.festival-campus-banner p {
  max-width: 58ch;
  margin: 0;
  color: #fff;
}
.festival-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem;
  background: var(--surface-muted);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}
.festival-submit h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.1;
  max-width: 24ch;
  margin: 0 0 1rem;
}
.festival-submit p {
  margin: 0;
  color: var(--muted);
}
.festival-howto-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.festival-howto-nav a {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border);
  background: var(--surface);
  font: 700 0.65rem var(--font-mono);
  box-shadow: 2px 2px 0 var(--shadow-color);
}
/* Bildschirmabhängige Anpassungen: gelten nur bei der folgenden Breite bzw. Systemeinstellung. */
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 3rem);
  }
  body.festival-design .header-bar {
    grid-template-columns: 185px minmax(0, 1fr) 96px;
    gap: 0.5rem;
  }
  body.festival-design .nav-btn {
    padding-inline: 0.4rem;
    font-size: 0.6rem;
  }
  .festival-photo > img {
    height: 310px;
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  body.festival-design .community-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  body.festival-design .community-media {
    border-bottom: 0;
    border-right: 2px dashed var(--border);
  }
}
/* Bildschirmabhängige Anpassungen: gelten nur bei der folgenden Breite bzw. Systemeinstellung. */
@media (max-width: 900px) {
  body.festival-design .header-bar,
  body.festival-design .mobile-nav-ready {
    /* Both control columns exist before JS runs, so inserting the theme and
       menu buttons does not resize the logo or move the header contents. */
    grid-template-columns: minmax(0, 1fr) 96px 44px;
  }
  /* The desktop navigation is moved into the collapsible panel by JS.
     Hide only that brief pre-initialisation state to prevent a vertical jump. */
  body.festival-design .header-bar:not(.mobile-nav-ready) > .main-nav {
    display: none;
  }
  .header-actions {
    grid-row: 1;
    grid-column: 2;
  }
  .header-actions .lang-switch {
    grid-row: auto;
    grid-column: auto;
  }
  body.festival-design .menu-toggle {
    grid-column: 3;
    display: flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    gap: 0;
  }
  .menu-toggle-label {
    display: none;
  }
  .menu-toggle-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }
  .menu-toggle-icon::before,
  .menu-toggle-icon::after {
    top: 9px;
    width: 20px;
  }
  body.festival-design .header-actions :is(.theme-toggle, .lang-switch) {
    width: 44px;
    height: 44px;
    padding: 0;
    flex: 0 0 44px;
  }
  body.festival-design .mobile-nav-ready .main-nav {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    align-items: stretch;
  }
  body.festival-design .mobile-nav-ready .nav-btn {
    min-height: 48px;
    font-size: 0.75rem;
  }
  body.festival-design .home-hero-card {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  body.festival-design .home-hero-content h1 {
    font-size: clamp(2rem, 4.6vw, 3rem);
  }
  body.festival-design .hero-actions a {
    width: 100%;
  }
  .festival-faq-layout {
    grid-template-columns: 1fr;
  }
  .festival-faq-sidebar {
    margin-top: 0;
  }
  body.festival-design .programme-heading {
    grid-template-columns: 1fr;
  }
}
/* Bildschirmabhängige Anpassungen: gelten nur bei der folgenden Breite bzw. Systemeinstellung. */
@media (max-width: 640px) {
  .container {
    width: calc(100% - 2rem);
  }
  body.festival-design .header-bar {
    padding-block: 0.6rem;
    gap: 0.35rem;
  }
  .header-actions {
    gap: 0.3rem;
  }
  body.festival-design .menu-toggle {
    min-width: 44px;
    font-size: 0;
    padding: 0;
  }
  .festival-ticker .container {
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.55rem;
  }
  .page {
    padding-top: 0.5rem;
  }
  body.festival-design
    :is(.page-title, .faq-hero .page-title, .programme-heading .page-title) {
    font-size: clamp(2.2rem, 9vw, 3.3rem);
    overflow-wrap: anywhere;
  }
  body.festival-design .home-hero-card {
    grid-template-columns: 1fr;
  }
  body.festival-design .home-hero-content {
    padding: 0.5rem 0 1rem;
  }
  body.festival-design .home-hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
  body.festival-design .festival-photo {
    margin: 1rem 0.25rem;
  }
  .festival-photo > img {
    height: 320px;
  }
  body.festival-design .community-card {
    grid-template-columns: 1fr;
  }
  body.festival-design .community-media {
    border-right: 0;
    border-bottom: 2px dashed var(--border);
  }
  body.festival-design .outlook-section > .container {
    padding: 1.15rem;
  }
  body.festival-design .outlook-card {
    grid-template-columns: 55px minmax(0, 1fr);
    padding: 0.8rem;
    gap: 0.75rem;
  }
  .festival-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .festival-footer-grid > :first-child {
    grid-column: 1/-1;
  }
  body.festival-design .faq-category-heading h2 {
    font-size: 1.15rem;
  }
  .festival-question-number {
    display: none;
  }
}
/* Bildschirmabhängige Anpassungen: gelten nur bei der folgenden Breite bzw. Systemeinstellung. */
@media (max-width: 900px) {
  body.festival-design .home-hero-content h1 {
    font-size: 4.1vw;
  }
  body.festival-design .schedule-grid,
  body.festival-design .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Bildschirmabhängige Anpassungen: gelten nur bei der folgenden Breite bzw. Systemeinstellung. */
@media (max-width: 640px) {
  body.festival-design .home-hero-card {
    grid-template-columns: minmax(0, 1fr);
  }
  body.festival-design .home-hero-content h1 {
    font-size: 7vw;
  }
  body.festival-design .schedule-grid,
  body.festival-design .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .festival-submit {
    flex-direction: column;
    align-items: start;
    padding: 1.2rem;
  }
  .festival-campus-banner {
    padding: 1.2rem;
  }
  .festival-faq-tools input {
    width: 100%;
    min-width: 0;
  }
}
body.festival-design .guide-card {
  grid-template-columns: minmax(0, 1fr);
}
body.festival-design .guide-content {
  min-width: 0;
}
body.festival-design .schedule-card {
  border-top-width: 8px;
}
body.festival-design .festival-faq-sidebar hr {
  border: 0;
  border-top: 2px dashed var(--border);
  margin: 2rem 0;
}
body.festival-design .faq-answer {
  border-top-color: var(--border);
}
body.festival-design .organisation-filters .filter-chip {
  white-space: normal;
  overflow-wrap: anywhere;
}
/* Bildschirmabhängige Anpassungen: gelten nur bei der folgenden Breite bzw. Systemeinstellung. */
@media (max-width: 640px) {
  body.festival-design
    :is(.page-title, .faq-hero .page-title, .programme-heading .page-title) {
    font-size: clamp(1.65rem, 7vw, 2.8rem);
    overflow-wrap: normal;
  }
  body.festival-design .organisation-filters .filter-chip {
    font-size: 0.65rem;
    padding: 0.5rem;
  }
}
body.festival-design :is(.contact-primary, .contact-secondary) {
  border: 2px solid var(--border);
  border-radius: 2px;
  box-shadow: var(--shadow);
  background: var(--surface);
}
body.festival-design .contact-primary {
  background: #390036;
}
body.festival-design .contact-primary :is(h2, p) {
  color: #fff;
}
body.festival-design .contact-secondary h2 {
  color: var(--text);
}
body.festival-design .contact-secondary p {
  color: var(--muted);
}
body.festival-design .guide-icon {
  min-height: 60px;
  border: 0;
  border-bottom: 1px solid var(--border);
}
body.festival-design .guide-content p {
  margin-bottom: 1.2rem;
}
body.festival-design .legal-block h2::before {
  background: var(--surface-muted);
  border-color: var(--border);
  border-radius: 0;
}
html:not([data-theme="dark"]) .logo-visual img {
  filter: brightness(0);
}
html[data-theme="dark"] .logo-visual img {
  filter: brightness(0) invert(1);
}
body.festival-design
  :is(
    .organisation-grid .organisation-card,
    .schedule-grid .schedule-card,
    .guide-grid .guide-card
  ) {
  border-top-width: 8px;
  border-top-color: #af0041;
}
body.festival-design
  :is(
    .organisation-grid .organisation-card,
    .schedule-grid .schedule-card,
    .guide-grid .guide-card
  ):nth-child(3n + 2) {
  border-top-color: var(--orange);
}
body.festival-design
  :is(
    .organisation-grid .organisation-card,
    .schedule-grid .schedule-card,
    .guide-grid .guide-card
  ):nth-child(3n + 3) {
  border-top-color: #956700;
}
body.festival-design .home-hero-content h1 {
  overflow-wrap: normal;
}
body.festival-design .festival-faq-sidebar .btn-primary,
body.festival-design .festival-faq-sidebar .btn-secondary {
  font-size: 0.8rem;
}
/* Bildschirmabhängige Anpassungen: gelten nur bei der folgenden Breite bzw. Systemeinstellung. */
@media (max-width: 360px) {
  body.festival-design
    :is(.page-title, .faq-hero .page-title, .programme-heading .page-title) {
    font-size: 6.5vw;
  }
  body.festival-design .programme-heading > div {
    min-width: 0;
  }
}
/* Compact faculty accordions retain native keyboard and no-script support. */
body.festival-design .schedule-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
body.festival-design .faculty-accordion {
  min-height: 0;
  padding: 0;
}
.faculty-summary {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}
.faculty-summary::-webkit-details-marker {
  display: none;
}
.faculty-summary::marker {
  content: "";
}
.faculty-heading {
  min-width: 0;
}
body.festival-design .faculty-heading h3 {
  margin: 0;
}
body.festival-design .faculty-heading .schedule-kicker {
  margin-bottom: 0.45rem;
}
.faculty-icon,
.faculty-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid var(--border);
}
.faculty-icon {
  width: 52px;
  height: 52px;
  background: #fff1a8;
  box-shadow: 3px 3px 0 var(--shadow-color);
}
.faculty-icon .ui-icon {
  width: 27px;
  height: 27px;
  stroke-width: 2;
}
.schedule-card-two .faculty-icon {
  background: #cfdcff;
}
.schedule-card-three .faculty-icon {
  background: #ccebc9;
}
.schedule-card-four .faculty-icon {
  background: #ffd6a3;
}
.schedule-card-five .faculty-icon {
  background: #ffbfd7;
}
.schedule-card-six .faculty-icon {
  background: #d9c8ff;
}
.faculty-toggle {
  width: 30px;
  height: 30px;
}
.faculty-toggle::before {
  content: "+";
  font: 700 1.1rem var(--font-mono);
}
.faculty-accordion[open] .faculty-toggle::before {
  content: "−";
}
.faculty-accordion[open] .faculty-toggle {
  background: var(--orange);
}
.faculty-summary:hover {
  background: var(--surface-raised);
}
body.festival-design .faculty-summary:focus-visible {
  outline-offset: -4px;
}
.faculty-accordion .schedule-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-muted) 62%, transparent);
}
body.festival-design .faculty-accordion .schedule-links a {
  display: inline-flex;
  flex: 0 1 auto;
  width: auto;
  max-width: min(100%, 370px);
  min-height: 42px;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  box-shadow: 3px 3px 0 var(--shadow-color);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.35;
}
body.festival-design .faculty-accordion .schedule-links a:nth-child(3n + 2) {
  border-color: #af0041;
  box-shadow: 3px 3px 0 #af0041;
}
body.festival-design .faculty-accordion .schedule-links a:nth-child(3n + 3) {
  border-color: #a76800;
  box-shadow: 3px 3px 0 #a76800;
}
body.festival-design .faculty-accordion .schedule-links a:hover {
  padding-left: 0.75rem;
  background: var(--gold);
  color: var(--ink);
  transform: translate(-1px, -1px);
}
body.festival-design .faculty-accordion .schedule-links a svg {
  display: none;
}
body.festival-design .faculty-accordion .schedule-links a::after {
  flex: 0 0 auto;
  margin-left: auto;
  content: "PDF ↗";
  color: var(--accent);
  font-size: 0.6rem;
  white-space: nowrap;
}
/* Bildschirmabhängige Anpassungen: gelten nur bei der folgenden Breite bzw. Systemeinstellung. */
@media (max-width: 640px) {
  .faculty-summary {
    grid-template-columns: 42px minmax(0, 1fr) 30px;
    gap: 0.65rem;
    padding: 0.85rem;
  }
  .faculty-icon {
    width: 42px;
    height: 42px;
  }
  .faculty-icon .ui-icon {
    width: 23px;
    height: 23px;
  }
  .faculty-accordion .schedule-links {
    gap: 0.65rem;
    padding: 0.9rem;
  }
  body.festival-design .faculty-accordion .schedule-links a {
    max-width: 100%;
  }
}
/* Accordion controls echo the plus/minus stamps in the reference. */
body.festival-design .faq-chevron svg {
  display: none;
}
body.festival-design .faq-chevron::before {
  content: "+";
  font: 700 1.1rem var(--font-mono);
}
body.festival-design .faq-question[open] .faq-chevron {
  transform: none;
}
body.festival-design .faq-question[open] .faq-chevron::before {
  content: "−";
}

/* A consistent outline vocabulary: place = pin, organiser = people, guides = topic. */
.ui-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.festival-design
  :is(.guide-icon, .howto-heading-icon, .faq-category-icon, .faq-contact-icon)
  .ui-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.festival-design .guide-icon .ui-icon {
  width: 32px;
  height: 32px;
}

/* How-to guides: a programme-like colour field with restrained pictograms. */
body.festival-design .guides-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(2.5rem, 5vw, 4rem) max(2.5rem, calc((100vw - 1280px) / 2));
  background: #cfdcff;
}
html[data-theme="dark"] body.festival-design .guides-section {
  background: #252d4d;
}
body.festival-design .guides-section .howto-section-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
@media (max-width: 1100px) {
  body.festival-design .guides-section {
    padding-inline: 1.5rem;
  }
}
@media (max-width: 640px) {
  body.festival-design .guides-section {
    padding: 2.25rem 1rem;
  }
}
body.festival-design .event-listing-context > span {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}
body.festival-design .event-listing-context span + span::before {
  content: none;
}
body.festival-design .event-listing-context .ui-icon {
  width: 17px;
  height: 17px;
  margin-top: 0.05rem;
  color: var(--org-color, var(--accent));
}
