@charset "UTF-8";
/* ─────────────────────────────────────────
   BASE
───────────────────────────────────────── */
:root {
  --blue: #1e539c;
  --yellow: #ebfd64;
  --nav-h: 76px;
  --border: #e2e2e2;
  --text: #111;
  --sub-text: #444;
}

*, *::before, *::after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

body {
  font-family: "Source Sans 3", sans-serif;
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
}

a {
  color: inherit;
}

/* ─────────────────────────────────────────
   SITE HEADER  (sticky)
───────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
}

.header-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--nav-h);
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
}

/* ─────────────────────────────────────────
   LOGO
───────────────────────────────────────── */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  gap: 0;
}

/* ─────────────────────────────────────────
   DESKTOP NAV  (≥1200px)
───────────────────────────────────────── */
.desktop-nav {
  display: none;
  align-items: center;
  margin-left: auto;
  /* 0 Abstand bei 1400px → ~1.5rem bei 1920px */
  gap: clamp(0px, (100vw - 1400px) * 0.03, 1.5rem);
}

.desktop-nav__btn.active {
  border-color: #111;
  outline: none;
}

@media (min-width: 1200px) {
  .desktop-nav {
    display: flex;
  }
}
.desktop-nav__btn {
  appearance: none;
  background: none;
  border: 2px solid transparent;
  border-radius: 50rem;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text);
  /* 0.5rem horizontal bei 1400px → ~1.2rem bei 1920px */
  padding: 0.3rem clamp(0.5rem, 0.5rem + (100vw - 1400px) * 0.013, 1.2rem);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.5;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

/* Pfeil-Chevron */
.desktop-nav__btn::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 0.2rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Pfeil dreht beim Öffnen nach oben */
.desktop-nav__btn[aria-expanded=true]::after {
  transform: rotate(225deg);
  margin-bottom: -0.2rem;
}

.desktop-nav__btn:hover {
  color: var(--blue);
}

.desktop-nav__btn[aria-expanded=true] {
  color: var(--blue);
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .desktop-nav__btn {
    font-size: 0.9rem;
  }
  .desktop-nav {
    gap: 0.2rem;
  }
}
.desktop-nav__search {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  margin-left: 0.25rem;
  color: var(--text);
  text-decoration: none;
}

.desktop-nav__search:hover {
  color: var(--blue);
}

/* ─────────────────────────────────────────
   MEGA-MENU PANELS  (wie Vorlage Default.html)
───────────────────────────────────────── */
.mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  background: #fff;
  border-top: 1px solid #cac9c9;
  border-bottom: 1px solid #cac9c9;
  box-shadow: 0 8px 16px -5px rgba(55, 70, 95, 0.07);
  z-index: 999;
  display: none;
  padding: 3.125rem 1.25rem;
}

.mega-menu.is-open {
  display: block;
}

/* Flex-Layout: 30 % Intro + 65 % Links (wie Vorlage) */
.mega-menu__inner {
  display: flex;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
}

.mega-menu__intro {
  width: 30%;
}

.mega-menu__intro h2 {
  font-size: 2.125rem;
  line-height: 1.265;
  color: var(--text);
  margin: 0 0 1.5625rem;
}

.mega-menu__intro p {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--sub-text);
  margin: 0 0 1rem;
}

.mega-menu__intro > a {
  color: #005a9c;
  display: inline-block;
  margin-top: 1rem;
  padding-top: 0.5625rem;
  font-size: 1rem;
  text-decoration: none;
}

.mega-menu__intro > a:hover {
  color: #002a56;
  text-decoration: underline;
}

/* Links-Spalten (65 %, 2-spaltig wie Vorlage) */
.mega-menu__links {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2.5rem;
  width: 65%;
}

.mega-menu__links li {
  break-inside: avoid;
}

.mega-menu__links a {
  color: #111;
  display: inline-flex;
  align-items: flex-start;
  font-size: 1.1875rem;
  line-height: 1.5;
  padding: 0.5rem 0.125rem;
  text-decoration: none;
  width: auto;
}

/* Pfeil-Indikator (exakt wie Vorlage) */
.mega-menu__links a::before {
  block-size: 1rem;
  border-color: #005a9c;
  border-style: solid;
  border-width: 0 0.25rem 0.25rem 0;
  content: "";
  flex: 0 0 auto;
  inline-size: 1rem;
  margin-block-start: 0.375rem;
  margin-inline-end: 1rem;
  transform: rotate(-45deg);
}

.mega-menu__links a:hover {
  color: #002a56;
  text-decoration: underline;
}

.mega-menu__links a:hover::before {
  border-color: #002a56;
}

/* Click-outside overlay */
.mega-overlay {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  z-index: 998;
  display: none;
  cursor: default;
}

.mega-overlay.is-open {
  display: block;
}

/* ─────────────────────────────────────────
   MOBILE HAMBURGER  (< 1400px)
───────────────────────────────────────── */
.mobile-toggler {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--blue);
  padding: 0.25rem;
  text-decoration: none;
}

@media (min-width: 1200px) {
  .mobile-toggler {
    display: none;
  }
}
/* ─────────────────────────────────────────
   OFFCANVAS — Mobile Nav
───────────────────────────────────────── */
#mobileNav {
  --bs-offcanvas-width: 340px;
}

.offcanvas-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}

.offcanvas-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.offcanvas-body {
  padding: 0;
}

/* Mobile nav list */
.mob-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mob-nav-item {
  border-bottom: 1px solid var(--border);
}

.mob-nav-item__row {
  display: flex;
  align-items: stretch;
}

.mob-nav-item__link {
  flex: 1;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  letter-spacing: 0.02em;
}

.mob-nav-item__link:hover {
  color: var(--blue);
}

.mob-nav-item__toggle {
  appearance: none;
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  cursor: pointer;
  width: 52px;
  font-size: 1.3rem;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.mob-nav-item__toggle.open {
  transform: rotate(45deg);
}

.mob-subnav {
  list-style: none;
  padding: 0.25rem 1.5rem 0.75rem 2rem;
  margin: 0;
  background: #fafafa;
}

.mob-subnav a {
  display: block;
  font-size: 0.95rem;
  color: var(--sub-text);
  text-decoration: none;
  padding: 0.4rem 0;
}

.mob-subnav a:hover {
  color: var(--blue);
}

.mob-nav-item--search .mob-nav-item__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─────────────────────────────────────────
   SEKTION 1: HERO
───────────────────────────────────────── */
.mt-n3 {
  margin-top: -3rem !important;
}

.home-slides {
  display: none;
}

.title {
  font-weight: 700;
  font-size: clamp(3rem, 1.7rem + 6.9vw, 10rem);
  line-height: 1.1;
  position: relative;
  z-index: 1;
  text-align: left;
  text-transform: uppercase;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .home-title {
    font-size: clamp(3.5rem, 9vw, 6rem);
  }
}
.blue {
  color: var(--blue);
}
.blue .rounded-pill {
  border: 1px solid var(--blue) !important;
}
.blue .btn-transparent {
  background-color: transparent;
  border: 1px solid var(--blue);
  color: var(--blue);
}

/* Desktop: Bild-Größen */
@media (min-width: 992px) {
  .bild1 {
    width: 40%;
  }
  .bild2 {
    width: 60%;
  }
  .text-abstand {
    margin-left: -120px;
    margin-right: 80px;
  }
}
@media (max-width: 575.98px) {
  .container {
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
  }
}
@media (max-width: 991.98px) {
  .figure-caption, figcaption {
    font-size: 0.7rem !important;
  }
  .pt-5 {
    padding-top: 1.5rem !important;
  }
  .pb-5 {
    padding-bottom: 1.5rem !important;
  }
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .pt-3 {
    padding-top: 0.75rem !important;
  }
  .pb-3 {
    padding-bottom: 0.75rem !important;
  }
  .py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
}
@media (max-width: 767.98px) {
  .event-list-row > div:last-child {
    order: -1;
    margin-bottom: 0.75rem;
  }
}
/* Mobile: überlagerndes Layout */
@media (max-width: 991.98px) {
  .bild2 {
    width: 60%;
    margin-left: auto;
  }
  .bild1 {
    width: 40%;
    margin-right: auto;
    margin-top: 100px;
    visibility: hidden;
  }
  .text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 0.5rem 0;
    width: 100%;
  }
  .home-title {
    font-size: clamp(4.5rem, 15vw, 20rem);
  }
}
/* Mobile: überlagerndes Layout */
@media (max-width: 991.98px) {
  .bild2 {
    width: 100%;
    margin-left: 0;
  }
  .bild1 {
    display: none;
  }
  .text-overlay {
    position: static;
    order: 1;
    padding: 0.5rem 0;
    width: 100%;
  }
  .home-title {
    font-size: clamp(4.5rem, 15vw, 20rem);
  }
  .title {
    line-height: 1.05;
    margin-bottom: 1.5rem !important;
  }
}
/* ─────────────────────────────────────────
   SEKTION 2: LEAD TEXT
───────────────────────────────────────── */
.bg-yellow, .frame-layout-1 {
  background-color: var(--yellow);
}

@media (min-width: 768px) {
  section.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 3rem !important;
  }
}
.lead {
  /* 1.2rem bei ~430px → 2rem ab ~1400px */
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .rounded-pill {
    font-size: 1.2rem;
  }
}
/* Rotierender Newsletter-Button */
.rotating-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.rotating-text {
  position: relative;
  width: 240px;
  height: 240px;
  display: grid;
  place-items: center;
}

.rt-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.rt-icon-svg {
  width: 62px;
  height: 45px;
  fill: var(--blue);
}

.rt-circle {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: rt-spin 18s linear infinite;
}

.rt-text {
  fill: var(--blue);
  font: 700 21px/1.1 "Source Sans 3", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rotating-text:hover .rt-circle {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .rt-circle {
    animation: none;
  }
}
@keyframes rt-spin {
  to {
    transform: rotate(360deg);
  }
}
/* ─────────────────────────────────────────
   GEMEINSAME CONTENT-STILE
───────────────────────────────────────── */
header h2 {
  font-size: clamp(1.8rem, 3vw, 2rem);
  text-align: left;
  margin-bottom: 1.5rem !important;
  margin-top: 0 !important;
}

/* Pfeil-Link */
.arrow-left {
  display: inline-block;
  padding-left: 40px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='18' viewBox='0 0 30 18' fill='none'><path d='M0.849976 8.97998H21.51' stroke='%231D1D1B'/><path d='M20.92 0.759766L29.14 8.97976L20.53 17.5898' stroke='%231D1D1B' stroke-width='1.25'/></svg>") no-repeat left center;
  background-size: 30px 18px;
  color: #1d1d1b;
  text-decoration: none;
}

.arrow-left:hover {
  text-decoration: underline;
}

/* Transparenter Button */
.btn-transparent {
  background-color: transparent;
  border: 1px solid #000;
  color: #000;
}

.btn-transparent:hover {
  border-color: #333;
  color: #000;
}

.rounded-pill {
  border: 1px solid #111 !important;
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2rem);
  text-align: left;
}

.ausstellung-owl .col-md-8 {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ausstellung-owl .col-md-8 {
    margin-bottom: 0;
  }
}
.event-list-row .col-md-3:last-child {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .event-list-row .col-md-3:last-child {
    margin-bottom: 0;
  }
}
/* Gelber Rahmen (Publikationen) */
.yellow-border {
  background: var(--yellow);
  padding: 2rem;
}

/* Veranstaltungen */
.news-date {
  font-size: 1.8rem;
  line-height: 1.4;
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .news-date {
    display: block;
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
}
/* Veranstaltungen-Titel */
.veranstaltungen-title a {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: underline;
}

.veranstaltungen-title a:hover {
  color: var(--blue);
}

@media (max-width: 767.98px) {
  .veranstaltungen-title a {
    font-size: 1.5rem;
    text-decoration: none;
  }
}
/* News-Titel */
.news-title a {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: underline;
}

.news-title a:hover {
  color: var(--blue);
}

@media (max-width: 767.98px) {
  .news-title a {
    font-size: 1.5rem;
  }
}
.news-teaser {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
}

/* Social Media-Titel */
.social-section p:first-child a,
.social-section p:first-child a strong {
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: underline;
  color: var(--text);
}

.social-section p:first-child a:hover {
  color: var(--blue);
}

.news-teaser {
  color: var(--sub-text);
}

.event-list-row {
  padding-bottom: 1rem;
}

hr {
  display: none;
}

@media (max-width: 992px) {
  hr {
    display: block;
    height: 1px;
    border: 0;
    background-color: #000;
    opacity: 1;
    margin-top: 1.5rem;
  }
}
/* Veranstaltungen-Hintergrund: blaue BKA-Silhouette */
@media (min-width: 1400px) {
  .frame-layout-3 {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 83 60'><path fill-rule='evenodd' clip-rule='evenodd' d='M9.90175 3.84236L0 50.5419L4.36842 55.8621H31.4526V60H49.9456V55.8621H78.486L83 49.6552L72.0789 3.84236H55.1877V0H27.0842V3.84236H9.90175ZM27.0842 22.7586H55.1877V44.7783H27.0842V22.7586Z' fill='%231E539C'/></svg>") no-repeat;
    background-size: 1400px auto;
    background-position: -1000px bottom;
  }
}
/* Swiper Ausstellung */
/* Owl Carousel Ausstellung */
.ausstellung-owl {
  position: relative;
}

.owl-nav {
  display: none !important;
}

@media (min-width: 992px) {
  .owl-nav {
    display: block !important;
  }
}
.owl-prev, .owl-next {
  position: absolute !important;
  top: 35% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.owl-prev {
  left: -65px !important;
}

.owl-next {
  right: -65px !important;
}

.owl-dots {
  text-align: right !important;
  margin-top: 1rem;
}

.owl-dot span {
  width: 18px !important;
  height: 18px !important;
  background: transparent !important;
  border: 2px solid #000 !important;
}

.owl-dot.active span {
  background: #000 !important;
}

/* Footer */
.bg-blue {
  background: var(--blue);
  color: #fff;
}

.bg-blue a {
  color: #fff;
  text-decoration: none;
}

.bg-blue a:hover {
  text-decoration: underline;
}

.footer h4 {
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.arrow-left-white {
  display: inline-block;
  padding-left: 40px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='18' viewBox='0 0 30 18' fill='none'><path d='M0.849976 8.97998H21.51' stroke='%23fff'/><path d='M20.92 0.759766L29.14 8.97976L20.53 17.5898' stroke='%23fff' stroke-width='1.25'/></svg>") no-repeat left center;
  background-size: 30px 18px;
  color: #fff;
  text-decoration: none;
}

.arrow-left-white:hover {
  text-decoration: underline;
}

.zweibild-layout-1 .img-big {
  width: 100%;
  height: auto;
}
.zweibild-layout-1 .img-small {
  width: 100%;
  max-width: 450px;
  height: auto;
}
@media (min-width: 768px) {
  .zweibild-layout-1 .custom-row > [class^=col-] {
    padding-right: 12rem;
  }
}
.zweibild-layout-1 .custom-row > [class^=col-]:last-child {
  padding-right: 0;
}

figcaption,
.figure-caption {
  font-size: 0.8rem !important; /* etwas kleiner */
  color: #666; /* dezente Farbe */
  margin-top: 0.5rem; /* Abstand zum Bild */
  max-width: 1200px;
}

.zweibild-layout-2 {
  /* Bildunterschriften */
  /* Versatz für das linke kleine Bild */
}
.zweibild-layout-2 .img-big {
  width: 100%;
  height: auto;
}
.zweibild-layout-2 .img-small {
  width: 80%; /* etwas kleiner als die Hälfte, flexibler */
  height: auto;
}
.zweibild-layout-2 .custom-row > [class^=col-] {
  padding-right: 12rem; /* Abstand rechts */
}
.zweibild-layout-2 .custom-row > [class^=col-]:last-child {
  padding-right: 0;
}
.zweibild-layout-2 figcaption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}
.zweibild-layout-2 .offset-top {
  margin-top: 6rem; /* höher rutschen */
}

h1 {
  font-weight: 600; /* Bold */
}
h1 strong {
  font-weight: 600; /* Bold */
}

.pagination {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  justify-content: center;
  align-items: center;
}

.pagination li {
  display: flex;
}

.pagination li a,
.pagination li.current {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid #1e539c;
  min-width: 36px;
  text-align: center;
  transition: 0.2s ease;
  color: #1e539c;
  background: transparent;
}

/* Hover-Effekt */
.pagination li a:hover {
  background-color: #1e539c;
  border-color: #1e539c;
  color: #fff;
}

/* Aktuelle Seite */
.pagination li.current {
  background-color: #1e539c;
  border-color: #1e539c;
  color: #fff;
  cursor: default;
}

/* Disabled Buttons */
.pagination li.previous a:empty,
.pagination li.next a:empty,
.pagination li.first a:empty,
.pagination li.last a:empty {
  pointer-events: none;
  opacity: 0.3;
}

/* Schrift */
.pagination li a {
  font-weight: 500;
}

/* Punkte (...) */
.pagination li.dots {
  display: inline-block !important;
  visibility: visible !important;
  color: #1e539c;
}

.list-group-item {
  border: 0;
}

#site-16 .tx-sf-event-mgt .section-heading {
  display: none;
}