
:root {
  --ebi-black: #000000;
  --ebi-white: #ffffff;
  --ebi-paper: #f4f3ee;
  --ebi-blue: #85a5d3;
  --ebi-green: #6db86a;
  --ebi-coral: #ef7478;
  --ebi-orange: #f9ae55;
  --ebi-line: rgba(0, 0, 0, 0.14);
  --ebi-header-height: 82px;
}

.ebi-site-header *,
.ebi-programm *,
.ebi-all-events *,
.ebi-exhibitions *,
.ebi-news *,
.ebi-photo-slider *,
.ebi-about-network *,
.ebi-join-newsletter *,
.ebi-site-footer *,
.ebi-modal * {
  box-sizing: border-box;
}

.ebi-site-header button,
.ebi-programm button,
.ebi-all-events button,
.ebi-exhibitions button,
.ebi-news button,
.ebi-photo-slider button,
.ebi-modal button {
  appearance: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
}

.ebi-site-header a,
.ebi-programm a,
.ebi-all-events a,
.ebi-exhibitions a,
.ebi-news a,
.ebi-about-network a,
.ebi-join-newsletter a,
.ebi-site-footer a {
  color: inherit;
  text-decoration: none;
}

.ebi-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* ============================================================
   HEADER
   ============================================================ */

body.ebi-custom-header-enabled #main-header,
body.ebi-custom-header-enabled #top-header {
  display: none !important;
}

body.ebi-custom-header-enabled #page-container {
  padding-top: var(--ebi-header-height) !important;
}

.ebi-site-header {
  position: fixed;
  z-index: 99990;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--ebi-header-height);
  background: var(--ebi-white);
  color: var(--ebi-black);
  font-family: inherit;
}

body.admin-bar .ebi-site-header {
  top: 32px;
}

.ebi-site-header__inner {
  display: flex;
  width: min(1400px, calc(100% - 38px));
  height: calc(var(--ebi-header-height) - 7px);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ebi-site-header__brand {
  display: flex;
  flex: 0 0 auto;
  height: 54px;
  align-items: center;
}

.ebi-site-header__brand img {
  width: auto;
  height: 52px;
  display: block;
  object-fit: contain;
}

.ebi-site-header__fallback {
  font-size: 32px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.09em;
}

.ebi-site-header__fallback span {
  color: var(--ebi-coral);
}

.ebi-site-header__menu {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
}

.ebi-site-header__menu nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 29px);
}

.ebi-site-header__menu nav a {
  position: relative;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.ebi-site-header__menu nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--ebi-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.ebi-site-header__menu nav a:nth-child(2)::after { background: var(--ebi-orange); }
.ebi-site-header__menu nav a:nth-child(3)::after { background: var(--ebi-blue); }
.ebi-site-header__menu nav a:nth-child(4)::after { background: var(--ebi-green); }

.ebi-site-header__menu nav a:hover::after,
.ebi-site-header__menu nav a:focus-visible::after {
  transform: scaleX(1);
}

.ebi-site-header__events {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid var(--ebi-black);
  border-radius: 999px;
  background: var(--ebi-black);
  color: var(--ebi-white) !important;
  font-size: 12px;
  line-height: 1;
  font-weight: 750;
}

.ebi-site-header__colorline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 7px;
}

.ebi-site-header__colorline span:nth-child(1) { background: var(--ebi-green); }
.ebi-site-header__colorline span:nth-child(2) { background: var(--ebi-coral); }
.ebi-site-header__colorline span:nth-child(3) { background: var(--ebi-blue); }
.ebi-site-header__colorline span:nth-child(4) { background: var(--ebi-orange); }

.ebi-site-header__toggle {
  display: none;
}

/* ============================================================
   PROGRAM HOMEPAGE
   ============================================================ */

.ebi-programm,
.ebi-all-events {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(76px, 8vw, 116px) 0;
  color: var(--ebi-black);
  font-family: inherit;
}

.ebi-programm__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 38px;
}

.ebi-programm__heading {
  max-width: 760px;
}

.ebi-programm__head h2,
.ebi-all-events__head h1 {
  margin: 0;
  font-size: clamp(50px, 6vw, 78px);
  line-height: 0.92;
  font-weight: 760;
  letter-spacing: -0.058em;
}

.ebi-programm__intro,
.ebi-all-events__intro {
  max-width: 650px;
  margin: 20px 0 0;
  color: #3f3f3f;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
}

.ebi-programm__switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--ebi-black);
  border-radius: 999px;
}

.ebi-programm__switch-button {
  min-height: 39px;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 730 !important;
  cursor: pointer;
}

.ebi-programm__switch-button.is-active {
  background: var(--ebi-black) !important;
  color: var(--ebi-white) !important;
}

.ebi-programm__all {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border: 1px solid var(--ebi-black);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.ebi-programm__all:hover {
  background: var(--ebi-orange);
}

[data-ebi-panel][hidden] {
  display: none !important;
}

.ebi-programm__overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, 0.65fr);
  gap: 24px;
}

.ebi-programm-featured,
.ebi-programm-item {
  overflow: hidden;
  border: 1px solid var(--ebi-line);
  background: var(--ebi-white);
}

.ebi-programm-featured__media,
.ebi-programm-item__image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.ebi-programm-featured__media {
  aspect-ratio: 16 / 9;
  background: var(--ebi-blue);
}

.ebi-programm-featured__media > img,
.ebi-programm-item__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ebi-programm-featured:hover .ebi-programm-featured__media > img,
.ebi-programm-item:hover .ebi-programm-item__image img {
  transform: scale(1.025);
}

.ebi-programm-featured__fallback,
.ebi-programm-item__fallback,
.ebi-all-event__fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, var(--ebi-coral) 0 17%, transparent 17.5%),
    radial-gradient(circle at 78% 78%, var(--ebi-orange) 0 23%, transparent 23.5%),
    var(--ebi-blue);
}

.ebi-programm-featured__date,
.ebi-programm-item__date {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: grid;
  min-width: 72px;
  padding: 11px 12px;
  background: var(--ebi-white);
  text-align: center;
}

.ebi-programm-featured__date b,
.ebi-programm-item__date b {
  font-size: 28px;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.ebi-programm-featured__date span,
.ebi-programm-item__date span {
  margin-top: 5px;
  font-size: 9px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0.1em;
}

.ebi-programm-featured__label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 9px 12px;
  background: var(--ebi-coral);
  font-size: 10px;
  font-weight: 790;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ebi-programm-featured__body {
  padding: 27px 28px 31px;
}

.ebi-programm__meta {
  margin: 0 0 10px;
  color: #666;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ebi-programm-featured h3,
.ebi-programm-item h3 {
  margin: 0;
}

.ebi-programm-title-button {
  display: block;
  width: 100%;
  cursor: pointer;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}

.ebi-programm-featured h3 {
  font-size: clamp(31px, 3.2vw, 46px);
  line-height: 1.01;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.ebi-programm-featured__excerpt {
  margin: 16px 0 0;
  color: #454545;
  font-size: 16px;
  line-height: 1.52;
}

.ebi-programm__more,
.ebi-programm-item__link,
.ebi-exhibition-space__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 18px;
  padding-bottom: 4px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 740 !important;
  cursor: pointer;
  background-image: linear-gradient(var(--ebi-orange), var(--ebi-orange)) !important;
  background-repeat: no-repeat !important;
  background-position: left bottom !important;
  background-size: 0 2px !important;
  transition: background-size 0.22s ease;
}

.ebi-programm__more:hover,
.ebi-programm-item__link:hover,
.ebi-exhibition-space__link:hover {
  background-size: 100% 2px !important;
}

.ebi-programm__list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ebi-programm-item {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
}

.ebi-programm-item__image {
  min-height: 100%;
}

.ebi-programm-item__date {
  left: 9px;
  bottom: 9px;
  min-width: 58px;
  padding: 8px 9px;
}

.ebi-programm-item__date b {
  font-size: 22px;
}

.ebi-programm-item__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
}

.ebi-programm-item h3 {
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.04;
  font-weight: 740;
  letter-spacing: -0.035em;
}

.ebi-programm-item__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: #555;
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Calendar */

.ebi-calendar__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--ebi-black);
  border-bottom: 1px solid var(--ebi-line);
}

.ebi-calendar__head h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1;
  font-weight: 740;
  letter-spacing: -0.045em;
  text-align: center;
}

.ebi-calendar__nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ebi-black) !important;
  border-radius: 50% !important;
  text-align: center !important;
  cursor: pointer;
}

.ebi-calendar__scroll {
  overflow-x: auto;
}

.ebi-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(132px, 1fr));
  min-width: 924px;
  border-top: 1px solid var(--ebi-black);
  border-left: 1px solid var(--ebi-line);
}

.ebi-calendar__weekday,
.ebi-calendar__day {
  border-right: 1px solid var(--ebi-line);
  border-bottom: 1px solid var(--ebi-line);
}

.ebi-calendar__weekday {
  padding: 12px 13px;
  background: var(--ebi-black);
  color: var(--ebi-white);
  font-size: 10px;
  font-weight: 770;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ebi-calendar__day {
  min-height: 145px;
  padding: 11px;
  background: var(--ebi-white);
}

.ebi-calendar__day.is-outside {
  background: var(--ebi-paper);
  color: #999;
}

.ebi-calendar__day.is-today {
  box-shadow: inset 0 0 0 3px var(--ebi-green);
}

.ebi-calendar__number {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 760;
}

.ebi-calendar__event {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 7px 8px 8px !important;
  border-left: 4px solid var(--ebi-coral) !important;
  background: var(--ebi-paper) !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 690 !important;
  cursor: pointer;
}

.ebi-calendar__event small {
  display: block;
  margin-top: 4px;
  color: #555;
  font-size: 9px;
}

/* ============================================================
   ALL EVENTS PAGE
   ============================================================ */

.ebi-all-events__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.ebi-all-events__eyebrow {
  margin: 0 0 12px;
  color: var(--ebi-coral);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ebi-all-events__list {
  display: grid;
  gap: 10px;
}

.ebi-all-event {
  display: grid;
  grid-template-columns: 190px 80px minmax(0, 1fr) 70px;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--ebi-black);
  background: var(--ebi-white);
}

.ebi-all-event__image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 170px;
  overflow: hidden;
  cursor: pointer;
}

.ebi-all-event__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ebi-all-event__date {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid var(--ebi-line);
}

.ebi-all-event__date b {
  font-size: 34px;
  line-height: 1;
}

.ebi-all-event__date span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.ebi-all-event__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
}

.ebi-all-event__copy h2 {
  margin: 0;
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.02;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.ebi-all-event__copy h2 button {
  cursor: pointer;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

.ebi-all-event__copy > p:last-child {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 0;
  color: #505050;
  font-size: 14px;
  line-height: 1.46;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ebi-all-event__open {
  border-left: 1px solid var(--ebi-line) !important;
  font-size: 27px !important;
  text-align: center !important;
  cursor: pointer;
}

.ebi-all-event__open:hover {
  background: var(--ebi-orange) !important;
}

/* ============================================================
   EXHIBITIONS – pure black
   ============================================================ */

.ebi-exhibitions {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(78px, 8vw, 116px) 0;
  background: var(--ebi-black);
  color: var(--ebi-white);
  font-family: inherit;
}

.ebi-exhibitions::after {
  content: "✱";
  position: absolute;
  top: -94px;
  right: -42px;
  color: var(--ebi-orange);
  font-family: Arial, sans-serif;
  font-size: clamp(190px, 20vw, 330px);
  line-height: 1;
  font-weight: 900;
  transform: rotate(10deg);
  pointer-events: none;
}

.ebi-exhibitions__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.ebi-exhibitions__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 58px;
  align-items: end;
  margin-bottom: 42px;
  padding-right: clamp(80px, 11vw, 165px);
}

.ebi-exhibitions__head h2 {
  margin: 0;
  color: var(--ebi-white);
  font-size: clamp(48px, 5.7vw, 76px);
  line-height: 0.93;
  font-weight: 760;
  letter-spacing: -0.058em;
}

.ebi-exhibitions__intro {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 17px;
  line-height: 1.55;
}

.ebi-exhibitions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.35);
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.ebi-exhibition-space {
  min-width: 0;
  padding: 23px 20px 28px;
  border-right: 1px solid rgba(255,255,255,.2);
}

.ebi-exhibition-space:last-child {
  border-right: 0;
}

.ebi-exhibition-space__name {
  min-height: 42px;
  margin: 0 0 17px;
  font-size: 19px;
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.ebi-exhibition-space__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ebi-black) !important;
  cursor: pointer;
}

.ebi-exhibition-space__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ebi-exhibition-space__body {
  padding-top: 18px;
}

.ebi-exhibition-space__status {
  display: flex;
  gap: 6px 10px;
  margin: 0 0 10px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ebi-exhibition-space h3 {
  margin: 0;
  color: var(--ebi-white);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.06;
  font-weight: 740;
  letter-spacing: -0.035em;
}

.ebi-exhibition-space__title {
  display: block;
  width: 100%;
  cursor: pointer;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

.ebi-exhibition-space__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 11px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.46;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ebi-exhibition-space__link {
  color: var(--ebi-white) !important;
}

/* ============================================================
   NEWS – white cards with solid EBI shadows
   ============================================================ */

.ebi-news {
  width: 100%;
  padding: clamp(82px, 8vw, 118px) 0;
  background: var(--ebi-paper);
  color: var(--ebi-black);
  font-family: inherit;
}

.ebi-news__inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.ebi-news__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 42px;
}

.ebi-news__head h2 {
  margin: 0;
  font-size: clamp(49px, 5.7vw, 76px);
  line-height: .93;
  font-weight: 760;
  letter-spacing: -.058em;
}

.ebi-news__head > p {
  margin: 0;
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.5;
}

.ebi-news__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ebi-news-item {
  --ebi-shadow: var(--ebi-coral);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 440px;
  flex-direction: column;
  border: 1px solid var(--ebi-black);
  background: var(--ebi-white);
  box-shadow: 11px 11px 0 var(--ebi-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ebi-news-item:nth-child(4n + 2) { --ebi-shadow: var(--ebi-blue); }
.ebi-news-item:nth-child(4n + 3) { --ebi-shadow: var(--ebi-green); }
.ebi-news-item:nth-child(4n + 4) { --ebi-shadow: var(--ebi-orange); }

.ebi-news-item:hover {
  transform: translate(4px, 4px);
  box-shadow: 7px 7px 0 var(--ebi-shadow);
}

.ebi-news-item__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ebi-shadow) !important;
  cursor: pointer;
}

.ebi-news-item__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ebi-news-item__copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px 25px 20px;
}

.ebi-news__date {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ebi-news-item h3 {
  margin: 0;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.01;
  font-weight: 750;
  letter-spacing: -.045em;
}

.ebi-news-item__title {
  display: block;
  width: 100%;
  cursor: pointer;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
}

.ebi-news-item__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 0;
  color: #3f3f3f;
  font-size: 14px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.ebi-news-item__button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 25px !important;
  border-top: 1px solid var(--ebi-black) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  cursor: pointer;
}

.ebi-news-item__button:hover {
  background: var(--ebi-shadow) !important;
}

/* ============================================================
   FULLSCREEN PHOTO SLIDER
   ============================================================ */

.ebi-photo-section,
.ebi-photo-section > .et_pb_row,
.ebi-photo-section .et_pb_column,
.ebi-photo-section .et_pb_module,
.ebi-photo-section .et_pb_code_inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ebi-photo-slider {
  position: relative;
  width: 100vw;
  height: min(88vh, 920px);
  min-height: 620px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--ebi-black);
}

.ebi-photo-slider__viewport,
.ebi-photo-slider__track,
.ebi-photo-slider__slide {
  position: absolute;
  inset: 0;
}

.ebi-photo-slider__slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}

.ebi-photo-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.ebi-photo-slider__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ebi-photo-slider__slide figcaption {
  position: absolute;
  left: clamp(18px, 3vw, 44px);
  bottom: clamp(18px, 3vw, 40px);
  padding: 9px 12px;
  background: var(--ebi-white);
  font-size: 11px;
  font-weight: 770;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ebi-photo-slider__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(22px, 3vw, 42px);
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.ebi-photo-slider__dots button {
  width: 9px;
  height: 9px;
  border: 1px solid var(--ebi-white) !important;
  border-radius: 50% !important;
  cursor: pointer;
}

.ebi-photo-slider__dots button.is-active {
  width: 30px;
  border-radius: 999px !important;
  background: var(--ebi-white) !important;
}

/* ============================================================
   COMBINED ABOUT + NETWORK
   ============================================================ */

.ebi-about-network {
  width: 100%;
  color: var(--ebi-black);
  font-family: inherit;
}

.ebi-about-network__intro {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 132px) 0;
  background: var(--ebi-green);
  color: var(--ebi-coral);
}

.ebi-about-network__intro-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.ebi-section-label {
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ebi-about-network__intro h2 {
  max-width: 950px;
  margin: 0;
  color: var(--ebi-coral);
  font-size: clamp(55px, 7vw, 96px);
  line-height: .89;
  font-weight: 780;
  letter-spacing: -.065em;
}

.ebi-about-network__lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--ebi-coral);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.48;
  font-weight: 620;
}

.ebi-about-network__shape {
  position: absolute;
  right: -75px;
  bottom: -180px;
  color: var(--ebi-coral);
  font-family: Arial, sans-serif;
  font-size: clamp(350px, 42vw, 650px);
  line-height: 1;
  font-weight: 900;
  transform: rotate(10deg);
}

.ebi-about-network__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.ebi-color-button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--ebi-coral);
  color: var(--ebi-green) !important;
  font-size: 13px;
  font-weight: 780;
}

.ebi-color-button--outline {
  background: transparent;
  color: var(--ebi-coral) !important;
}

.ebi-color-button--black {
  background: var(--ebi-black);
  color: var(--ebi-white) !important;
  border-color: var(--ebi-black);
}

.ebi-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ebi-value {
  min-height: 390px;
  padding: clamp(34px, 5vw, 68px);
}

.ebi-value--1 { background: var(--ebi-coral); color: var(--ebi-green); }
.ebi-value--2 { background: var(--ebi-blue); color: var(--ebi-orange); }
.ebi-value--3 { background: var(--ebi-orange); color: var(--ebi-blue); }
.ebi-value--4 { background: var(--ebi-green); color: var(--ebi-coral); }

.ebi-value__number {
  display: block;
  margin-bottom: 35px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ebi-value h3 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(36px, 4.3vw, 61px);
  line-height: .94;
  font-weight: 770;
  letter-spacing: -.058em;
}

.ebi-value p {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.52;
  font-weight: 620;
}

.ebi-people {
  padding: clamp(82px, 9vw, 126px) 0;
  background: var(--ebi-black);
  color: var(--ebi-white);
}

.ebi-people__head,
.ebi-people__columns {
  width: min(1240px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.ebi-people__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.ebi-people__head h2 {
  margin: 0;
  color: var(--ebi-white);
  font-size: clamp(50px, 6vw, 82px);
  line-height: .9;
  font-weight: 770;
  letter-spacing: -.06em;
}

.ebi-people__head p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.55;
}

.ebi-people__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.ebi-people__columns > section > h3 {
  margin: 0 0 16px;
  color: var(--ebi-orange);
  font-size: 13px;
  font-weight: 790;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ebi-people__list {
  border-top: 1px solid var(--ebi-white);
}

.ebi-people-item {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.ebi-people-item strong {
  color: var(--ebi-white);
  font-size: 18px;
  line-height: 1.18;
}

.ebi-people-item span {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.46;
}

a.ebi-people-item:hover strong {
  color: var(--ebi-coral);
}

/* ============================================================
   COMBINED JOIN + NEWSLETTER
   ============================================================ */

.ebi-join-newsletter {
  width: 100%;
  font-family: inherit;
}

.ebi-join-newsletter__join {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  min-height: 720px;
  background: var(--ebi-blue);
  color: var(--ebi-orange);
}

.ebi-join-newsletter__image {
  min-height: 720px;
  overflow: hidden;
}

.ebi-join-newsletter__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ebi-join-newsletter__join-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 92px);
}

.ebi-join-newsletter__join h2,
.ebi-join-newsletter__newsletter h2 {
  margin: 0;
  font-size: clamp(48px, 5.7vw, 78px);
  line-height: .91;
  font-weight: 770;
  letter-spacing: -.06em;
}

.ebi-join-newsletter__join-copy > p:not(.ebi-section-label) {
  margin: 23px 0 0;
  font-size: 17px;
  line-height: 1.57;
  font-weight: 620;
}

.ebi-project-room {
  display: grid;
  gap: 8px;
  margin: 34px 0 28px;
  padding: 23px 0;
  border-top: 1px solid var(--ebi-orange);
  border-bottom: 1px solid var(--ebi-orange);
}

.ebi-project-room strong {
  font-size: 23px;
}

.ebi-project-room span {
  font-size: 14px;
  line-height: 1.5;
}

.ebi-join-newsletter__join .ebi-color-button {
  width: fit-content;
  background: var(--ebi-orange);
  color: var(--ebi-blue) !important;
  border-color: var(--ebi-orange);
}

.ebi-join-newsletter__newsletter {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 130px) max(24px, calc((100vw - 1240px) / 2));
  background: var(--ebi-coral);
  color: var(--ebi-green);
}

.ebi-join-newsletter__newsletter > div {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.ebi-join-newsletter__newsletter p:not(.ebi-section-label) {
  max-width: 680px;
  margin: 24px 0 32px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 620;
}

.ebi-join-newsletter__newsletter-shape {
  position: absolute;
  right: -115px;
  bottom: -230px;
  color: var(--ebi-green);
  font-family: Arial, sans-serif;
  font-size: 620px;
  line-height: 1;
  font-weight: 900;
}

/* ============================================================
   FOOTER
   ============================================================ */

.ebi-site-footer {
  width: 100%;
  background: var(--ebi-black);
  color: var(--ebi-white);
  font-family: inherit;
}

.ebi-site-footer__colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 8px;
}

.ebi-site-footer__colors span:nth-child(1) { background: var(--ebi-green); }
.ebi-site-footer__colors span:nth-child(2) { background: var(--ebi-coral); }
.ebi-site-footer__colors span:nth-child(3) { background: var(--ebi-blue); }
.ebi-site-footer__colors span:nth-child(4) { background: var(--ebi-orange); }

.ebi-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(190px, .55fr) minmax(210px, .6fr);
  gap: clamp(46px, 7vw, 100px);
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(62px, 7vw, 96px) 0 58px;
}

.ebi-site-footer__wordmark {
  display: flex;
  align-items: flex-end;
  color: var(--ebi-white);
  font-size: clamp(63px, 7vw, 103px);
  line-height: .75;
  font-weight: 840;
  letter-spacing: -.09em;
}

.ebi-site-footer__wordmark i {
  margin: 0 5px;
  color: var(--ebi-coral);
  font-style: normal;
  font-size: .63em;
}

.ebi-site-footer__wordmark small {
  margin-left: 12px;
  font-size: .25em;
}

.ebi-site-footer__logo {
  width: min(310px, 80%);
  display: block;
  filter: invert(1);
}

.ebi-site-footer__nav,
.ebi-site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ebi-site-footer__nav > p,
.ebi-site-footer__contact > p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ebi-site-footer__nav a,
.ebi-site-footer__contact a {
  margin-bottom: 11px;
  font-size: 15px;
  font-weight: 670;
}

.ebi-site-footer__nav a:hover,
.ebi-site-footer__contact a:hover {
  color: var(--ebi-orange);
}

.ebi-site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.ebi-site-footer__bottom p,
.ebi-site-footer__bottom a {
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 11px;
}

.ebi-site-footer__bottom > div {
  display: flex;
  gap: 20px;
}

/* ============================================================
   MODAL
   ============================================================ */

.ebi-modal-is-open { overflow: hidden; }
.ebi-modal[hidden] { display: none !important; }

.ebi-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  opacity: 0;
  transition: opacity .22s ease;
}

.ebi-modal.is-open { opacity: 1; }

.ebi-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(7px);
}

.ebi-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(920px, calc(100% - 34px));
  max-height: min(88vh, 900px);
  overflow: auto;
  background: var(--ebi-white);
  transform: translate(-50%, -48%);
  transition: transform .22s ease;
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
}

.ebi-modal.is-open .ebi-modal__dialog {
  transform: translate(-50%, -50%);
}

.ebi-modal__close {
  position: sticky;
  z-index: 5;
  top: 15px;
  float: right;
  width: 44px;
  height: 44px;
  margin: 15px 15px -59px 0;
  border-radius: 50% !important;
  background: var(--ebi-black) !important;
  color: var(--ebi-white) !important;
  font-size: 28px !important;
  text-align: center !important;
  cursor: pointer;
}

.ebi-modal-entry__image {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  overflow: hidden;
}

.ebi-modal-entry__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ebi-modal-entry__body {
  padding: clamp(30px, 5vw, 58px);
}

.ebi-modal-entry__eyebrow {
  margin: 0 0 13px;
  color: var(--ebi-coral);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ebi-modal-entry h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: .97;
  font-weight: 760;
  letter-spacing: -.052em;
}

.ebi-modal-entry__meta {
  margin: 18px 0 0;
  color: #555;
  font-size: 12px;
}

.ebi-modal-entry__content {
  max-width: 720px;
  margin-top: 30px;
  color: #222;
  font-size: 17px;
  line-height: 1.68;
}

.ebi-modal-entry__content p,
.ebi-modal-entry__content ul,
.ebi-modal-entry__content ol {
  margin: 0 0 18px;
}

/* Divi wrappers */

.ebi-programm-section,
.ebi-exhibitions-section,
.ebi-news-section,
.ebi-static-section,
.ebi-footer-section {
  padding: 0 !important;
}

.ebi-programm-section > .et_pb_row,
.ebi-exhibitions-section > .et_pb_row,
.ebi-news-section > .et_pb_row,
.ebi-static-section > .et_pb_row,
.ebi-footer-section > .et_pb_row {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Responsive */

@media (max-width: 1100px) {
  .ebi-site-header__menu nav {
    gap: 14px;
  }

  .ebi-site-header__menu nav a {
    font-size: 12px;
  }

  .ebi-news__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body.admin-bar .ebi-site-header {
    top: 46px;
  }

  .ebi-site-header__toggle {
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 7px;
    border: 1px solid var(--ebi-black) !important;
    border-radius: 50% !important;
    cursor: pointer;
  }

  .ebi-site-header__toggle span {
    width: 20px;
    height: 2px;
    background: var(--ebi-black);
  }

  .ebi-site-header__menu {
    position: absolute;
    top: calc(var(--ebi-header-height) - 7px);
    right: 0;
    left: 0;
    display: none;
    padding: 20px;
    background: var(--ebi-white);
    border-top: 1px solid var(--ebi-black);
    box-shadow: 0 20px 30px rgba(0,0,0,.12);
  }

  .ebi-site-header.is-menu-open .ebi-site-header__menu {
    display: grid;
    gap: 18px;
  }

  .ebi-site-header__menu nav {
    display: grid;
  }

  .ebi-programm,
  .ebi-all-events,
  .ebi-exhibitions__inner,
  .ebi-news__inner,
  .ebi-about-network__intro-inner,
  .ebi-people__head,
  .ebi-people__columns {
    width: min(100% - 36px, 1240px);
  }

  .ebi-programm__head {
    grid-template-columns: 1fr auto;
  }

  .ebi-programm__heading {
    grid-column: 1 / -1;
  }

  .ebi-programm__overview {
    grid-template-columns: 1fr;
  }

  .ebi-programm__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .ebi-all-events__head,
  .ebi-exhibitions__head,
  .ebi-news__head,
  .ebi-people__head {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .ebi-all-event {
    grid-template-columns: 150px 70px minmax(0, 1fr) 58px;
  }

  .ebi-exhibitions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebi-exhibition-space:nth-child(2) {
    border-right: 0;
  }

  .ebi-values {
    grid-template-columns: 1fr;
  }

  .ebi-people__columns {
    grid-template-columns: 1fr;
  }

  .ebi-join-newsletter__join {
    grid-template-columns: 1fr;
  }

  .ebi-join-newsletter__image {
    min-height: 520px;
  }

  .ebi-site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .ebi-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --ebi-header-height: 74px;
  }

  .ebi-site-header__brand,
  .ebi-site-header__brand img {
    height: 45px;
  }

  .ebi-programm,
  .ebi-all-events,
  .ebi-exhibitions__inner,
  .ebi-news__inner,
  .ebi-about-network__intro-inner,
  .ebi-people__head,
  .ebi-people__columns {
    width: calc(100% - 28px);
  }

  .ebi-programm__head {
    grid-template-columns: 1fr;
  }

  .ebi-programm__switch,
  .ebi-programm__all {
    width: 100%;
  }

  .ebi-programm__switch-button {
    flex: 1 1 50%;
  }

  .ebi-programm__all {
    justify-content: center;
  }

  .ebi-programm__list {
    grid-template-columns: 1fr;
  }

  .ebi-programm-item {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .ebi-all-event {
    grid-template-columns: 100px 60px minmax(0, 1fr);
  }

  .ebi-all-event__open {
    grid-column: 1 / -1;
    min-height: 45px;
    border-top: 1px solid var(--ebi-line) !important;
    border-left: 0 !important;
  }

  .ebi-all-event__copy {
    padding: 18px;
  }

  .ebi-exhibitions::after {
    top: -55px;
    right: -42px;
    font-size: 175px;
  }

  .ebi-exhibitions__head {
    padding-right: 60px;
  }

  .ebi-exhibitions__grid {
    grid-template-columns: 1fr;
  }

  .ebi-exhibition-space {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .ebi-news__list {
    grid-template-columns: 1fr;
  }

  .ebi-news-item {
    min-height: 0;
  }

  .ebi-photo-slider {
    height: 74vh;
    min-height: 520px;
  }

  .ebi-about-network__intro h2,
  .ebi-people__head h2,
  .ebi-join-newsletter__join h2,
  .ebi-join-newsletter__newsletter h2 {
    font-size: 53px;
  }

  .ebi-about-network__shape {
    right: -85px;
    bottom: -110px;
    font-size: 360px;
  }

  .ebi-value {
    min-height: 330px;
    padding: 35px 24px;
  }

  .ebi-value h3 {
    font-size: 40px;
  }

  .ebi-people-item {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .ebi-join-newsletter__image {
    min-height: 420px;
  }

  .ebi-join-newsletter__join-copy {
    padding: 48px 24px;
  }

  .ebi-join-newsletter__newsletter {
    padding-right: 24px;
    padding-left: 24px;
  }

  .ebi-join-newsletter__newsletter-shape {
    right: -105px;
    bottom: -120px;
    font-size: 330px;
  }

  .ebi-site-footer__inner {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .ebi-site-footer__brand {
    grid-column: auto;
  }

  .ebi-site-footer__bottom {
    flex-direction: column;
    width: calc(100% - 28px);
  }

  .ebi-modal__dialog {
    width: calc(100% - 18px);
    max-height: 94vh;
  }
}

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

  .ebi-site-header *,
  .ebi-programm *,
  .ebi-news *,
  .ebi-photo-slider *,
  .ebi-modal * {
    transition: none !important;
  }
}

/* ============================================================
   EBI 1.8 – compact, high-contrast design and performance UI
   ============================================================ */

/* Header */

.ebi-site-header {
  height: var(--ebi-header-height);
}

.ebi-site-header__inner {
  width: min(1080px, calc(100% - 36px));
  height: var(--ebi-header-height);
}

.ebi-site-header__colorline {
  display: none !important;
}

.ebi-site-header__brand img {
  max-width: 150px;
}

.ebi-site-header__menu {
  gap: 28px;
}

/* Hero */

.ebi-hero-section,
.ebi-hero-section > .et_pb_row,
.ebi-hero-section .et_pb_column,
.ebi-hero-section .et_pb_module,
.ebi-hero-section .et_pb_code_inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ebi-hero {
  position: relative;
  width: 100%;
  height: min(86vh, 900px);
  min-height: 650px;
  overflow: hidden;
  background: #000;
  font-family: inherit;
}

.ebi-hero__slides,
.ebi-hero__slide {
  position: absolute;
  inset: 0;
}

.ebi-hero__slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .75s ease, visibility .75s ease;
}

.ebi-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.ebi-hero__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ebi-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 58%);
}

.ebi-hero__shape {
  position: absolute;
  z-index: 2;
  width: clamp(160px, 25vw, 390px);
  max-height: 65%;
  object-fit: contain;
  opacity: .9;
  pointer-events: none;
}

.ebi-hero__shape--one {
  top: -5%;
  right: 3%;
  transform: rotate(8deg);
}

.ebi-hero__shape--two {
  right: 19%;
  bottom: -11%;
  width: clamp(110px, 18vw, 260px);
  transform: rotate(-9deg);
}

.ebi-hero__panel {
  position: absolute;
  z-index: 4;
  left: max(24px, calc((100vw - 1080px) / 2));
  bottom: clamp(52px, 9vh, 105px);
  width: min(620px, calc(100% - 48px));
  padding: clamp(25px, 4vw, 44px);
  background: #fff;
  color: #000;
}

.ebi-hero__eyebrow {
  margin: 0 0 13px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ebi-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.7vw, 76px);
  line-height: .92;
  font-weight: 780;
  letter-spacing: -.06em;
}

.ebi-hero__text {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.5;
}

.ebi-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.ebi-hero__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid #000;
  border-radius: 999px;
  color: #000 !important;
  font-size: 13px;
  font-weight: 750;
}

.ebi-hero__button--primary {
  background: #000;
  color: #fff !important;
}

.ebi-hero__caption {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 22px;
  padding: 8px 11px;
  background: rgba(255,255,255,.94);
  color: #000;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ebi-hero__dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.ebi-hero__dots button {
  width: 9px;
  height: 9px;
  border: 1px solid #fff !important;
  border-radius: 50% !important;
  cursor: pointer;
}

.ebi-hero__dots button.is-active {
  width: 30px;
  border-radius: 999px !important;
  background: #fff !important;
}

/* Program hover and all-events link */

.ebi-programm-featured {
  position: relative;
  transition: transform .24s ease, box-shadow .24s ease;
  transform-origin: center;
}

.ebi-programm-featured:hover,
.ebi-programm-featured:focus-within {
  z-index: 3;
  transform: scale(1.018);
  box-shadow: 0 20px 48px rgba(0,0,0,.16);
}

.ebi-programm__source {
  display: none !important;
}

/* All events – simpler, no gray border */

.ebi-all-events {
  width: min(1080px, calc(100% - 40px));
}

.ebi-all-events__head {
  padding-top: 20px;
}

.ebi-all-event {
  border: 0 !important;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0,0,0,.09);
  transition: transform .18s ease, box-shadow .18s ease;
}

.ebi-all-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 34px rgba(0,0,0,.13);
}

.ebi-all-event__date,
.ebi-all-event__open {
  border-color: rgba(0,0,0,.1) !important;
}

.ebi-all-event__date {
  background: #000;
  color: #fff;
}

.ebi-all-events__list {
  gap: 16px;
}

/* Exhibitions */

.ebi-exhibitions {
  background: #000 !important;
  isolation: isolate;
}

.ebi-exhibitions::after {
  z-index: 0;
  top: -190px;
  right: -210px;
  font-size: clamp(620px, 78vw, 1180px);
  color: var(--ebi-orange);
  opacity: .42;
  transform: rotate(10deg);
}

.ebi-exhibitions__inner {
  z-index: 1;
}

.ebi-exhibitions__grid {
  position: relative;
  z-index: 2;
}

.ebi-exhibition-space {
  position: relative;
  background: rgba(0,0,0,.86);
}

.ebi-exhibition-space__name {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  margin: 0 0 16px;
  padding: 8px 11px;
  background: #fff;
  color: #000;
  font-size: 16px;
  line-height: 1;
}

.ebi-exhibition-space h3,
.ebi-exhibition-space__title {
  text-align: left !important;
}

.ebi-exhibitions__intro,
.ebi-exhibition-space__status,
.ebi-exhibition-space__excerpt {
  color: #fff !important;
  opacity: 1 !important;
}

/* News – opaque white cards and full-color shadows */

.ebi-news {
  background: #fff !important;
}

.ebi-news__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.ebi-news-item {
  min-height: 410px;
  border: 1px solid #000;
  background: #fff !important;
  box-shadow: 12px 12px 0 var(--ebi-shadow);
}

.ebi-news-item__copy,
.ebi-news-item__excerpt {
  color: #000 !important;
}

.ebi-news-item__button {
  color: #000;
}

/* Compact EBI section */

.ebi-about-network,
.ebi-values,
.ebi-people {
  display: none !important;
}

.ebi-about-compact {
  background: #fff;
  color: #000;
  font-family: inherit;
}

.ebi-about-compact__intro {
  position: relative;
  overflow: hidden;
  padding: clamp(65px, 7vw, 92px) max(24px, calc((100vw - 1080px) / 2));
  background: var(--ebi-green);
  color: #000;
}

.ebi-about-compact__copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.ebi-about-compact__intro h2 {
  margin: 0;
  font-size: clamp(45px, 5.5vw, 72px);
  line-height: .93;
  font-weight: 780;
  letter-spacing: -.06em;
}

.ebi-about-compact__intro p:not(.ebi-section-label) {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.55;
}

.ebi-about-compact__shape {
  position: absolute;
  right: -65px;
  bottom: -155px;
  color: var(--ebi-coral);
  font-family: Arial, sans-serif;
  font-size: clamp(300px, 38vw, 520px);
  line-height: 1;
  font-weight: 900;
}

.ebi-about-compact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.ebi-about-compact .ebi-color-button {
  background: #000;
  color: #fff !important;
  border-color: #000;
}

.ebi-about-compact .ebi-color-button--outline {
  background: transparent;
  color: #000 !important;
}

.ebi-values-compact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ebi-value-compact {
  min-height: 280px;
  padding: 31px 28px;
  color: #000;
}

.ebi-value-compact--1 { background: var(--ebi-coral); }
.ebi-value-compact--2 { background: var(--ebi-blue); }
.ebi-value-compact--3 { background: var(--ebi-orange); }
.ebi-value-compact--4 { background: var(--ebi-green); }

.ebi-value-compact > span {
  display: block;
  margin-bottom: 28px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.ebi-value-compact h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1;
  font-weight: 760;
  letter-spacing: -.045em;
}

.ebi-value-compact p {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.48;
}

.ebi-people-compact {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 7vw, 90px) 0;
}

.ebi-people-compact > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 35px;
}

.ebi-people-compact > header h2 {
  margin: 0;
  font-size: clamp(43px, 5vw, 66px);
  line-height: .94;
  font-weight: 770;
  letter-spacing: -.058em;
}

.ebi-people-compact > header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.52;
}

.ebi-people-compact section > h3 {
  margin: 0 0 15px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ebi-people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ebi-people-item {
  display: flex;
  min-height: 155px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid #000;
  background: #fff;
  color: #000 !important;
}

.ebi-people-item__visual {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--ebi-paper);
}

.ebi-people-item__visual img {
  width: 100%;
  max-width: 130px;
  max-height: 55px;
  object-fit: contain;
  filter: none;
}

.ebi-people-item__visual b {
  font-size: 21px;
  line-height: 1;
  text-align: center;
}

.ebi-people-item__copy {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.ebi-people-item__copy strong {
  font-size: 15px;
  line-height: 1.15;
}

.ebi-people-item__copy small {
  color: #000;
  font-size: 10px;
  line-height: 1.35;
}

.ebi-network-row {
  margin-top: 35px;
}

.ebi-network-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ebi-network-chips a,
.ebi-network-chips span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
}

.ebi-network-chips a:nth-child(4n+1) { box-shadow: 4px 4px 0 var(--ebi-coral); }
.ebi-network-chips a:nth-child(4n+2) { box-shadow: 4px 4px 0 var(--ebi-blue); }
.ebi-network-chips a:nth-child(4n+3) { box-shadow: 4px 4px 0 var(--ebi-green); }
.ebi-network-chips a:nth-child(4n+4) { box-shadow: 4px 4px 0 var(--ebi-orange); }

/* One compact action section */

.ebi-join-newsletter {
  display: none !important;
}

.ebi-action-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr) minmax(320px, .7fr);
  min-height: 490px;
  background: #000;
  color: #000;
  font-family: inherit;
}

.ebi-action-section__image {
  min-height: 490px;
  overflow: hidden;
}

.ebi-action-section__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ebi-action-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(31px, 4vw, 54px);
  overflow: hidden;
}

.ebi-action-card--join {
  background: var(--ebi-blue);
  color: #000;
}

.ebi-action-card--newsletter {
  background: var(--ebi-coral);
  color: #000;
}

.ebi-action-card h2 {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 51px);
  line-height: .95;
  font-weight: 770;
  letter-spacing: -.055em;
}

.ebi-action-card > p:not(.ebi-section-label),
.ebi-action-card > div > p:not(.ebi-section-label) {
  margin: 17px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.ebi-action-card__note {
  display: grid;
  gap: 6px;
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.ebi-action-card__note strong {
  font-size: 19px;
}

.ebi-action-card__note span {
  font-size: 13px;
  line-height: 1.45;
}

.ebi-action-card .ebi-color-button {
  width: fit-content;
  background: #000;
  color: #fff !important;
  border-color: #000;
}

.ebi-action-card__shape {
  position: absolute;
  right: -90px;
  bottom: -125px;
  color: var(--ebi-green);
  font-family: Arial, sans-serif;
  font-size: 310px;
  line-height: 1;
  font-weight: 900;
}

.ebi-action-card--newsletter > div {
  position: relative;
  z-index: 2;
}

/* Footer */

.ebi-site-footer__inner {
  width: min(1080px, calc(100% - 40px));
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, .45fr) minmax(220px, .55fr);
  padding-top: 58px;
}

.ebi-site-footer__logo {
  width: min(180px, 65%);
}

.ebi-site-footer__wordmark {
  font-size: clamp(48px, 5vw, 72px);
}

.ebi-site-footer__bottom {
  width: min(1080px, calc(100% - 40px));
  padding: 23px 0 27px;
}

.ebi-site-footer__bottom p,
.ebi-site-footer__bottom a {
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.5;
}

/* No low-contrast gray text on black */

.ebi-site-footer__nav > p,
.ebi-site-footer__contact > p,
.ebi-site-footer__nav a,
.ebi-site-footer__contact a {
  color: #fff !important;
  opacity: 1 !important;
}

/* Async modal loading */

.ebi-modal-entry__loading {
  margin-top: 15px !important;
  font-size: 13px;
  font-weight: 700;
}

.ebi-modal-entry__loading.is-error {
  padding: 12px;
  background: var(--ebi-orange);
}

/* Responsive */

@media (max-width: 1080px) {
  .ebi-values-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebi-people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ebi-action-section {
    grid-template-columns: 1fr 1fr;
  }

  .ebi-action-section__image {
    grid-column: 1 / -1;
    min-height: 440px;
  }
}

@media (max-width: 980px) {
  .ebi-site-header__inner {
    width: calc(100% - 28px);
  }

  .ebi-news__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebi-people-compact > header {
    grid-template-columns: 1fr;
  }

  .ebi-people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebi-action-section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .ebi-hero {
    min-height: 690px;
    height: 82vh;
  }

  .ebi-hero__panel {
    right: 14px;
    left: 14px;
    bottom: 55px;
    width: auto;
  }

  .ebi-hero__caption {
    display: none;
  }

  .ebi-values-compact,
  .ebi-people-grid,
  .ebi-news__list,
  .ebi-action-section {
    grid-template-columns: 1fr;
  }

  .ebi-value-compact {
    min-height: 235px;
  }

  .ebi-action-section__image {
    min-height: 360px;
  }

  .ebi-action-card {
    min-height: 360px;
  }

  .ebi-exhibitions::after {
    top: -45px;
    right: -150px;
    font-size: 520px;
  }
}

/* ============================================================
   EBI 1.8.1 – visual refinements
   ============================================================ */

/* Ausstellungen: großer, vollständig deckender Stern */

.ebi-exhibitions::after {
  color: var(--ebi-orange) !important;
  opacity: 1 !important;
}

.ebi-exhibition-space {
  background: rgba(0, 0, 0, 0.9);
}

/* Neuigkeiten: kompakte Liste mit sichtbaren Bildern */

.ebi-news__inner {
  width: min(980px, calc(100% - 48px));
}

.ebi-news__head {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
}

.ebi-news__head h2,
.ebi-news-item h3,
.ebi-news-item__title {
  text-align: left !important;
}

.ebi-news__list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
}

.ebi-news-item {
  display: grid !important;
  grid-template-columns: 190px minmax(0, 1fr) 86px !important;
  min-height: 170px !important;
  background: #fff !important;
  box-shadow: 10px 10px 0 var(--ebi-shadow) !important;
}

.ebi-news-item:hover {
  transform: translate(3px, 3px);
  box-shadow: 7px 7px 0 var(--ebi-shadow) !important;
}

.ebi-news-item__image {
  width: 100% !important;
  height: 100% !important;
  min-height: 170px !important;
  aspect-ratio: auto !important;
}

.ebi-news-item__copy {
  justify-content: center;
  padding: 23px 26px !important;
}

.ebi-news-item h3 {
  font-size: clamp(24px, 3vw, 35px) !important;
}

.ebi-news-item__excerpt {
  -webkit-line-clamp: 2 !important;
  margin-top: 10px !important;
  font-size: 14px !important;
}

.ebi-news-item__button {
  align-self: stretch;
  min-height: 100%;
  justify-content: center !important;
  padding: 18px !important;
  border-top: 0 !important;
  border-left: 1px solid #000 !important;
}

/* Verein: weiße Einführung, klar getrennt von den vier Farbfeldern */

.ebi-about-compact__intro {
  background: #fff !important;
  color: #000 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.ebi-about-compact__intro h2,
.ebi-about-compact__intro p,
.ebi-about-compact__intro .ebi-section-label {
  color: #000 !important;
}

.ebi-about-compact__shape {
  right: -110px;
  bottom: -230px;
  color: var(--ebi-orange) !important;
  font-size: clamp(470px, 55vw, 780px) !important;
  opacity: 1 !important;
}

.ebi-about-compact__copy {
  max-width: 760px;
}

.ebi-value-compact > span {
  display: none !important;
}

.ebi-value-compact h3 {
  margin-top: 0 !important;
}

.ebi-value-compact p {
  margin-top: 22px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* Newsletter: mehr Luft vor dem Button */

.ebi-action-card--newsletter .ebi-color-button {
  margin-top: 31px;
}

/* Footer: keine Farbleiste */

.ebi-site-footer__colors {
  display: none !important;
}

@media (max-width: 980px) {
  .ebi-news__inner {
    width: min(100% - 36px, 980px);
  }

  .ebi-news__head {
    grid-template-columns: 1fr;
  }

  .ebi-news-item {
    grid-template-columns: 160px minmax(0, 1fr) 76px !important;
  }
}

@media (max-width: 620px) {
  .ebi-news__inner {
    width: calc(100% - 28px);
  }

  .ebi-news-item {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    min-height: 165px !important;
  }

  .ebi-news-item__image {
    min-height: 165px !important;
  }

  .ebi-news-item__button {
    grid-column: 1 / -1;
    min-height: 46px;
    border-top: 1px solid #000 !important;
    border-left: 0 !important;
  }

  .ebi-news-item__copy {
    padding: 18px 17px !important;
  }

  .ebi-about-compact__shape {
    right: -145px;
    bottom: -145px;
    font-size: 460px !important;
  }

  .ebi-value-compact p {
    font-size: 16px !important;
  }
}

/* ============================================================
   EBI 1.9 – 1080 px system + less obstructive hero
   ============================================================ */

.ebi-programm,
.ebi-all-events,
.ebi-exhibitions__inner,
.ebi-news__inner,
.ebi-people-compact,
.ebi-site-footer__inner,
.ebi-site-footer__bottom {
  width: min(1080px, calc(100% - 40px)) !important;
  max-width: 1080px !important;
}

.ebi-about-compact__intro {
  padding-right: max(24px, calc((100vw - 1080px) / 2)) !important;
  padding-left: max(24px, calc((100vw - 1080px) / 2)) !important;
}

.ebi-hero__panel {
  left: max(24px, calc((100vw - 1080px) / 2)) !important;
  right: auto !important;
  bottom: clamp(38px, 6vh, 70px) !important;
  width: min(470px, calc(100% - 48px)) !important;
  padding: clamp(22px, 3vw, 31px) !important;
  transition:
    left .35s ease,
    right .35s ease,
    transform .35s ease;
}

.ebi-hero__panel--right {
  right: max(24px, calc((100vw - 1080px) / 2)) !important;
  left: auto !important;
}

.ebi-hero__eyebrow {
  margin-bottom: 10px !important;
}

.ebi-hero h1 {
  font-size: clamp(37px, 4.5vw, 57px) !important;
  line-height: .94 !important;
}

.ebi-hero__text {
  margin-top: 13px !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.ebi-hero__actions {
  margin-top: 18px !important;
}

.ebi-hero__photo[data-focus="left"] {
  object-position: left center;
}

.ebi-hero__photo[data-focus="center"] {
  object-position: center center;
}

.ebi-hero__photo[data-focus="right"] {
  object-position: right center;
}

.ebi-hero__photo[data-focus="top"] {
  object-position: center top;
}

.ebi-hero__photo[data-focus="bottom"] {
  object-position: center bottom;
}

.ebi-news__inner {
  width: min(1080px, calc(100% - 40px)) !important;
}

@media (max-width: 980px) {
  .ebi-programm,
  .ebi-all-events,
  .ebi-exhibitions__inner,
  .ebi-news__inner,
  .ebi-people-compact,
  .ebi-site-footer__inner,
  .ebi-site-footer__bottom {
    width: min(100% - 36px, 1080px) !important;
  }
}

@media (max-width: 620px) {
  .ebi-programm,
  .ebi-all-events,
  .ebi-exhibitions__inner,
  .ebi-news__inner,
  .ebi-people-compact,
  .ebi-site-footer__inner,
  .ebi-site-footer__bottom {
    width: calc(100% - 28px) !important;
  }

  .ebi-hero__panel,
  .ebi-hero__panel--right {
    right: 14px !important;
    left: 14px !important;
    width: auto !important;
  }

  .ebi-hero h1 {
    font-size: 39px !important;
  }

  .ebi-hero__text {
    display: none;
  }
}

/* ============================================================
   EBI 1.10 – vollständige Mobile-Optimierung
   ============================================================ */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.ebi-site-header a,
.ebi-site-header button,
.ebi-programm a,
.ebi-programm button,
.ebi-all-events a,
.ebi-all-events button,
.ebi-exhibitions a,
.ebi-exhibitions button,
.ebi-news a,
.ebi-news button,
.ebi-about-compact a,
.ebi-action-section a,
.ebi-site-footer a,
.ebi-photo-slider button,
.ebi-hero button {
  -webkit-tap-highlight-color: transparent;
}

/* Tablets */

@media (max-width: 980px) {
  :root {
    --ebi-header-height: 74px;
  }

  body.ebi-custom-header-enabled #page-container {
    padding-top: var(--ebi-header-height) !important;
  }

  .ebi-site-header__inner {
    width: calc(100% - 28px) !important;
  }

  .ebi-site-header__brand,
  .ebi-site-header__brand img {
    max-width: 138px;
    height: 46px;
  }

  .ebi-site-header__toggle {
    display: grid !important;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-content: center;
  }

  .ebi-site-header__menu {
    top: var(--ebi-header-height) !important;
    max-height: calc(100svh - var(--ebi-header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 22px max(18px, calc((100vw - 680px) / 2)) 28px !important;
  }

  .ebi-site-header__menu nav {
    gap: 0 !important;
  }

  .ebi-site-header__menu nav a {
    min-height: 51px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    font-size: 16px !important;
  }

  .ebi-site-header__menu nav a::after {
    display: none;
  }

  .ebi-site-header__events {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
  }

  /* Hero */

  .ebi-hero {
    height: min(82svh, 760px);
    min-height: 610px;
  }

  .ebi-hero__panel {
    bottom: 44px !important;
  }

  .ebi-hero__shape {
    width: clamp(130px, 26vw, 250px);
  }

  .ebi-hero__shape--two {
    right: 10%;
    width: clamp(90px, 18vw, 170px);
  }

  /* Program */

  .ebi-programm {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .ebi-programm__head {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .ebi-programm__heading {
    grid-column: 1 / -1;
  }

  .ebi-programm__head h2,
  .ebi-all-events__head h1 {
    font-size: clamp(47px, 8vw, 68px);
  }

  .ebi-programm__overview {
    grid-template-columns: 1fr;
  }

  .ebi-programm__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .ebi-programm-item {
    grid-template-columns: 125px minmax(0, 1fr);
    min-height: 185px;
  }

  /* Exhibitions */

  .ebi-exhibitions {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .ebi-exhibitions__head {
    grid-template-columns: 1fr;
    gap: 23px;
    padding-right: 120px;
  }

  .ebi-exhibitions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebi-exhibition-space:nth-child(2n) {
    border-right: 0;
  }

  .ebi-exhibition-space:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, .28);
  }

  /* News */

  .ebi-news {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .ebi-news-item {
    grid-template-columns: 155px minmax(0, 1fr) 72px !important;
  }

  /* About and people */

  .ebi-about-compact__intro {
    padding-top: 68px !important;
    padding-bottom: 72px !important;
  }

  .ebi-values-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ebi-value-compact {
    min-height: 260px;
  }

  .ebi-people-compact > header {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .ebi-people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Action */

  .ebi-action-section {
    grid-template-columns: 1fr 1fr;
  }

  .ebi-action-section__image {
    grid-column: 1 / -1;
    min-height: 430px;
  }

  .ebi-action-card {
    min-height: 400px;
  }

  /* Footer */

  .ebi-site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .ebi-site-footer__brand {
    grid-column: 1 / -1;
  }

  /* Modal */

  .ebi-modal__dialog {
    width: min(760px, calc(100% - 26px));
  }
}

/* Smartphones */

@media (max-width: 700px) {
  .ebi-programm,
  .ebi-all-events,
  .ebi-exhibitions__inner,
  .ebi-news__inner,
  .ebi-people-compact,
  .ebi-site-footer__inner,
  .ebi-site-footer__bottom {
    width: calc(100% - 28px) !important;
  }

  /* General typography */

  .ebi-programm__head h2,
  .ebi-all-events__head h1,
  .ebi-exhibitions__head h2,
  .ebi-news__head h2,
  .ebi-about-compact__intro h2,
  .ebi-people-compact > header h2 {
    font-size: clamp(42px, 13vw, 55px) !important;
    overflow-wrap: anywhere;
  }

  /* Hero */

  .ebi-hero {
    height: calc(100svh - var(--ebi-header-height));
    min-height: 570px;
    max-height: 780px;
  }

  .ebi-hero__slide::after {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, .18),
      transparent 50%
    );
  }

  .ebi-hero__panel,
  .ebi-hero__panel--right {
    right: 14px !important;
    left: 14px !important;
    bottom: 43px !important;
    width: auto !important;
    max-height: calc(100% - 75px);
    overflow-y: auto;
    padding: 20px !important;
  }

  .ebi-hero h1 {
    font-size: clamp(33px, 10.5vw, 43px) !important;
  }

  .ebi-hero__eyebrow {
    font-size: 9px;
    line-height: 1.35;
  }

  .ebi-hero__text {
    display: none;
  }

  .ebi-hero__actions {
    gap: 7px;
    margin-top: 15px !important;
  }

  .ebi-hero__button {
    min-height: 44px;
    flex: 1 1 auto;
    padding: 9px 13px;
    font-size: 12px;
  }

  .ebi-hero__shape {
    top: -2%;
    right: -10%;
    width: 170px;
    opacity: .76;
  }

  .ebi-hero__shape--two {
    right: auto;
    bottom: -7%;
    left: -7%;
    width: 115px;
  }

  .ebi-hero__dots {
    bottom: 15px;
  }

  /* Program */

  .ebi-programm {
    padding-top: 55px;
    padding-bottom: 60px;
  }

  .ebi-programm__head {
    grid-template-columns: 1fr;
    margin-bottom: 27px;
  }

  .ebi-programm__intro {
    margin-top: 15px;
    font-size: 16px;
  }

  .ebi-programm__switch {
    width: 100%;
  }

  .ebi-programm__switch-button {
    min-height: 44px;
    flex: 1 1 50%;
  }

  .ebi-programm__all {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .ebi-programm-featured:hover,
  .ebi-programm-featured:focus-within {
    transform: none;
  }

  .ebi-programm-featured__media {
    aspect-ratio: 4 / 3;
  }

  .ebi-programm-featured__body {
    padding: 22px 20px 25px;
  }

  .ebi-programm-featured h3 {
    font-size: 31px;
  }

  .ebi-programm-featured__excerpt {
    font-size: 15px;
  }

  .ebi-programm__list {
    grid-template-columns: 1fr;
  }

  .ebi-programm-item {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 170px;
  }

  .ebi-programm-item__body {
    padding: 16px;
  }

  .ebi-programm-item h3 {
    font-size: 21px;
  }

  .ebi-programm-item__excerpt {
    -webkit-line-clamp: 2;
  }

  .ebi-programm__more,
  .ebi-programm-item__link {
    min-height: 42px;
    align-items: center;
  }

  /* Calendar */

  .ebi-calendar__head {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .ebi-calendar__head h3 {
    font-size: 25px;
  }

  .ebi-calendar__scroll {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
    scroll-snap-type: x proximity;
  }

  .ebi-calendar__grid {
    grid-template-columns: repeat(7, 118px);
    min-width: 826px;
  }

  .ebi-calendar__day {
    min-height: 132px;
  }

  /* All events */

  .ebi-all-events {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .ebi-all-events__head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
  }

  .ebi-all-events__head .ebi-programm__switch {
    width: 100%;
  }

  .ebi-all-event {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    min-height: 172px;
  }

  .ebi-all-event__image {
    grid-row: 1 / 3;
    min-height: 172px;
  }

  .ebi-all-event__date {
    grid-column: 2;
    min-height: 44px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 7px;
    padding: 11px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
  }

  .ebi-all-event__date b {
    font-size: 23px;
  }

  .ebi-all-event__date span {
    margin: 0;
  }

  .ebi-all-event__copy {
    grid-column: 2;
    padding: 15px 16px 18px;
  }

  .ebi-all-event__copy h2 {
    font-size: 24px;
  }

  .ebi-all-event__copy > p:last-child {
    -webkit-line-clamp: 2;
    font-size: 13px;
  }

  .ebi-all-event__open {
    grid-column: 1 / -1;
    min-height: 46px;
    border-top: 1px solid rgba(0, 0, 0, .1) !important;
    border-left: 0 !important;
  }

  /* Exhibitions */

  .ebi-exhibitions {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .ebi-exhibitions::after {
    top: -70px !important;
    right: -190px !important;
    font-size: 560px !important;
  }

  .ebi-exhibitions__head {
    gap: 18px;
    margin-bottom: 30px;
    padding-right: 45px;
  }

  .ebi-exhibitions__intro {
    font-size: 15px;
    line-height: 1.52;
  }

  .ebi-exhibitions__grid {
    grid-template-columns: 1fr;
  }

  .ebi-exhibition-space {
    padding: 19px 0 25px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    background: rgba(0, 0, 0, .92);
  }

  .ebi-exhibition-space__name {
    margin-left: 14px;
  }

  .ebi-exhibition-space__media,
  .ebi-exhibition-space__body {
    margin-right: 14px;
    margin-left: 14px;
  }

  .ebi-exhibition-space h3 {
    font-size: 25px;
  }

  .ebi-exhibition-space__excerpt {
    font-size: 14px;
  }

  .ebi-exhibition-space__link {
    min-height: 43px;
    align-items: center;
  }

  /* News */

  .ebi-news {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .ebi-news__head {
    gap: 16px;
    margin-bottom: 30px;
  }

  .ebi-news__head > p {
    font-size: 15px;
  }

  .ebi-news__list {
    gap: 20px !important;
  }

  .ebi-news-item {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    min-height: 165px !important;
    box-shadow: 7px 7px 0 var(--ebi-shadow) !important;
  }

  .ebi-news-item:hover {
    transform: none;
    box-shadow: 7px 7px 0 var(--ebi-shadow) !important;
  }

  .ebi-news-item__image {
    min-height: 165px !important;
  }

  .ebi-news-item__copy {
    padding: 17px 16px !important;
  }

  .ebi-news-item h3 {
    font-size: 23px !important;
  }

  .ebi-news-item__excerpt {
    display: none;
  }

  .ebi-news-item__button {
    grid-column: 1 / -1;
    min-height: 46px !important;
    border-top: 1px solid #000 !important;
    border-left: 0 !important;
  }

  /* Full image slider */

  .ebi-photo-slider {
    height: min(72svh, 650px);
    min-height: 470px;
  }

  .ebi-photo-slider__slide figcaption {
    right: 14px;
    bottom: 48px;
    left: 14px;
    width: fit-content;
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ebi-photo-slider__dots {
    bottom: 17px;
  }

  /* About */

  .ebi-about-compact__intro {
    padding-top: 55px !important;
    padding-bottom: 62px !important;
  }

  .ebi-about-compact__intro p:not(.ebi-section-label) {
    font-size: 16px;
    line-height: 1.52;
  }

  .ebi-about-compact__shape {
    right: -165px !important;
    bottom: -115px !important;
    font-size: 420px !important;
    opacity: .7 !important;
  }

  .ebi-about-compact__actions {
    gap: 8px;
  }

  .ebi-about-compact .ebi-color-button {
    min-height: 45px;
  }

  .ebi-values-compact {
    grid-template-columns: 1fr;
  }

  .ebi-value-compact {
    min-height: 0;
    padding: 29px 22px 32px;
  }

  .ebi-value-compact h3 {
    font-size: 31px;
  }

  .ebi-value-compact p {
    margin-top: 15px !important;
    font-size: 16px !important;
  }

  /* People */

  .ebi-people-compact {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .ebi-people-compact > header {
    margin-bottom: 28px;
  }

  .ebi-people-compact > header p {
    font-size: 15px;
  }

  .ebi-people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ebi-people-item {
    min-height: 142px;
    padding: 13px;
  }

  .ebi-people-item__visual {
    min-height: 58px;
    padding: 7px;
  }

  .ebi-people-item__visual img {
    max-width: 105px;
    max-height: 47px;
  }

  .ebi-people-item__visual b {
    font-size: 17px;
  }

  .ebi-people-item__copy {
    margin-top: 10px;
  }

  .ebi-people-item__copy small {
    display: none;
  }

  .ebi-network-row {
    margin-top: 29px;
  }

  .ebi-network-chips {
    gap: 8px;
  }

  .ebi-network-chips a,
  .ebi-network-chips > span {
    min-height: 42px;
    max-width: 100%;
    gap: 7px;
    padding: 8px 12px;
  }

  .ebi-network-chips img {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    object-fit: contain;
  }

  /* Action */

  .ebi-action-section {
    grid-template-columns: 1fr;
  }

  .ebi-action-section__image {
    grid-column: auto;
    min-height: 330px;
  }

  .ebi-action-card {
    min-height: 0;
    padding: 38px 22px 42px;
  }

  .ebi-action-card h2 {
    font-size: 39px;
  }

  .ebi-action-card > p:not(.ebi-section-label),
  .ebi-action-card > div > p:not(.ebi-section-label) {
    font-size: 15px;
  }

  .ebi-action-card__note {
    margin: 21px 0;
  }

  .ebi-action-card__shape {
    right: -85px;
    bottom: -95px;
    font-size: 260px;
    opacity: .7;
  }

  .ebi-action-card .ebi-color-button {
    min-height: 45px;
  }

  /* Footer */

  .ebi-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 33px;
    padding-top: 45px;
    padding-bottom: 39px;
  }

  .ebi-site-footer__brand {
    grid-column: auto;
  }

  .ebi-site-footer__logo {
    width: min(150px, 55%);
  }

  .ebi-site-footer__wordmark {
    font-size: 55px;
  }

  .ebi-site-footer__nav,
  .ebi-site-footer__contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .ebi-site-footer__nav > p,
  .ebi-site-footer__contact > p {
    grid-column: 1 / -1;
  }

  .ebi-site-footer__nav a,
  .ebi-site-footer__contact a {
    min-height: 38px;
    display: flex;
    align-items: center;
    margin-bottom: 2px;
  }

  .ebi-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .ebi-site-footer__bottom > div {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  /* Modal */

  .ebi-modal__dialog {
    top: auto;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: calc(100svh - 16px);
    border-radius: 0;
    transform: translateY(25px);
  }

  .ebi-modal.is-open .ebi-modal__dialog {
    transform: translateY(0);
  }

  .ebi-modal__close {
    top: 10px;
    width: 46px;
    height: 46px;
    margin: 10px 10px -56px 0;
  }

  .ebi-modal-entry__image {
    aspect-ratio: 4 / 3;
  }

  .ebi-modal-entry__body {
    padding: 27px 20px 34px;
  }

  .ebi-modal-entry h2 {
    padding-right: 20px;
    font-size: 38px;
  }

  .ebi-modal-entry__content {
    margin-top: 23px;
    font-size: 16px;
    line-height: 1.62;
  }
}

/* Very narrow phones */

@media (max-width: 430px) {
  .ebi-site-header__brand img {
    max-width: 120px;
  }

  .ebi-hero {
    min-height: 540px;
  }

  .ebi-hero__panel {
    padding: 17px !important;
  }

  .ebi-hero h1 {
    font-size: 31px !important;
  }

  .ebi-hero__eyebrow {
    max-width: 230px;
  }

  .ebi-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ebi-programm__head h2,
  .ebi-all-events__head h1,
  .ebi-exhibitions__head h2,
  .ebi-news__head h2,
  .ebi-about-compact__intro h2,
  .ebi-people-compact > header h2 {
    font-size: 41px !important;
  }

  .ebi-programm-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .ebi-programm-item__body {
    padding: 13px;
  }

  .ebi-programm-item h3 {
    font-size: 19px;
  }

  .ebi-programm-item__excerpt {
    display: none;
  }

  .ebi-all-event {
    grid-template-columns: 90px minmax(0, 1fr) !important;
  }

  .ebi-news-item {
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }

  .ebi-news-item h3 {
    font-size: 20px !important;
  }

  .ebi-news__date {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .ebi-people-grid {
    grid-template-columns: 1fr;
  }

  .ebi-people-item {
    min-height: 118px;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  .ebi-people-item__visual {
    min-height: 74px;
  }

  .ebi-people-item__copy {
    margin-top: 0;
  }

  .ebi-people-item__copy small {
    display: block;
  }

  .ebi-site-footer__nav,
  .ebi-site-footer__contact {
    grid-template-columns: 1fr;
  }

  .ebi-site-footer__nav > p,
  .ebi-site-footer__contact > p {
    grid-column: auto;
  }
}

/* Short landscape screens */

@media (max-height: 620px) and (orientation: landscape) {
  .ebi-hero {
    height: calc(100svh - var(--ebi-header-height));
    min-height: 420px;
  }

  .ebi-hero__panel,
  .ebi-hero__panel--right {
    top: 18px;
    bottom: auto !important;
    width: min(420px, calc(100% - 48px)) !important;
    max-height: calc(100% - 36px);
    padding: 17px !important;
  }

  .ebi-hero h1 {
    font-size: 32px !important;
  }

  .ebi-hero__text {
    display: none;
  }

  .ebi-hero__actions {
    margin-top: 12px !important;
  }

  .ebi-hero__button {
    min-height: 39px;
  }

  .ebi-hero__dots,
  .ebi-hero__caption {
    display: none;
  }
}

/* Disable desktop hover movement on touch devices */

@media (hover: none) {
  .ebi-programm-featured:hover,
  .ebi-programm-item:hover,
  .ebi-news-item:hover,
  .ebi-all-event:hover {
    transform: none !important;
  }
}

/* ============================================================
   EBI 1.10.1 – Akteur*innen und Veranstaltungstypografie
   ============================================================ */

/* Veranstaltungstitel durchgehend linksbündig */

.ebi-programm-featured h3,
.ebi-programm-item h3,
.ebi-programm-title-button,
.ebi-all-event__copy h2,
.ebi-all-event__copy h2 button,
.ebi-calendar__event {
  text-align: left !important;
}

.ebi-programm-title-button {
  justify-content: flex-start !important;
}

/* Uhrzeiten und Veranstaltungsmetadaten etwas größer */

.ebi-programm__meta {
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 760 !important;
  letter-spacing: .045em !important;
  font-variant-numeric: tabular-nums;
}

/* Mitglieder: Name oben, Logo frei auf Weiß, Beschreibung größer */

.ebi-people-grid {
  align-items: stretch;
}

.ebi-people-item {
  min-height: 210px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 19px !important;
  border: 1px solid #000;
  background: #fff;
  color: #000 !important;
}

.ebi-people-item__title {
  display: block;
  min-height: 42px;
  margin: 0 0 13px;
  font-size: 19px !important;
  line-height: 1.08 !important;
  font-weight: 780 !important;
  letter-spacing: -.025em;
}

.ebi-people-item__visual {
  display: flex !important;
  width: 100%;
  min-height: 80px !important;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start !important;
  padding: 4px 0 8px !important;
  background: transparent !important;
}

.ebi-people-item__visual img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 78px !important;
  object-fit: contain;
  object-position: left center;
}

.ebi-people-item__description {
  display: block;
  margin-top: 14px;
  color: #000 !important;
  font-size: 13px !important;
  line-height: 1.43 !important;
}

.ebi-people-item--text-only {
  justify-content: center !important;
  min-height: 155px !important;
}

.ebi-people-item--text-only .ebi-people-item__title {
  min-height: 0;
  margin-bottom: 10px;
}

/* Netzwerk: Bilder als Karten, Text ohne Bild als Buttons */

.ebi-network-items {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 13px;
}

.ebi-network-item {
  color: #000 !important;
  text-decoration: none !important;
}

.ebi-network-item--logo {
  display: flex;
  width: calc(25% - 10px);
  min-width: 190px;
  min-height: 190px;
  flex-direction: column;
  padding: 17px;
  border: 1px solid #000;
  background: #fff;
  box-shadow: 6px 6px 0 var(--ebi-blue);
}

.ebi-network-item--logo:nth-child(4n + 2) {
  box-shadow: 6px 6px 0 var(--ebi-coral);
}

.ebi-network-item--logo:nth-child(4n + 3) {
  box-shadow: 6px 6px 0 var(--ebi-green);
}

.ebi-network-item--logo:nth-child(4n + 4) {
  box-shadow: 6px 6px 0 var(--ebi-orange);
}

.ebi-network-item__title {
  display: block;
  min-height: 38px;
  margin-bottom: 11px;
  font-size: 17px;
  line-height: 1.08;
  font-weight: 770;
  letter-spacing: -.02em;
}

.ebi-network-item__visual {
  display: flex;
  min-height: 75px;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
}

.ebi-network-item__visual img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.ebi-network-item--logo small {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.4;
}

.ebi-network-item--text {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 720;
  box-shadow: 4px 4px 0 var(--ebi-orange);
}

a.ebi-network-item--logo:hover,
a.ebi-network-item--logo:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--ebi-blue);
}

a.ebi-network-item--text:hover,
a.ebi-network-item--text:focus-visible {
  background: var(--ebi-orange);
}

/* Alte Chip-Regeln deaktivieren */

.ebi-network-chips {
  display: none !important;
}

@media (max-width: 980px) {
  .ebi-network-item--logo {
    width: calc(33.333% - 9px);
  }
}

@media (max-width: 700px) {
  .ebi-programm__meta {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  .ebi-people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ebi-people-item {
    min-height: 185px !important;
    padding: 15px !important;
  }

  .ebi-people-item__title {
    min-height: 36px;
    font-size: 17px !important;
  }

  .ebi-people-item__visual {
    min-height: 66px !important;
  }

  .ebi-people-item__visual img {
    max-height: 62px !important;
  }

  .ebi-people-item__description {
    font-size: 12px !important;
  }

  .ebi-network-item--logo {
    width: calc(50% - 7px);
    min-width: 0;
    min-height: 175px;
    padding: 15px;
  }
}

@media (max-width: 430px) {
  .ebi-people-grid {
    grid-template-columns: 1fr !important;
  }

  .ebi-people-item {
    min-height: 0 !important;
  }

  .ebi-people-item__title {
    min-height: 0;
  }

  .ebi-network-item--logo {
    width: 100%;
    min-height: 155px;
  }

  .ebi-network-item--text {
    flex: 1 1 auto;
  }
}

/* ============================================================
   EBI 1.10.2 – schwarze Schrift und neue Akteur*innen-Karten
   ============================================================ */

/* Auf allen hellen Flächen konsequent schwarze Schrift */

.ebi-programm,
.ebi-programm__intro,
.ebi-programm__meta,
.ebi-programm-featured__excerpt,
.ebi-programm-item__excerpt,
.ebi-all-events,
.ebi-all-events__intro,
.ebi-all-event__copy,
.ebi-all-event__copy > p,
.ebi-news,
.ebi-news__head > p,
.ebi-news__date,
.ebi-news-item__copy,
.ebi-news-item__excerpt,
.ebi-about-compact,
.ebi-about-compact__intro,
.ebi-about-compact__intro p,
.ebi-value-compact,
.ebi-value-compact p,
.ebi-people-compact,
.ebi-people-compact > header p,
.ebi-modal-entry,
.ebi-modal-entry__meta,
.ebi-modal-entry__content,
.ebi-calendar__event small {
  color: #000 !important;
  opacity: 1 !important;
}

/* Nur dunkle Bereiche behalten weiße Schrift */

.ebi-exhibitions,
.ebi-exhibitions h2,
.ebi-exhibitions h3,
.ebi-exhibitions button,
.ebi-exhibitions p,
.ebi-exhibitions span,
.ebi-site-footer,
.ebi-site-footer a,
.ebi-site-footer p {
  color: #fff !important;
}

/* ------------------------------------------------------------
   Mitgliederkarten: farbige Rahmen, dauerhaft sichtbarer Titel,
   große vollflächige Logozone
   ------------------------------------------------------------ */

.ebi-people-grid {
  gap: 18px !important;
}

.ebi-people-item {
  --ebi-person-accent: var(--ebi-coral);
  position: relative;
  min-height: 275px !important;
  display: grid !important;
  grid-template-rows: auto minmax(120px, 1fr) auto;
  padding: 0 !important;
  overflow: hidden;
  border: 3px solid var(--ebi-person-accent) !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.ebi-people-item:nth-child(4n + 2) {
  --ebi-person-accent: var(--ebi-blue);
}

.ebi-people-item:nth-child(4n + 3) {
  --ebi-person-accent: var(--ebi-green);
}

.ebi-people-item:nth-child(4n + 4) {
  --ebi-person-accent: var(--ebi-orange);
}

.ebi-people-item:hover,
.ebi-people-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0 var(--ebi-person-accent) !important;
}

/* Titel immer sichtbar – kein Hoverzustand nötig */

.ebi-people-item__title {
  position: relative;
  z-index: 2;
  display: flex !important;
  min-height: 52px !important;
  align-items: center;
  margin: 0 !important;
  padding: 11px 14px 12px;
  background: var(--ebi-person-accent);
  color: #000 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 20px !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  letter-spacing: -.025em;
  text-decoration: none !important;
}

/* Logo nutzt die gesamte mittlere Kartenfläche */

.ebi-people-item__visual {
  display: flex !important;
  width: 100% !important;
  min-height: 125px !important;
  align-items: center;
  justify-content: center !important;
  padding: 12px 16px !important;
  background: #fff !important;
}

.ebi-people-item__visual img {
  width: 100% !important;
  max-width: none !important;
  height: 112px !important;
  max-height: none !important;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: none !important;
  mix-blend-mode: multiply;
}

/* Größere, schwarze Beschreibung */

.ebi-people-item__description {
  display: block !important;
  min-height: 64px;
  margin: 0 !important;
  padding: 13px 14px 15px;
  border-top: 1px solid var(--ebi-person-accent);
  background: #fff;
  color: #000 !important;
  opacity: 1 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* Einträge ohne Logo bleiben ebenfalls klar gestaltet */

.ebi-people-item--text-only {
  min-height: 155px !important;
  grid-template-rows: auto 1fr !important;
}

.ebi-people-item--text-only .ebi-people-item__description {
  display: flex !important;
  min-height: 95px;
  align-items: center;
  border-top: 0;
  font-size: 15px !important;
}

/* Alte Hover-Regel darf den Titel nicht mehr beeinflussen */

a.ebi-people-item:hover strong,
a.ebi-people-item:focus-visible strong {
  color: #000 !important;
  text-decoration: none !important;
}

/* ------------------------------------------------------------
   Netzwerk: gleiche visuelle Familie
   ------------------------------------------------------------ */

.ebi-network-items {
  gap: 18px !important;
}

.ebi-network-item--logo {
  --ebi-network-accent: var(--ebi-blue);
  width: calc(25% - 14px) !important;
  min-width: 200px;
  min-height: 250px !important;
  display: grid !important;
  grid-template-rows: auto minmax(115px, 1fr) auto;
  padding: 0 !important;
  overflow: hidden;
  border: 3px solid var(--ebi-network-accent) !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

.ebi-network-item--logo:nth-child(4n + 2) {
  --ebi-network-accent: var(--ebi-coral);
}

.ebi-network-item--logo:nth-child(4n + 3) {
  --ebi-network-accent: var(--ebi-green);
}

.ebi-network-item--logo:nth-child(4n + 4) {
  --ebi-network-accent: var(--ebi-orange);
}

.ebi-network-item__title {
  display: flex !important;
  min-height: 50px;
  align-items: center;
  margin: 0 !important;
  padding: 10px 13px;
  background: var(--ebi-network-accent);
  color: #000 !important;
  font-size: 18px !important;
  line-height: 1.08;
  font-weight: 800;
}

.ebi-network-item__visual {
  display: flex !important;
  min-height: 120px !important;
  align-items: center;
  justify-content: center !important;
  padding: 12px 15px;
  background: #fff;
}

.ebi-network-item__visual img {
  width: 100% !important;
  max-width: none !important;
  height: 108px !important;
  max-height: none !important;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.ebi-network-item--logo small {
  display: block !important;
  min-height: 58px;
  margin: 0 !important;
  padding: 12px 13px 14px;
  border-top: 1px solid var(--ebi-network-accent);
  color: #000 !important;
  font-size: 13px !important;
  line-height: 1.43;
}

a.ebi-network-item--logo:hover,
a.ebi-network-item--logo:focus-visible {
  transform: translateY(-3px);
  box-shadow: 8px 8px 0 var(--ebi-network-accent) !important;
}

/* Ohne Bild bleibt es bewusst ein kompakter Textbutton */

.ebi-network-item--text {
  border: 2px solid var(--ebi-orange) !important;
  box-shadow: none !important;
  color: #000 !important;
}

.ebi-network-item--text:hover,
.ebi-network-item--text:focus-visible {
  background: var(--ebi-orange) !important;
  color: #000 !important;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 980px) {
  .ebi-people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .ebi-network-item--logo {
    width: calc(33.333% - 12px) !important;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .ebi-people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px !important;
  }

  .ebi-people-item {
    min-height: 235px !important;
  }

  .ebi-people-item__title {
    min-height: 47px !important;
    padding: 10px 11px;
    font-size: 17px !important;
  }

  .ebi-people-item__visual {
    min-height: 104px !important;
    padding: 10px !important;
  }

  .ebi-people-item__visual img {
    height: 92px !important;
  }

  .ebi-people-item__description {
    min-height: 60px;
    padding: 11px;
    font-size: 12px !important;
  }

  .ebi-network-item--logo {
    width: calc(50% - 9px) !important;
    min-height: 220px !important;
  }

  .ebi-network-item__visual img {
    height: 88px !important;
  }
}

@media (max-width: 430px) {
  .ebi-people-grid {
    grid-template-columns: 1fr !important;
  }

  .ebi-people-item {
    min-height: 0 !important;
  }

  .ebi-people-item__visual {
    min-height: 115px !important;
  }

  .ebi-people-item__visual img {
    height: 104px !important;
  }

  .ebi-network-item--logo {
    width: 100% !important;
    min-height: 0 !important;
  }

  .ebi-network-item__visual img {
    height: 100px !important;
  }
}

@media (hover: none) {
  .ebi-people-item:hover,
  .ebi-network-item--logo:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* ============================================================
   EBI 1.10.3 – ruhige, bildstarke Akteur*innen-Kacheln
   ============================================================ */

/* Gemeinsames Raster */

.ebi-people-grid,
.ebi-network-items {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 15px !important;
  align-items: stretch;
}

/* ------------------------------------------------------------
   Im Verein: quadratische Vollbildkacheln
   ------------------------------------------------------------ */

.ebi-people-item {
  --ebi-tile-accent: var(--ebi-coral);
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  background: var(--ebi-tile-accent) !important;
  color: #fff !important;
  box-shadow: none !important;
  isolation: isolate;
}

.ebi-people-item:nth-child(4n + 2) {
  --ebi-tile-accent: var(--ebi-blue);
}

.ebi-people-item:nth-child(4n + 3) {
  --ebi-tile-accent: var(--ebi-green);
}

.ebi-people-item:nth-child(4n + 4) {
  --ebi-tile-accent: var(--ebi-orange);
}

/* Das Bild/Logo füllt die gesamte Kachel */

.ebi-people-item__visual {
  position: absolute !important;
  z-index: 1;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

.ebi-people-item__visual img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
  transform: scale(1.015);
  transition: transform .45s ease;
}

/* Dezente farbige Kontur, passend zur restlichen Website */

.ebi-people-item::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  border: 5px solid var(--ebi-tile-accent);
  pointer-events: none;
}

/* Overlay fasst Titel und Beschreibung optisch zusammen */

.ebi-people-item::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 28%,
      rgba(0, 0, 0, .18) 52%,
      rgba(0, 0, 0, .92) 100%
    );
  opacity: 0;
  transition: opacity .25s ease;
}

.ebi-people-item__title,
.ebi-people-item__description {
  position: absolute !important;
  z-index: 3;
  right: 20px;
  left: 20px;
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  opacity: 0;
  visibility: visible !important;
  transform: translateY(12px);
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.ebi-people-item__title {
  bottom: 63px;
  font-size: clamp(20px, 2vw, 27px) !important;
  line-height: 1.02 !important;
  font-weight: 800 !important;
  letter-spacing: -.035em;
}

.ebi-people-item__description {
  bottom: 20px;
  overflow: hidden;
  font-size: 13px !important;
  line-height: 1.38 !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Hover und Tastaturfokus */

.ebi-people-item:hover,
.ebi-people-item:focus-visible,
.ebi-people-item:focus-within {
  transform: none !important;
  box-shadow: none !important;
}

.ebi-people-item:hover::before,
.ebi-people-item:focus-visible::before,
.ebi-people-item:focus-within::before,
.ebi-people-item:hover .ebi-people-item__title,
.ebi-people-item:focus-visible .ebi-people-item__title,
.ebi-people-item:focus-within .ebi-people-item__title,
.ebi-people-item:hover .ebi-people-item__description,
.ebi-people-item:focus-visible .ebi-people-item__description,
.ebi-people-item:focus-within .ebi-people-item__description {
  opacity: 1;
  transform: translateY(0);
}

.ebi-people-item:hover .ebi-people-item__visual img,
.ebi-people-item:focus-visible .ebi-people-item__visual img,
.ebi-people-item:focus-within .ebi-people-item__visual img {
  transform: scale(1.06);
}

/* Ohne Bild: typografische Farbkachel statt leerer Box */

.ebi-people-item--text-only {
  display: flex !important;
  align-items: flex-end;
  padding: 24px !important;
  background: var(--ebi-tile-accent) !important;
}

.ebi-people-item--text-only::before {
  opacity: 1;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .18),
      rgba(255, 255, 255, 0)
    );
}

.ebi-people-item--text-only .ebi-people-item__title,
.ebi-people-item--text-only .ebi-people-item__description {
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
}

.ebi-people-item--text-only .ebi-people-item__title {
  margin-bottom: 12px !important;
  color: #000 !important;
}

.ebi-people-item--text-only .ebi-people-item__description {
  color: #000 !important;
  white-space: normal;
}

/* ------------------------------------------------------------
   Im Netzwerk: mit Bild dieselbe Kachellogik
   ------------------------------------------------------------ */

.ebi-network-item--logo {
  --ebi-network-tile: var(--ebi-blue);
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  background: var(--ebi-network-tile) !important;
  color: #fff !important;
  box-shadow: none !important;
  isolation: isolate;
}

.ebi-network-item--logo:nth-child(4n + 2) {
  --ebi-network-tile: var(--ebi-coral);
}

.ebi-network-item--logo:nth-child(4n + 3) {
  --ebi-network-tile: var(--ebi-green);
}

.ebi-network-item--logo:nth-child(4n + 4) {
  --ebi-network-tile: var(--ebi-orange);
}

.ebi-network-item--logo::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  border: 5px solid var(--ebi-network-tile);
  pointer-events: none;
}

.ebi-network-item--logo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 28%,
      rgba(0, 0, 0, .2) 54%,
      rgba(0, 0, 0, .92) 100%
    );
  opacity: 0;
  transition: opacity .25s ease;
}

.ebi-network-item__visual {
  position: absolute !important;
  z-index: 1;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

.ebi-network-item__visual img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
  transform: scale(1.015);
  transition: transform .45s ease;
}

.ebi-network-item__title,
.ebi-network-item--logo small {
  position: absolute !important;
  z-index: 3;
  right: 20px;
  left: 20px;
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.ebi-network-item__title {
  bottom: 63px;
  font-size: clamp(20px, 2vw, 27px) !important;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.035em;
}

.ebi-network-item--logo small {
  bottom: 20px;
  overflow: hidden;
  font-size: 13px !important;
  line-height: 1.38;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ebi-network-item--logo:hover,
.ebi-network-item--logo:focus-visible,
.ebi-network-item--logo:focus-within {
  transform: none !important;
  box-shadow: none !important;
}

.ebi-network-item--logo:hover::before,
.ebi-network-item--logo:focus-visible::before,
.ebi-network-item--logo:focus-within::before,
.ebi-network-item--logo:hover .ebi-network-item__title,
.ebi-network-item--logo:focus-visible .ebi-network-item__title,
.ebi-network-item--logo:focus-within .ebi-network-item__title,
.ebi-network-item--logo:hover small,
.ebi-network-item--logo:focus-visible small,
.ebi-network-item--logo:focus-within small {
  opacity: 1;
  transform: translateY(0);
}

.ebi-network-item--logo:hover .ebi-network-item__visual img,
.ebi-network-item--logo:focus-visible .ebi-network-item__visual img,
.ebi-network-item--logo:focus-within .ebi-network-item__visual img {
  transform: scale(1.06);
}

/* Netzwerk ohne Bild: kompakte Buttons unter dem Raster */

.ebi-network-item--text {
  width: fit-content !important;
  min-height: 42px;
  align-self: start;
  padding: 9px 14px !important;
  border: 2px solid #000 !important;
  border-radius: 999px;
  background: #fff !important;
  color: #000 !important;
  box-shadow: 4px 4px 0 var(--ebi-orange) !important;
}

/* ------------------------------------------------------------
   Tablet / Mobil
   ------------------------------------------------------------ */

@media (max-width: 980px) {
  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }

  .ebi-people-item::after,
  .ebi-network-item--logo::after {
    border-width: 4px;
  }

  .ebi-people-item__title,
  .ebi-network-item__title {
    right: 14px;
    bottom: 54px;
    left: 14px;
    font-size: 19px !important;
  }

  .ebi-people-item__description,
  .ebi-network-item--logo small {
    right: 14px;
    bottom: 15px;
    left: 14px;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns: 1fr !important;
  }
}

/* Touchgeräte: Overlay dauerhaft sichtbar, da es kein Hover gibt */

@media (hover: none) {
  .ebi-people-item::before,
  .ebi-network-item--logo::before {
    opacity: 1;
  }

  .ebi-people-item__title,
  .ebi-people-item__description,
  .ebi-network-item__title,
  .ebi-network-item--logo small {
    opacity: 1;
    transform: none;
  }

  .ebi-people-item__visual img,
  .ebi-network-item__visual img {
    transform: scale(1.02);
  }
}

/* ============================================================
   EBI 1.10.4 – Kunstraumlabels und reduziertes Akteur*innenraster
   ============================================================ */

/* Kunstraumnamen wieder schwarz auf weißen Labels */

.ebi-exhibition-space__name {
  background: #fff !important;
  color: #000 !important;
  opacity: 1 !important;
}

.ebi-exhibition-space__status {
  align-items: center;
  color: #fff !important;
}

.ebi-exhibition-space__status strong,
.ebi-exhibition-space__status span {
  color: #fff !important;
  opacity: 1 !important;
}

/* ------------------------------------------------------------
   Akteur*innen: kein sichtbarer Container, nur Logo/Foto
   ------------------------------------------------------------ */

.ebi-people-grid,
.ebi-network-items {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow: dense;
  gap: clamp(16px, 2vw, 25px) !important;
  align-items: start;
}

/* Gleiche Grundgröße, aber ohne Rahmen, Hintergrundbox oder Schatten */

.ebi-people-item,
.ebi-network-item--logo {
  --ebi-overlay: var(--ebi-coral);
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  display: block !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  isolation: isolate;
}

.ebi-people-item:nth-child(4n + 2),
.ebi-network-item--logo:nth-child(4n + 2) {
  --ebi-overlay: var(--ebi-blue);
}

.ebi-people-item:nth-child(4n + 3),
.ebi-network-item--logo:nth-child(4n + 3) {
  --ebi-overlay: var(--ebi-green);
}

.ebi-people-item:nth-child(4n + 4),
.ebi-network-item--logo:nth-child(4n + 4) {
  --ebi-overlay: var(--ebi-orange);
}

/* Bild oder Logo füllt die komplette Fläche */

.ebi-people-item__visual,
.ebi-network-item__visual {
  position: absolute !important;
  z-index: 1;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.ebi-people-item__visual img,
.ebi-network-item__visual img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  transform: scale(1);
  transition:
    transform .4s ease,
    filter .3s ease;
}

/*
 * Das Overlay ist die einzige grafische "Fläche". Es liegt zunächst
 * unsichtbar über dem Logo und wird beim Hover vollfarbig.
 */

.ebi-people-item::before,
.ebi-network-item--logo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--ebi-overlay);
  opacity: 0;
  transition: opacity .24s ease;
}

/* Titel und Beschreibung mittig im Overlay */

.ebi-people-item__title,
.ebi-network-item__title,
.ebi-people-item__description,
.ebi-network-item--logo small {
  position: absolute !important;
  z-index: 3;
  right: 22px;
  left: 22px;
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #000 !important;
  opacity: 0;
  visibility: visible !important;
  transform: translateY(10px);
  transition:
    opacity .24s ease,
    transform .24s ease;
}

.ebi-people-item__title,
.ebi-network-item__title {
  top: 50%;
  font-size: clamp(22px, 2.2vw, 31px) !important;
  line-height: .98 !important;
  font-weight: 800 !important;
  letter-spacing: -.045em;
  transform: translateY(-70%);
}

.ebi-people-item__description,
.ebi-network-item--logo small {
  top: calc(50% + 40px);
  overflow: hidden;
  font-size: 14px !important;
  line-height: 1.42 !important;
  white-space: normal;
  text-overflow: initial;
}

/* Hover und Tastaturfokus */

.ebi-people-item:hover,
.ebi-people-item:focus-visible,
.ebi-people-item:focus-within,
.ebi-network-item--logo:hover,
.ebi-network-item--logo:focus-visible,
.ebi-network-item--logo:focus-within {
  transform: none !important;
  box-shadow: none !important;
}

.ebi-people-item:hover::before,
.ebi-people-item:focus-visible::before,
.ebi-people-item:focus-within::before,
.ebi-network-item--logo:hover::before,
.ebi-network-item--logo:focus-visible::before,
.ebi-network-item--logo:focus-within::before {
  opacity: .96;
}

.ebi-people-item:hover .ebi-people-item__title,
.ebi-people-item:focus-visible .ebi-people-item__title,
.ebi-people-item:focus-within .ebi-people-item__title,
.ebi-people-item:hover .ebi-people-item__description,
.ebi-people-item:focus-visible .ebi-people-item__description,
.ebi-people-item:focus-within .ebi-people-item__description,
.ebi-network-item--logo:hover .ebi-network-item__title,
.ebi-network-item--logo:focus-visible .ebi-network-item__title,
.ebi-network-item--logo:focus-within .ebi-network-item__title,
.ebi-network-item--logo:hover small,
.ebi-network-item--logo:focus-visible small,
.ebi-network-item--logo:focus-within small {
  opacity: 1;
}

.ebi-people-item:hover .ebi-people-item__title,
.ebi-people-item:focus-visible .ebi-people-item__title,
.ebi-people-item:focus-within .ebi-people-item__title,
.ebi-network-item--logo:hover .ebi-network-item__title,
.ebi-network-item--logo:focus-visible .ebi-network-item__title,
.ebi-network-item--logo:focus-within .ebi-network-item__title {
  transform: translateY(-85%);
}

.ebi-people-item:hover .ebi-people-item__description,
.ebi-people-item:focus-visible .ebi-people-item__description,
.ebi-people-item:focus-within .ebi-people-item__description,
.ebi-network-item--logo:hover small,
.ebi-network-item--logo:focus-visible small,
.ebi-network-item--logo:focus-within small {
  transform: translateY(0);
}

.ebi-people-item:hover .ebi-people-item__visual img,
.ebi-people-item:focus-visible .ebi-people-item__visual img,
.ebi-network-item--logo:hover .ebi-network-item__visual img,
.ebi-network-item--logo:focus-visible .ebi-network-item__visual img {
  transform: scale(1.035);
}

/* Einträge ohne Bild bleiben typografische Farbflächen */

.ebi-people-item--text-only {
  display: flex !important;
  aspect-ratio: 4 / 3 !important;
  align-items: center;
  justify-content: center;
  padding: 22px !important;
  background: var(--ebi-overlay) !important;
}

.ebi-people-item--text-only::before {
  display: none;
}

.ebi-people-item--text-only .ebi-people-item__title,
.ebi-people-item--text-only .ebi-people-item__description {
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
  color: #000 !important;
  text-align: center;
}

.ebi-people-item--text-only .ebi-people-item__description {
  margin-top: 12px !important;
}

/* Netzwerk ohne Bild bleibt bewusst ein kompakter Button */

.ebi-network-item--text {
  width: fit-content !important;
  min-height: 42px;
  align-self: start;
  padding: 9px 14px !important;
  border: 2px solid #000 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 980px) {
  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .ebi-people-item__title,
  .ebi-network-item__title {
    right: 14px;
    left: 14px;
    font-size: 21px !important;
  }

  .ebi-people-item__description,
  .ebi-network-item--logo small {
    right: 14px;
    left: 14px;
    font-size: 12px !important;
  }
}

@media (max-width: 430px) {
  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns: 1fr !important;
  }
}

/*
 * Mobil / Touch:
 * Das Logo bleibt im oberen Teil sichtbar. Unten erscheint eine feste
 * farbige Infofläche, da Hover nicht verfügbar ist.
 */

@media (hover: none) {
  .ebi-people-item,
  .ebi-network-item--logo {
    aspect-ratio: 4 / 3.35 !important;
  }

  .ebi-people-item::before,
  .ebi-network-item--logo::before {
    top: auto;
    height: 42%;
    opacity: .96;
  }

  .ebi-people-item__visual,
  .ebi-network-item__visual {
    bottom: 35%;
    height: 65% !important;
  }

  .ebi-people-item__title,
  .ebi-network-item__title,
  .ebi-people-item__description,
  .ebi-network-item--logo small {
    right: 16px;
    left: 16px;
    opacity: 1;
    transform: none;
  }

  .ebi-people-item__title,
  .ebi-network-item__title {
    top: auto;
    bottom: 65px;
    font-size: 20px !important;
  }

  .ebi-people-item__description,
  .ebi-network-item--logo small {
    top: auto;
    bottom: 18px;
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px !important;
  }
}

/* ============================================================
   EBI 1.10.5 – Konfliktbereinigung Ausstellungen/Akteur*innen
   ============================================================ */

/*
 * Die allgemeine Regel ".ebi-exhibitions p { color: white }" besitzt
 * mehr Spezifität als eine einzelne Klassenregel. Daher wird das Label
 * hier bewusst innerhalb der kompletten Section adressiert.
 */

.ebi-exhibitions
.ebi-exhibitions__grid
.ebi-exhibition-space
.ebi-exhibition-space__name {
  display: inline-flex !important;
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

/* Auch verschachtelte Elemente im Kunstraumlabel bleiben schwarz. */

.ebi-exhibitions
.ebi-exhibition-space
.ebi-exhibition-space__name,
.ebi-exhibitions
.ebi-exhibition-space
.ebi-exhibition-space__name * {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/*
 * Alte Versionen verwendeten ::after als farbige Kontur.
 * Diese Pseudoelemente werden komplett abgeschaltet.
 */

.ebi-people-item::after,
.ebi-network-item--logo::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Kacheln selbst besitzen ebenfalls garantiert keinen Rahmen. */

.ebi-people-item,
.ebi-network-item--logo {
  outline: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/*
 * Desktop mit echtem Hover:
 * Vor dem Hover ist ausschließlich Logo/Foto sichtbar.
 */

@media (hover: hover) and (pointer: fine) {
  .ebi-people-item__title,
  .ebi-people-item__description,
  .ebi-network-item--logo .ebi-network-item__title,
  .ebi-network-item--logo small {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .ebi-people-item::before,
  .ebi-network-item--logo::before {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .ebi-people-item:hover::before,
  .ebi-people-item:focus-visible::before,
  .ebi-people-item:focus-within::before,
  .ebi-network-item--logo:hover::before,
  .ebi-network-item--logo:focus-visible::before,
  .ebi-network-item--logo:focus-within::before {
    opacity: .96 !important;
    visibility: visible !important;
  }

  .ebi-people-item:hover .ebi-people-item__title,
  .ebi-people-item:focus-visible .ebi-people-item__title,
  .ebi-people-item:focus-within .ebi-people-item__title,
  .ebi-people-item:hover .ebi-people-item__description,
  .ebi-people-item:focus-visible .ebi-people-item__description,
  .ebi-people-item:focus-within .ebi-people-item__description,
  .ebi-network-item--logo:hover .ebi-network-item__title,
  .ebi-network-item--logo:focus-visible .ebi-network-item__title,
  .ebi-network-item--logo:focus-within .ebi-network-item__title,
  .ebi-network-item--logo:hover small,
  .ebi-network-item--logo:focus-visible small,
  .ebi-network-item--logo:focus-within small {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/*
 * Touch: Informationen bleiben in der unteren Farbfläche sichtbar.
 * Die Regel steht nach der Desktopregel, damit Hybridgeräte sinnvoll
 * auf ihre tatsächliche Eingabemethode reagieren.
 */

@media (hover: none), (pointer: coarse) {
  .ebi-people-item__title,
  .ebi-people-item__description,
  .ebi-network-item--logo .ebi-network-item__title,
  .ebi-network-item--logo small {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .ebi-people-item::before,
  .ebi-network-item--logo::before {
    visibility: visible !important;
  }
}

/* ============================================================
   EBI 1.10.6 – identischer, vollständig deckender Hover
   ============================================================ */

/*
 * Vereinsmitglieder und Kooperationspartner mit Bild verwenden exakt
 * dieselbe Hoverlogik. Die EBI-Farbfläche ist vollständig deckend.
 */

@media (hover: hover) and (pointer: fine) {
  .ebi-people-item:hover::before,
  .ebi-people-item:focus-visible::before,
  .ebi-people-item:focus-within::before,
  .ebi-network-item--logo:hover::before,
  .ebi-network-item--logo:focus-visible::before,
  .ebi-network-item--logo:focus-within::before {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .ebi-people-item:hover .ebi-people-item__visual img,
  .ebi-people-item:focus-visible .ebi-people-item__visual img,
  .ebi-people-item:focus-within .ebi-people-item__visual img,
  .ebi-network-item--logo:hover .ebi-network-item__visual img,
  .ebi-network-item--logo:focus-visible .ebi-network-item__visual img,
  .ebi-network-item--logo:focus-within .ebi-network-item__visual img {
    transform: scale(1.035) !important;
  }
}

/* Auch die mobile Infofläche ist vollständig deckend. */

@media (hover: none), (pointer: coarse) {
  .ebi-people-item::before,
  .ebi-network-item--logo::before {
    opacity: 1 !important;
  }
}

/* Neue Zwischenüberschriften etwas klarer und ruhiger. */

.ebi-people-compact section > h3 {
  margin-bottom: 18px !important;
  color: #000 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}

/* ============================================================
   EBI 1.10.7 – ein Kachelsystem + finaler Kontrast-Pass
   ============================================================ */

/* ------------------------------------------------------------
   Ein gemeinsames Kachelsystem für beide Gruppen
   ------------------------------------------------------------ */

.ebi-people-grid > .ebi-actor-tile,
.ebi-network-items > .ebi-actor-tile {
  --ebi-actor-color: var(--ebi-coral);
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  display: block !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #000 !important;
  isolation: isolate;
}

.ebi-people-grid > .ebi-actor-tile:nth-child(4n + 2),
.ebi-network-items > .ebi-actor-tile:nth-child(4n + 2) {
  --ebi-actor-color: var(--ebi-blue);
}

.ebi-people-grid > .ebi-actor-tile:nth-child(4n + 3),
.ebi-network-items > .ebi-actor-tile:nth-child(4n + 3) {
  --ebi-actor-color: var(--ebi-green);
}

.ebi-people-grid > .ebi-actor-tile:nth-child(4n + 4),
.ebi-network-items > .ebi-actor-tile:nth-child(4n + 4) {
  --ebi-actor-color: var(--ebi-orange);
}

/* Alte Rahmen- und Schattenelemente werden für beide Gruppen deaktiviert. */

.ebi-actor-tile::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Vollflächiges Logo oder Foto. */

.ebi-actor-tile > .ebi-people-item__visual {
  position: absolute !important;
  z-index: 1;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.ebi-actor-tile > .ebi-people-item__visual img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  transform: scale(1);
  transition: transform .38s ease;
}

/* Identische, vollständig deckende Hoverfläche. */

.ebi-actor-tile::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--ebi-actor-color);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity .22s ease,
    visibility .22s ease;
}

.ebi-actor-tile > .ebi-people-item__title,
.ebi-actor-tile > .ebi-people-item__description {
  position: absolute !important;
  z-index: 3;
  right: 22px;
  left: 22px;
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .22s ease,
    transform .22s ease,
    visibility .22s ease;
}

.ebi-actor-tile > .ebi-people-item__title {
  top: 50%;
  font-size: clamp(22px, 2.2vw, 31px) !important;
  line-height: .98 !important;
  font-weight: 800 !important;
  letter-spacing: -.045em;
  transform: translateY(-70%);
}

.ebi-actor-tile > .ebi-people-item__description {
  top: calc(50% + 40px);
  overflow: hidden;
  font-size: 14px !important;
  line-height: 1.42 !important;
  white-space: normal;
  transform: translateY(10px);
}

/* Wirklich exakt dieselben Hover-/Fokuszustände für beide Gruppen. */

@media (hover: hover) and (pointer: fine) {
  .ebi-actor-tile:hover::before,
  .ebi-actor-tile:focus-visible::before,
  .ebi-actor-tile:focus-within::before {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .ebi-actor-tile:hover > .ebi-people-item__title,
  .ebi-actor-tile:focus-visible > .ebi-people-item__title,
  .ebi-actor-tile:focus-within > .ebi-people-item__title,
  .ebi-actor-tile:hover > .ebi-people-item__description,
  .ebi-actor-tile:focus-visible > .ebi-people-item__description,
  .ebi-actor-tile:focus-within > .ebi-people-item__description {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .ebi-actor-tile:hover > .ebi-people-item__title,
  .ebi-actor-tile:focus-visible > .ebi-people-item__title,
  .ebi-actor-tile:focus-within > .ebi-people-item__title {
    transform: translateY(-85%) !important;
  }

  .ebi-actor-tile:hover > .ebi-people-item__description,
  .ebi-actor-tile:focus-visible > .ebi-people-item__description,
  .ebi-actor-tile:focus-within > .ebi-people-item__description {
    transform: translateY(0) !important;
  }

  .ebi-actor-tile:hover > .ebi-people-item__visual img,
  .ebi-actor-tile:focus-visible > .ebi-people-item__visual img,
  .ebi-actor-tile:focus-within > .ebi-people-item__visual img {
    transform: scale(1.035) !important;
  }
}

/* Touch: identische feste Infofläche für beide Gruppen. */

@media (hover: none), (pointer: coarse) {
  .ebi-people-grid > .ebi-actor-tile,
  .ebi-network-items > .ebi-actor-tile {
    aspect-ratio: 4 / 3.35 !important;
  }

  .ebi-actor-tile::before {
    top: auto !important;
    bottom: 0 !important;
    height: 42% !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .ebi-actor-tile > .ebi-people-item__visual {
    bottom: 35% !important;
    height: 65% !important;
  }

  .ebi-actor-tile > .ebi-people-item__title,
  .ebi-actor-tile > .ebi-people-item__description {
    right: 16px;
    left: 16px;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .ebi-actor-tile > .ebi-people-item__title {
    top: auto !important;
    bottom: 65px !important;
    font-size: 20px !important;
  }

  .ebi-actor-tile > .ebi-people-item__description {
    top: auto !important;
    bottom: 18px !important;
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px !important;
  }
}

/* Typografische Mitglieder ohne Bild. */

.ebi-actor-tile--text-only {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 22px !important;
  background: var(--ebi-actor-color) !important;
}

.ebi-actor-tile--text-only::before {
  display: none !important;
}

.ebi-actor-tile--text-only > .ebi-people-item__title,
.ebi-actor-tile--text-only > .ebi-people-item__description {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-align: center;
}

.ebi-actor-tile--text-only > .ebi-people-item__description {
  margin-top: 12px !important;
}

/* ------------------------------------------------------------
   Websiteweiter Schwarztext-Pass auf hellen Plugin-Flächen
   ------------------------------------------------------------ */

body.ebi-custom-header-enabled
:where(
  .ebi-site-header,
  .ebi-hero__panel,
  .ebi-programm,
  .ebi-calendar,
  .ebi-all-events,
  .ebi-news,
  .ebi-about-compact,
  .ebi-values-compact,
  .ebi-people-compact,
  .ebi-action-section,
  .ebi-modal-entry
)
:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  small,
  strong,
  span,
  time,
  label,
  figcaption,
  a,
  button
) {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/* Alle bislang grauen Hilfs- und Vorschautexte ausdrücklich schwarz. */

.ebi-programm__meta,
.ebi-programm-featured__excerpt,
.ebi-programm-item__excerpt,
.ebi-calendar__day.is-outside,
.ebi-calendar__event small,
.ebi-all-event__copy > p:last-child,
.ebi-news__head > p,
.ebi-news__date,
.ebi-news-item__excerpt,
.ebi-about-compact__intro p,
.ebi-value-compact p,
.ebi-people-compact > header p,
.ebi-action-card p,
.ebi-modal-entry__meta,
.ebi-modal-entry__content {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  opacity: 1 !important;
}

/* Bewusste Ausnahmen: dunkle Flächen und schwarze Buttons bleiben weiß. */

.ebi-exhibitions,
.ebi-exhibitions :where(h1, h2, h3, h4, p, li, small, strong, span, time, a, button),
.ebi-site-footer,
.ebi-site-footer :where(h1, h2, h3, h4, p, li, small, strong, span, time, a, button),
.ebi-calendar__weekday,
.ebi-calendar__weekday *,
.ebi-all-event__date,
.ebi-all-event__date *,
.ebi-site-header__events,
.ebi-site-header__events *,
.ebi-hero__button--primary,
.ebi-hero__button--primary *,
.ebi-programm__switch-button.is-active,
.ebi-programm__switch-button.is-active *,
.ebi-color-button--black,
.ebi-color-button--black *,
.ebi-about-compact .ebi-color-button:not(.ebi-color-button--outline),
.ebi-about-compact .ebi-color-button:not(.ebi-color-button--outline) *,
.ebi-action-card .ebi-color-button,
.ebi-action-card .ebi-color-button *,
.ebi-modal__close,
.ebi-modal__close * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Kunstraumlabels sind die bewusste schwarze Ausnahme auf der dunklen Section. */

.ebi-exhibitions
.ebi-exhibition-space
.ebi-exhibition-space__name,
.ebi-exhibitions
.ebi-exhibition-space
.ebi-exhibition-space__name * {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/* Bildunterschriften liegen auf Bildern und bleiben weiß. */

.ebi-photo-slider__slide figcaption {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Andersfarbige Outline-Buttons bleiben bewusst andersfarbig. */

.ebi-color-button--outline,
.ebi-color-button--outline * {
  color: var(--ebi-coral) !important;
  -webkit-text-fill-color: var(--ebi-coral) !important;
}

@media (max-width: 700px) {
  .ebi-actor-tile > .ebi-people-item__title {
    right: 14px;
    left: 14px;
    font-size: 21px !important;
  }

  .ebi-actor-tile > .ebi-people-item__description {
    right: 14px;
    left: 14px;
    font-size: 12px !important;
  }
}

/* ============================================================
   EBI 1.10.8 – frei wählbare Formpositionen im Hero
   ============================================================ */

/*
 * Die bisherigen festen Positionen werden überschrieben. Jede Form erhält
 * pro Slide eine Positionsklasse aus dem Backend.
 */

.ebi-hero__shape--one,
.ebi-hero__shape--two {
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}

/* Oben */

.ebi-hero__shape--top-left {
  top: -6% !important;
  left: -3% !important;
  transform: rotate(-8deg) !important;
}

.ebi-hero__shape--top-center {
  top: -10% !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(4deg) !important;
}

.ebi-hero__shape--top-right {
  top: -6% !important;
  right: -3% !important;
  transform: rotate(8deg) !important;
}

/* Mitte */

.ebi-hero__shape--center-left {
  top: 50% !important;
  left: -5% !important;
  transform: translateY(-50%) rotate(-9deg) !important;
}

.ebi-hero__shape--center-right {
  top: 50% !important;
  right: -5% !important;
  transform: translateY(-50%) rotate(9deg) !important;
}

/* Unten */

.ebi-hero__shape--bottom-left {
  bottom: -10% !important;
  left: -3% !important;
  transform: rotate(7deg) !important;
}

.ebi-hero__shape--bottom-center {
  bottom: -13% !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(-4deg) !important;
}

.ebi-hero__shape--bottom-right {
  right: -3% !important;
  bottom: -10% !important;
  transform: rotate(-7deg) !important;
}

/* Die zweite Form bleibt etwas kleiner, unabhängig von ihrer Position. */

.ebi-hero__shape--two {
  width: clamp(105px, 18vw, 275px) !important;
}

/* Auf Tablet und Mobil nicht zu weit aus der Bildfläche ragen. */

@media (max-width: 980px) {
  .ebi-hero__shape--top-left,
  .ebi-hero__shape--center-left,
  .ebi-hero__shape--bottom-left {
    left: -8% !important;
  }

  .ebi-hero__shape--top-right,
  .ebi-hero__shape--center-right,
  .ebi-hero__shape--bottom-right {
    right: -8% !important;
  }
}

@media (max-width: 700px) {
  .ebi-hero__shape {
    width: clamp(125px, 38vw, 190px) !important;
  }

  .ebi-hero__shape--two {
    width: clamp(85px, 27vw, 135px) !important;
  }

  .ebi-hero__shape--top-center {
    top: -5% !important;
  }

  .ebi-hero__shape--bottom-center {
    bottom: -7% !important;
  }
}

/* ============================================================
   EBI 1.10.9 – gezielte Farb- und Hierarchiekorrekturen
   ============================================================ */

/* Hero: schwarzer Hauptbutton mit zuverlässig weißer Schrift */

body.ebi-custom-header-enabled
.ebi-hero
.ebi-hero__panel
.ebi-hero__button.ebi-hero__button--primary,
body.ebi-custom-header-enabled
.ebi-hero
.ebi-hero__panel
.ebi-hero__button.ebi-hero__button--primary * {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Header: rechter Veranstaltungsbutton ebenfalls weiß auf Schwarz */

body.ebi-custom-header-enabled
.ebi-site-header
.ebi-site-header__inner
.ebi-site-header__events,
body.ebi-custom-header-enabled
.ebi-site-header
.ebi-site-header__inner
.ebi-site-header__events * {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Ausstellungen: Stern bleibt trotz globaler Textfarbe orange */

body.ebi-custom-header-enabled
.ebi-exhibitions::after,
.ebi-exhibitions::after {
  color: var(--ebi-orange) !important;
  -webkit-text-fill-color: var(--ebi-orange) !important;
  opacity: 1 !important;
}

/* Fotoslider: schwarze Schrift auf der weißen Bildunterschrift */

body.ebi-custom-header-enabled
.ebi-photo-slider
.ebi-photo-slider__slide
figcaption,
.ebi-photo-slider__slide figcaption,
.ebi-photo-slider__slide figcaption * {
  background: #fff !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  opacity: 1 !important;
}

/* Vereinsintro: gigantischer Stern wieder orange */

body.ebi-custom-header-enabled
.ebi-about-compact
.ebi-about-compact__intro
.ebi-about-compact__shape,
.ebi-about-compact__shape {
  color: var(--ebi-orange) !important;
  -webkit-text-fill-color: var(--ebi-orange) !important;
  opacity: 1 !important;
}

/* Überschrift mit bewusst gesetztem Umbruch */

.ebi-people-compact > header h2 br {
  display: block;
}

/*
 * „Offener Projektraum“ bekommt dieselbe typografische Größe und
 * Gewichtung wie „Der EBI lebt davon …“.
 */

.ebi-action-card__note strong {
  display: block;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: clamp(34px, 3.6vw, 51px) !important;
  line-height: .95 !important;
  font-weight: 770 !important;
  letter-spacing: -.055em !important;
}

.ebi-action-card__note span {
  display: block;
  margin-top: 12px;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

@media (max-width: 700px) {
  .ebi-action-card__note strong {
    font-size: 39px !important;
  }
}

/* ============================================================
   EBI 1.10.10 – Projektraumtitel wieder kompakt
   ============================================================ */

.ebi-action-card__note strong {
  font-size: 19px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 700px) {
  .ebi-action-card__note strong {
    font-size: 19px !important;
  }
}

/* ============================================================
   EBI 1.11 – Originalaussagen und Mobile-UX-System
   ============================================================ */

:root {
  --ebi-content-width: 1080px;
  --ebi-mobile-gutter: 12px;
}

/* ------------------------------------------------------------
   Vier Aussagen – grafisch wie die bisherige EBI-Startseite
   ------------------------------------------------------------ */

.ebi-values-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.ebi-values-compact {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

.ebi-value-compact {
  position: relative;
  min-height: 0 !important;
  aspect-ratio: 8 / 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 76px) !important;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #000 !important;
}

.ebi-value-compact--1 {
  background-image: url("ebi-value-bg-1.png") !important;
}

.ebi-value-compact--2 {
  background-image: url("ebi-value-bg-2.png") !important;
}

.ebi-value-compact--3 {
  background-image: url("ebi-value-bg-3.png") !important;
}

.ebi-value-compact--4 {
  background-image: url("ebi-value-bg-4.png") !important;
}

.ebi-value-compact h3 {
  max-width: 520px;
  margin: 0 0 18px !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: clamp(15px, 1.25vw, 20px) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
}

.ebi-value-compact p {
  max-width: 580px;
  margin: 0 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: clamp(29px, 3.15vw, 49px) !important;
  line-height: .98 !important;
  font-weight: 770 !important;
  letter-spacing: -.052em !important;
}

.ebi-values-nav {
  display: none;
}

/* ------------------------------------------------------------
   Mobile layout reset: more usable screen, less dead padding
   ------------------------------------------------------------ */

@media (max-width: 700px) {
  :root {
    --ebi-header-height: 68px;
    --ebi-mobile-gutter: 12px;
  }

  html {
    scroll-padding-top: calc(
      var(--ebi-header-height) + 8px
    );
  }

  body.ebi-custom-header-enabled #page-container {
    padding-top: var(--ebi-header-height) !important;
  }

  .ebi-programm,
  .ebi-all-events,
  .ebi-exhibitions__inner,
  .ebi-news__inner,
  .ebi-people-compact,
  .ebi-site-footer__inner,
  .ebi-site-footer__bottom {
    width: calc(
      100% - (var(--ebi-mobile-gutter) * 2)
    ) !important;
    max-width: none !important;
  }

  .ebi-programm,
  .ebi-all-events,
  .ebi-news,
  .ebi-people-compact {
    padding-top: 46px !important;
    padding-bottom: 50px !important;
  }

  /* Header as a clear, full-screen mobile menu */

  .ebi-site-header {
    height: var(--ebi-header-height) !important;
  }

  .ebi-site-header__inner {
    width: calc(
      100% - (var(--ebi-mobile-gutter) * 2)
    ) !important;
    height: var(--ebi-header-height) !important;
  }

  .ebi-site-header__brand,
  .ebi-site-header__brand img {
    width: auto !important;
    max-width: 122px !important;
    height: 42px !important;
  }

  .ebi-site-header__toggle {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
  }

  .ebi-site-header__menu {
    position: fixed !important;
    top: var(--ebi-header-height) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-height: none !important;
    padding:
      22px
      var(--ebi-mobile-gutter)
      calc(24px + env(safe-area-inset-bottom))
      !important;
    overflow-y: auto;
    background: #fff !important;
  }

  .ebi-site-header__menu nav a {
    min-height: 54px !important;
    padding: 6px 2px !important;
    border-bottom: 1px solid #000 !important;
    font-size: clamp(22px, 7vw, 31px) !important;
    line-height: 1.05 !important;
    font-weight: 760 !important;
    letter-spacing: -.035em !important;
  }

  .ebi-site-header__events {
    min-height: 50px !important;
    margin-top: 18px !important;
    border-radius: 0 !important;
    font-size: 15px !important;
  }

  /* Hero: image and copy no longer overlap on phones */

  .ebi-hero {
    --ebi-mobile-hero-image: min(58svh, 560px);
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: grid !important;
    grid-template-rows:
      var(--ebi-mobile-hero-image)
      auto;
    overflow: hidden;
    background: #fff;
  }

  .ebi-hero__slides {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: var(--ebi-mobile-hero-image) !important;
    min-height: 0 !important;
  }

  .ebi-hero__slide {
    position: absolute !important;
    inset: 0 !important;
  }

  .ebi-hero__photo {
    object-position: center center;
  }

  .ebi-hero__slide::after {
    display: none;
  }

  .ebi-hero__panel,
  .ebi-hero__panel--right {
    position: relative !important;
    z-index: 6;
    inset: auto !important;
    grid-row: 2;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    padding:
      23px
      var(--ebi-mobile-gutter)
      27px
      !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .ebi-hero__panel h1,
  .ebi-hero h1 {
    max-width: 13ch;
    font-size: clamp(35px, 10.5vw, 47px) !important;
    line-height: .91 !important;
  }

  .ebi-hero__eyebrow {
    max-width: 34ch;
    margin-bottom: 10px !important;
    font-size: 9px !important;
  }

  .ebi-hero__text {
    display: block !important;
    max-width: 42ch;
    margin-top: 14px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .ebi-hero__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 7px !important;
    margin-top: 18px !important;
  }

  .ebi-hero__button {
    min-height: 46px !important;
    padding: 10px 11px !important;
    text-align: center;
  }

  .ebi-hero__dots {
    top: calc(
      var(--ebi-mobile-hero-image) - 28px
    ) !important;
    bottom: auto !important;
  }

  .ebi-hero__caption {
    top: calc(
      var(--ebi-mobile-hero-image) - 66px
    ) !important;
    right: var(--ebi-mobile-gutter) !important;
    bottom: auto !important;
    display: block !important;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ebi-hero__shape {
    max-height: 45% !important;
    opacity: .88 !important;
  }

  /* General mobile typography */

  .ebi-programm__head h2,
  .ebi-all-events__head h1,
  .ebi-exhibitions__head h2,
  .ebi-news__head h2,
  .ebi-about-compact__intro h2,
  .ebi-people-compact > header h2 {
    font-size: clamp(38px, 11.8vw, 52px) !important;
    line-height: .92 !important;
    letter-spacing: -.06em !important;
  }

  /* Program controls become a clean segmented toggle */

  .ebi-programm__head {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 26px !important;
  }

  .ebi-programm__intro {
    margin-top: 13px !important;
    font-size: 15px !important;
    line-height: 1.48 !important;
  }

  .ebi-programm__switch {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 !important;
    padding: 3px !important;
    border: 1px solid #000 !important;
    border-radius: 999px !important;
    background: #fff;
  }

  .ebi-programm__switch-button {
    min-height: 42px !important;
    border: 0 !important;
    border-radius: 999px !important;
  }

  .ebi-programm__all {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center;
  }

  .ebi-programm__overview {
    gap: 13px !important;
  }

  .ebi-programm-featured {
    border: 0 !important;
    box-shadow: 7px 7px 0 var(--ebi-orange) !important;
  }

  .ebi-programm-featured__media {
    aspect-ratio: 16 / 10 !important;
  }

  .ebi-programm-featured__body {
    padding: 20px 17px 22px !important;
  }

  .ebi-programm-featured h3 {
    font-size: clamp(28px, 8.3vw, 35px) !important;
  }

  .ebi-programm-featured__excerpt {
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  .ebi-programm__list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .ebi-programm-item {
    min-height: 145px !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
  }

  .ebi-programm-item__body {
    padding: 14px !important;
  }

  .ebi-programm-item h3 {
    font-size: 20px !important;
  }

  .ebi-programm-item__excerpt {
    display: none !important;
  }

  .ebi-programm__meta {
    font-size: 11px !important;
  }

  /* Calendar fits the phone; monthly agenda sits below it */

  .ebi-programm__calendar {
    padding-top: 8px;
  }

  .ebi-calendar__head {
    grid-template-columns: 44px 1fr 44px !important;
    margin-bottom: 14px !important;
  }

  .ebi-calendar__head h3 {
    font-size: 23px !important;
  }

  .ebi-calendar__nav {
    width: 44px !important;
    height: 44px !important;
  }

  .ebi-calendar__scroll {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .ebi-calendar__grid.is-compact {
    width: 100%;
    min-width: 0 !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }

  .ebi-calendar__grid.is-compact
  .ebi-calendar__weekday {
    min-height: 31px;
    padding: 6px 1px !important;
    font-size: 10px !important;
  }

  .ebi-calendar__grid.is-compact
  .ebi-calendar__day {
    position: relative;
    min-height: 52px !important;
    padding: 5px 3px !important;
  }

  .ebi-calendar__grid.is-compact
  .ebi-calendar__number {
    font-size: 12px !important;
  }

  .ebi-calendar__event-dots {
    position: absolute;
    right: 3px;
    bottom: 5px;
    left: 3px;
    display: flex;
    justify-content: center;
    gap: 3px;
  }

  .ebi-calendar__event-dot {
    width: 7px;
    height: 7px;
    min-width: 7px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: var(--ebi-coral) !important;
  }

  .ebi-calendar__event-dot:nth-child(2) {
    background: var(--ebi-blue) !important;
  }

  .ebi-calendar__event-dot:nth-child(3) {
    background: var(--ebi-green) !important;
  }

  .ebi-calendar-agenda {
    display: grid;
    gap: 0;
    margin-top: 22px;
    border-top: 1px solid #000;
  }

  .ebi-calendar-agenda[hidden] {
    display: none !important;
  }

  .ebi-calendar-agenda h4 {
    margin: 0;
    padding: 17px 0 11px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .ebi-calendar-agenda__item {
    width: 100%;
    min-height: 69px;
    display: grid;
    grid-template-columns: 68px 1fr 24px;
    gap: 11px;
    align-items: center;
    padding: 11px 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, .16) !important;
    background: transparent !important;
    color: #000 !important;
    text-align: left;
  }

  .ebi-calendar-agenda__date {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .ebi-calendar-agenda__copy {
    display: grid;
    gap: 4px;
  }

  .ebi-calendar-agenda__copy strong {
    font-size: 15px;
    line-height: 1.18;
  }

  .ebi-calendar-agenda__copy small {
    font-size: 12px;
    font-weight: 750;
  }

  .ebi-calendar-agenda__arrow {
    font-size: 20px;
    text-align: right;
  }

  .ebi-calendar-agenda__empty {
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, .16);
    font-size: 14px;
  }

  /* Internal all-events page */

  .ebi-all-events__head {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-bottom: 27px !important;
  }

  .ebi-all-event {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    min-height: 148px !important;
    box-shadow: 5px 5px 0 var(--ebi-blue) !important;
  }

  .ebi-all-event__image {
    min-height: 148px !important;
  }

  .ebi-all-event__copy {
    padding: 13px 14px 16px !important;
  }

  .ebi-all-event__copy h2 {
    font-size: 22px !important;
  }

  .ebi-all-event__copy > p:last-child {
    display: none;
  }

  /* Exhibitions become a swipeable gallery instead of a long squeeze */

  .ebi-exhibitions {
    padding-top: 50px !important;
    padding-bottom: 52px !important;
  }

  .ebi-exhibitions__head {
    padding-right: 42px !important;
    margin-bottom: 26px !important;
  }

  .ebi-exhibitions__intro {
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  .ebi-exhibitions__grid {
    width: calc(
      100vw - var(--ebi-mobile-gutter)
    );
    display: flex !important;
    gap: 10px !important;
    margin-right: calc(
      var(--ebi-mobile-gutter) * -1
    );
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ebi-exhibitions__grid::-webkit-scrollbar {
    display: none;
  }

  .ebi-exhibition-space {
    width: auto !important;
    min-width: 0;
    flex: 0 0 calc(100vw - 34px);
    scroll-snap-align: start;
    padding: 16px 0 22px !important;
    border: 0 !important;
  }

  .ebi-exhibition-space__name,
  .ebi-exhibition-space__media,
  .ebi-exhibition-space__body {
    margin-right: var(--ebi-mobile-gutter) !important;
    margin-left: 0 !important;
  }

  .ebi-exhibition-space__media {
    aspect-ratio: 4 / 3 !important;
  }

  /* News uses compact full-width rows */

  .ebi-news__head {
    gap: 13px !important;
    margin-bottom: 27px !important;
  }

  .ebi-news__list {
    gap: 15px !important;
  }

  .ebi-news-item {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    min-height: 155px !important;
    box-shadow: 6px 6px 0 var(--ebi-shadow) !important;
  }

  .ebi-news-item__image {
    min-height: 155px !important;
  }

  .ebi-news-item__copy {
    padding: 15px 14px !important;
  }

  .ebi-news-item h3 {
    font-size: 22px !important;
  }

  .ebi-news-item__excerpt {
    display: none !important;
  }

  .ebi-news-item__button {
    grid-column: 1 / -1;
    min-height: 43px !important;
  }

  /* Full photo slider */

  .ebi-photo-slider {
    height: 64svh !important;
    min-height: 430px !important;
    max-height: 620px;
  }

  .ebi-photo-slider__slide figcaption {
    right: var(--ebi-mobile-gutter) !important;
    bottom: 43px !important;
    left: var(--ebi-mobile-gutter) !important;
    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 8px 10px !important;
  }

  /* About intro */

  .ebi-about-compact__intro {
    padding:
      47px
      var(--ebi-mobile-gutter)
      52px
      !important;
  }

  .ebi-about-compact__intro p:not(.ebi-section-label) {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .ebi-about-compact__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 7px !important;
  }

  .ebi-about-compact .ebi-color-button {
    min-height: 46px !important;
    justify-content: center;
    padding: 9px 10px !important;
  }

  /* Original statements become a wide swipe carousel */

  .ebi-values-shell {
    padding: 0 0 18px;
  }

  .ebi-values-compact {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 9px !important;
    padding: 0 var(--ebi-mobile-gutter);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding:
      0 var(--ebi-mobile-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ebi-values-compact::-webkit-scrollbar {
    display: none;
  }

  .ebi-value-compact {
    flex: 0 0 calc(
      100vw - (var(--ebi-mobile-gutter) * 2)
    );
    min-height: min(68svh, 570px) !important;
    aspect-ratio: auto !important;
    scroll-snap-align: center;
    padding:
      34px
      27px
      38px
      !important;
    background-position: center;
  }

  .ebi-value-compact h3 {
    margin-bottom: 17px !important;
    font-size: 15px !important;
  }

  .ebi-value-compact p {
    max-width: 12ch;
    font-size: clamp(34px, 10.7vw, 49px) !important;
    line-height: .95 !important;
  }

  .ebi-values-nav {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 13px;
  }

  .ebi-values-nav button {
    width: 9px;
    height: 9px;
    min-width: 9px;
    padding: 0 !important;
    border: 1px solid #000 !important;
    border-radius: 999px !important;
    background: #fff !important;
  }

  .ebi-values-nav button.is-active {
    width: 30px;
    background: #000 !important;
  }

  /* People: keep two useful columns even on normal phones */

  .ebi-people-compact {
    padding-top: 47px !important;
    padding-bottom: 52px !important;
  }

  .ebi-people-compact > header {
    gap: 14px !important;
    margin-bottom: 25px !important;
  }

  .ebi-people-compact > header p {
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns:
      repeat(2, minmax(0, 1fr))
      !important;
    gap: 9px !important;
  }

  .ebi-people-grid > .ebi-actor-tile,
  .ebi-network-items > .ebi-actor-tile {
    aspect-ratio: 1 / 1.18 !important;
  }

  .ebi-actor-tile::before {
    height: 46% !important;
  }

  .ebi-actor-tile > .ebi-people-item__visual {
    bottom: 40% !important;
    height: 60% !important;
  }

  .ebi-actor-tile > .ebi-people-item__title {
    right: 11px !important;
    bottom: 57px !important;
    left: 11px !important;
    font-size: 17px !important;
  }

  .ebi-actor-tile > .ebi-people-item__description {
    right: 11px !important;
    bottom: 13px !important;
    left: 11px !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
  }

  /* Action section uses screen width without oversized padding */

  .ebi-action-section {
    grid-template-columns: 1fr !important;
  }

  .ebi-action-section__image {
    grid-column: auto !important;
    min-height: 0 !important;
    height: min(62vw, 340px) !important;
  }

  .ebi-action-card {
    min-height: 0 !important;
    padding:
      34px
      var(--ebi-mobile-gutter)
      39px
      !important;
  }

  .ebi-action-card h2 {
    font-size: clamp(34px, 10vw, 43px) !important;
  }

  .ebi-action-card__note {
    margin: 20px 0 !important;
  }

  .ebi-action-card__note strong {
    font-size: 19px !important;
  }

  .ebi-action-card .ebi-color-button {
    min-height: 46px !important;
  }

  /* Footer stays useful but compact */

  .ebi-site-footer__inner {
    grid-template-columns: 1fr !important;
    gap: 27px !important;
    padding-top: 38px !important;
    padding-bottom: 34px !important;
  }

  .ebi-site-footer__brand {
    grid-column: auto !important;
  }

  .ebi-site-footer__logo {
    width: 135px !important;
  }

  .ebi-site-footer__wordmark {
    font-size: 50px !important;
  }

  .ebi-site-footer__nav,
  .ebi-site-footer__contact {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 15px !important;
  }

  .ebi-site-footer__nav a,
  .ebi-site-footer__contact a {
    min-height: 38px !important;
  }

  .ebi-site-footer__bottom {
    gap: 12px !important;
    padding-top: 18px !important;
    padding-bottom:
      calc(20px + env(safe-area-inset-bottom))
      !important;
  }

  /* Modal as a real mobile bottom sheet */

  .ebi-modal__dialog {
    right: 6px !important;
    bottom: 6px !important;
    left: 6px !important;
    max-height: calc(100svh - 12px) !important;
  }

  .ebi-modal-entry__image {
    aspect-ratio: 16 / 10 !important;
  }

  .ebi-modal-entry__body {
    padding: 23px 17px 30px !important;
  }

  .ebi-modal-entry h2 {
    font-size: clamp(32px, 9vw, 41px) !important;
  }
}

/* Very small screens: still avoid cramped side padding */

@media (max-width: 360px) {
  :root {
    --ebi-mobile-gutter: 9px;
  }

  .ebi-hero__panel h1,
  .ebi-hero h1 {
    font-size: 33px !important;
  }

  .ebi-programm__head h2,
  .ebi-all-events__head h1,
  .ebi-exhibitions__head h2,
  .ebi-news__head h2,
  .ebi-about-compact__intro h2,
  .ebi-people-compact > header h2 {
    font-size: 37px !important;
  }

  .ebi-programm-item {
    grid-template-columns: 90px minmax(0, 1fr) !important;
  }

  .ebi-news-item {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }

  .ebi-value-compact {
    min-height: min(65svh, 520px) !important;
    padding: 28px 22px 33px !important;
  }

  .ebi-value-compact p {
    font-size: 34px !important;
  }

  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns: 1fr !important;
  }
}

/* Landscape phones: image and content side by side */

@media (
  max-height: 560px
) and (
  orientation: landscape
) and (
  max-width: 980px
) {
  .ebi-hero {
    --ebi-mobile-hero-image: auto;
    min-height: calc(
      100svh - var(--ebi-header-height)
    ) !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
    grid-template-rows: 1fr;
  }

  .ebi-hero__slides {
    grid-column: 1;
    grid-row: 1;
    height: 100% !important;
  }

  .ebi-hero__panel,
  .ebi-hero__panel--right {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto !important;
  }

  .ebi-hero__dots {
    top: auto !important;
    right: calc(37.5% + 14px);
    bottom: 14px !important;
    left: auto !important;
    transform: none !important;
  }

  .ebi-hero__caption {
    display: none !important;
  }

  .ebi-hero__panel h1,
  .ebi-hero h1 {
    font-size: 31px !important;
  }

  .ebi-hero__text {
    display: none !important;
  }

  .ebi-value-compact {
    min-height: calc(100svh - 90px) !important;
  }
}

/* ============================================================
   EBI 1.11.1 – visuelle Detailkorrekturen
   ============================================================ */

/* ------------------------------------------------------------
   Hero: normale Slideranzeige
   ------------------------------------------------------------ */

.ebi-hero__pagination {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 20px;
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 12px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, .96);
  color: #000;
  transform: translateX(-50%);
}

.ebi-hero__counter {
  min-width: 34px;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
}

.ebi-hero__dots {
  position: static !important;
  inset: auto !important;
  display: flex;
  gap: 6px;
  transform: none !important;
}

.ebi-hero__dots button {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  padding: 0 !important;
  border: 1px solid #000 !important;
  border-radius: 50% !important;
  background: transparent !important;
}

.ebi-hero__dots button.is-active {
  width: 8px !important;
  background: #000 !important;
}

/* Schwarze Schrift auf allen weißen Sliderlabels */

.ebi-hero__caption,
.ebi-hero__caption *,
.ebi-photo-slider__slide figcaption,
.ebi-photo-slider__slide figcaption * {
  background: #fff !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  opacity: 1 !important;
}

/* ------------------------------------------------------------
   Platzprogramm: kompaktere rechte Spalte, keine Konturen
   ------------------------------------------------------------ */

@media (min-width: 981px) {
  .ebi-programm__overview {
    grid-template-columns:
      minmax(0, 1.48fr)
      minmax(310px, .52fr)
      !important;
    gap: 22px !important;
    align-items: start;
  }

  .ebi-programm__list {
    grid-template-rows: none !important;
    grid-auto-rows: auto;
    gap: 13px !important;
    align-content: start;
  }

  .ebi-programm-item {
    min-height: 132px !important;
    max-height: 148px;
    grid-template-columns:
      108px minmax(0, 1fr)
      !important;
  }

  .ebi-programm-item__body {
    justify-content: center !important;
    padding: 13px 15px !important;
  }

  .ebi-programm-item h3 {
    font-size: clamp(18px, 1.55vw, 22px) !important;
  }

  .ebi-programm-item__excerpt {
    display: none !important;
  }

  .ebi-programm-item__link {
    margin-top: 10px !important;
  }
}

.ebi-programm-featured,
.ebi-programm-item {
  border: 0 !important;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, .085)
    !important;
}

.ebi-programm-featured {
  box-shadow:
    0 11px 31px rgba(0, 0, 0, .105)
    !important;
}

.ebi-programm-featured:hover,
.ebi-programm-featured:focus-within {
  box-shadow:
    0 15px 37px rgba(0, 0, 0, .14)
    !important;
}

/* ------------------------------------------------------------
   Ausstellungen
   ------------------------------------------------------------ */

.ebi-exhibition-space__name {
  display: inline-flex !important;
  min-height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 12px !important;
  line-height: 1 !important;
  text-align: center !important;
}

.ebi-exhibition-space__status {
  gap: 7px 11px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  letter-spacing: .065em !important;
}

/* ------------------------------------------------------------
   Neuigkeiten: keine Kontur, farbiger + weicher Schatten
   ------------------------------------------------------------ */

.ebi-news-item {
  border: 0 !important;
  box-shadow:
    9px 9px 0 var(--ebi-shadow),
    0 7px 24px rgba(0, 0, 0, .08)
    !important;
}

.ebi-news-item:hover,
.ebi-news-item:focus-within {
  box-shadow:
    6px 6px 0 var(--ebi-shadow),
    0 10px 28px rgba(0, 0, 0, .11)
    !important;
}

.ebi-news-item__button {
  border-top: 0 !important;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, .09),
      rgba(0, 0, 0, .09)
    )
    top / 100% 1px no-repeat !important;
}

/* ------------------------------------------------------------
   Mitmachen / Newsletter: Übertitel entfernt
   ------------------------------------------------------------ */

.ebi-action-card > .ebi-section-label,
.ebi-action-card > div > .ebi-section-label {
  display: none !important;
}

/* ------------------------------------------------------------
   Mobile pagination position
   ------------------------------------------------------------ */

@media (max-width: 700px) {
  .ebi-hero__pagination {
    top: calc(
      var(--ebi-mobile-hero-image) - 45px
    ) !important;
    bottom: auto !important;
    min-height: 31px;
    gap: 9px;
    padding: 6px 9px;
  }

  .ebi-hero__dots {
    top: auto !important;
    bottom: auto !important;
  }

  .ebi-hero__caption {
    top: calc(
      var(--ebi-mobile-hero-image) - 82px
    ) !important;
  }
}

@media (
  max-height: 560px
) and (
  orientation: landscape
) and (
  max-width: 980px
) {
  .ebi-hero__pagination {
    top: auto !important;
    right: calc(37.5% + 14px);
    bottom: 14px !important;
    left: auto !important;
    transform: none !important;
  }
}

/* ============================================================
   EBI 1.11.2 – mobiler Ablauf und progressive Offenlegung
   ============================================================ */

/* Mobile scroll arrow is hidden on larger screens. */

.ebi-hero__scroll-down {
  display: none;
}

/* Additional program cards stay hidden until the mobile + button is used. */

.ebi-programm-item[hidden],
.ebi-programm__load-more[hidden] {
  display: none !important;
}

.ebi-programm__load-more {
  display: none;
}

/* Swipe hint only belongs to the mobile carousel. */

.ebi-exhibitions__swipe-hint {
  display: none;
}

/* Members are initially limited to six items on larger screens. */

.ebi-members-group:not(.is-expanded)
.ebi-people-grid
> .ebi-actor-tile:nth-child(n + 7) {
  display: none !important;
}

.ebi-actors-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 8px 15px !important;
  border: 2px solid #000 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

.ebi-actors-toggle__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ebi-orange);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 20px;
  line-height: 1;
}

.ebi-members-group--desktop-complete
.ebi-actors-toggle {
  display: none;
}

/* ------------------------------------------------------------
   Mobile
   ------------------------------------------------------------ */

@media (max-width: 700px) {
  /*
   * A short graphic band separates the white hero copy from the white
   * program section without creating another oversized section.
   */

  .ebi-hero {
    grid-template-rows:
      var(--ebi-mobile-hero-image)
      auto
      10px
      !important;
  }

  .ebi-hero::after {
    content: "";
    grid-row: 3;
    width: 100%;
    height: 10px;
    display: block;
    background:
      linear-gradient(
        90deg,
        var(--ebi-orange) 0 32%,
        #000 32% 100%
      );
  }

  /* Remove the two CTA buttons and use one quiet down arrow. */

  .ebi-hero__actions {
    display: none !important;
  }

  .ebi-hero__scroll-down {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin: 18px auto 0;
    padding: 0 !important;
    border: 2px solid #000 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-size: 25px;
    line-height: 1;
    animation: ebi-scroll-cue 1.8s ease-in-out infinite;
  }

  @keyframes ebi-scroll-cue {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(4px);
    }
  }

  /* Place view toggle and archive button next to one another. */

  .ebi-programm__head {
    grid-template-columns:
      minmax(0, 1fr)
      auto
      !important;
    gap: 10px 8px !important;
  }

  .ebi-programm__heading {
    grid-column: 1 / -1;
  }

  .ebi-programm__switch {
    grid-column: 1;
    width: 100% !important;
    min-width: 0;
  }

  .ebi-programm__all {
    grid-column: 2;
    width: auto !important;
    min-width: 132px;
    min-height: 48px !important;
    align-self: stretch;
    justify-content: center;
    gap: 5px;
    padding: 8px 10px !important;
    font-size: 11px !important;
    line-height: 1.05;
    text-align: center;
    white-space: nowrap;
  }

  .ebi-programm__all-label {
    max-width: 104px;
    white-space: normal;
  }

  .ebi-programm__switch-button {
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 11px !important;
  }

  /* Load another batch of three below the three compact cards. */

  .ebi-programm__load-more {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2px;
    padding: 8px 13px !important;
    border: 0 !important;
    background: #000 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 13px;
    font-weight: 800;
  }

  .ebi-programm__load-more-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ebi-orange);
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-size: 22px;
    line-height: 1;
  }

  /* A stronger carousel cue: label, arrow and a wider next-card peek. */

  .ebi-exhibitions__swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin: -10px 0 12px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .ebi-exhibitions__swipe-hint span {
    color: var(--ebi-orange) !important;
    -webkit-text-fill-color: var(--ebi-orange) !important;
    font-size: 21px;
    animation: ebi-swipe-cue 1.7s ease-in-out infinite;
  }

  @keyframes ebi-swipe-cue {
    0%,
    100% {
      transform: translateX(0);
    }

    50% {
      transform: translateX(5px);
    }
  }

  .ebi-exhibitions__grid {
    width: calc(
      100vw - var(--ebi-mobile-gutter)
    );
    padding-right: 42px;
  }

  .ebi-exhibition-space {
    flex-basis: calc(100vw - 62px) !important;
  }

  /* News cards become visibly lighter and shorter. */

  .ebi-news__list {
    gap: 12px !important;
  }

  .ebi-news-item {
    grid-template-columns:
      92px minmax(0, 1fr)
      !important;
    min-height: 124px !important;
    box-shadow:
      5px 5px 0 var(--ebi-shadow),
      0 5px 17px rgba(0, 0, 0, .065)
      !important;
  }

  .ebi-news-item__image {
    min-height: 124px !important;
  }

  .ebi-news-item__copy {
    padding: 12px 12px 10px !important;
  }

  .ebi-news-item h3 {
    font-size: 19px !important;
    line-height: 1.02 !important;
  }

  .ebi-news__date {
    margin-bottom: 5px !important;
    font-size: 10px !important;
  }

  .ebi-news-item__button {
    min-height: 37px !important;
    padding: 6px 11px !important;
    font-size: 11px !important;
  }

  /* Members: four logos first, then an explicit disclosure. */

  .ebi-members-group:not(.is-expanded)
  .ebi-people-grid
  > .ebi-actor-tile:nth-child(n + 5) {
    display: none !important;
  }

  .ebi-members-group--desktop-complete
  .ebi-actors-toggle {
    display: inline-flex;
  }

  .ebi-actors-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    margin-top: 13px;
  }
}

/* Small screens keep the control row usable. */

@media (max-width: 360px) {
  .ebi-programm__head {
    grid-template-columns:
      minmax(0, 1fr)
      119px
      !important;
  }

  .ebi-programm__all {
    min-width: 119px;
    padding-right: 7px !important;
    padding-left: 7px !important;
    font-size: 10px !important;
  }

  .ebi-programm__switch-button {
    font-size: 10px !important;
  }
}

/* ============================================================
   EBI 1.11.3 – kompakter Hero, 4er-Programmspalte, leichter Footer
   ============================================================ */

/* ------------------------------------------------------------
   Hero pagination: nur klassische Punkte, kein Zähler
   ------------------------------------------------------------ */

.ebi-hero__pagination {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 20px;
  display: flex;
  min-height: 0;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, .94);
  transform: translateX(-50%);
}

.ebi-hero__pagination button {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  padding: 0 !important;
  border: 1px solid #000 !important;
  border-radius: 50% !important;
  background: transparent !important;
}

.ebi-hero__pagination button.is-active {
  background: #000 !important;
}

.ebi-hero__counter,
.ebi-hero__dots {
  display: contents;
}

/* ------------------------------------------------------------
   Platzprogramm: vier Karten = Höhe des Highlights
   ------------------------------------------------------------ */

@media (min-width: 981px) {
  .ebi-programm__overview {
    grid-template-columns:
      minmax(0, 1.46fr)
      minmax(330px, .54fr)
      !important;
    align-items: stretch !important;
  }

  .ebi-programm-featured {
    height: 100%;
  }

  .ebi-programm__list {
    height: 100%;
    display: grid !important;
    grid-template-rows:
      repeat(4, minmax(0, 1fr))
      !important;
    gap: 11px !important;
    align-self: stretch;
  }

  .ebi-programm-item {
    min-height: 0 !important;
    max-height: none !important;
    height: 100%;
    grid-template-columns:
      104px minmax(0, 1fr)
      !important;
  }

  .ebi-programm-item__body {
    min-height: 0;
    padding: 10px 13px !important;
  }

  .ebi-programm-item h3 {
    font-size: clamp(17px, 1.35vw, 20px) !important;
    line-height: 1.03 !important;
  }

  .ebi-programm-item__link {
    margin-top: 7px !important;
    font-size: 11px !important;
  }
}

/*
 * Das Datumslabel muss in der schmalen Bildspalte vollständig sichtbar
 * bleiben. Die bisherige Mindestbreite plus Innenabstand war größer als
 * das Bild selbst.
 */

.ebi-programm-item__date {
  left: 7px !important;
  bottom: 7px !important;
  min-width: 46px !important;
  padding: 6px 7px !important;
}

.ebi-programm-item__date b {
  font-size: 20px !important;
  line-height: .9 !important;
}

.ebi-programm-item__date span {
  margin-top: 3px !important;
  font-size: 7px !important;
}

/* ------------------------------------------------------------
   Mitmachen / Newsletter: linke Textspalte etwas breiter
   ------------------------------------------------------------ */

.ebi-action-section {
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(350px, .82fr)
    minmax(285px, .58fr)
    !important;
}

.ebi-action-card__shape {
  display: none !important;
}

@media (max-width: 1080px) and (min-width: 701px) {
  .ebi-action-section {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(0, .85fr)
      !important;
  }

  .ebi-action-section__image {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------
   Mobile
   ------------------------------------------------------------ */

@media (max-width: 700px) {
  /*
   * Ein etwas niedrigeres Bild nutzt den ersten Bildschirm besser, ohne
   * das Motiv zu klein werden zu lassen.
   */

  .ebi-hero {
    --ebi-mobile-hero-image:
      clamp(330px, 48svh, 455px)
      !important;
  }

  /*
   * Punkte direkt rechts im Bild, ohne weiße Trägerfläche.
   */

  .ebi-hero__pagination {
    top: calc(
      var(--ebi-mobile-hero-image) - 31px
    ) !important;
    right: var(--ebi-mobile-gutter) !important;
    bottom: auto !important;
    left: auto !important;
    gap: 6px;
    padding: 0 !important;
    background: transparent !important;
    transform: none !important;
  }

  .ebi-hero__pagination button {
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    border-color: rgba(255, 255, 255, .95) !important;
    background: rgba(0, 0, 0, .22) !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
  }

  .ebi-hero__pagination button.is-active {
    background: #fff !important;
  }

  /*
   * Die Bildbeschriftung sitzt mittig unten, ist kleiner und lässt durch
   * den leicht transparenten Hintergrund mehr vom Foto sichtbar.
   */

  .ebi-hero__caption {
    top: calc(
      var(--ebi-mobile-hero-image) - 63px
    ) !important;
    right: auto !important;
    left: 50% !important;
    bottom: auto !important;
    max-width: calc(100% - 100px) !important;
    padding: 6px 9px !important;
    overflow: hidden;
    background: rgba(255, 255, 255, .78) !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .055em !important;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(3px);
    transform: translateX(-50%);
  }

  /* The compact date badge also fits mobile image columns. */

  .ebi-programm-item__date {
    left: 6px !important;
    bottom: 6px !important;
    min-width: 43px !important;
    padding: 5px 6px !important;
  }

  .ebi-programm-item__date b {
    font-size: 18px !important;
  }

  /*
   * Footer: logo + contact + legal line. The discovery navigation is
   * intentionally removed on phones.
   */

  .ebi-site-footer__nav {
    display: none !important;
  }

  .ebi-site-footer__inner {
    gap: 18px !important;
    padding-top: 27px !important;
    padding-bottom: 23px !important;
  }

  .ebi-site-footer__logo {
    width: 108px !important;
  }

  .ebi-site-footer__wordmark {
    font-size: 42px !important;
  }

  .ebi-site-footer__contact {
    display: grid !important;
    grid-template-columns:
      repeat(2, minmax(0, 1fr))
      !important;
    gap: 7px 14px !important;
  }

  .ebi-site-footer__contact > p {
    grid-column: 1 / -1;
    margin-bottom: 2px !important;
  }

  .ebi-site-footer__contact a {
    min-height: 30px !important;
    margin: 0 !important;
    font-size: 13px !important;
  }

  .ebi-site-footer__bottom {
    gap: 8px !important;
    padding-top: 14px !important;
    padding-bottom:
      calc(15px + env(safe-area-inset-bottom))
      !important;
  }

  .ebi-site-footer__bottom p,
  .ebi-site-footer__bottom a {
    font-size: 10px !important;
  }

  .ebi-site-footer__bottom > div {
    gap: 13px !important;
  }
}

/* Smartphone landscape follows the same unboxed dot treatment. */

@media (
  max-height: 560px
) and (
  orientation: landscape
) and (
  max-width: 980px
) {
  .ebi-hero__pagination {
    top: auto !important;
    right: calc(37.5% + 14px) !important;
    bottom: 14px !important;
    left: auto !important;
    padding: 0 !important;
    background: transparent !important;
    transform: none !important;
  }
}

/* ============================================================
   EBI 1.11.4 – ausschließlich mobile Feinkorrekturen
   ============================================================ */

.ebi-exhibitions__carousel-controls {
  display: none;
}

@media (max-width: 700px) {
  /* ----------------------------------------------------------
     Header: großes Logo am Anfang, kleiner beim Scrollen
     ---------------------------------------------------------- */

  .ebi-site-header__brand,
  .ebi-site-header__brand img {
    max-width: 150px !important;
    height: 50px !important;
    transition:
      width .2s ease,
      height .2s ease,
      max-width .2s ease,
      transform .2s ease;
  }

  .ebi-site-header.is-scrolled
  .ebi-site-header__brand,
  .ebi-site-header.is-scrolled
  .ebi-site-header__brand img {
    max-width: 118px !important;
    height: 38px !important;
  }

  /*
   * Drei kräftige schwarze Linien ohne Kreis, Fläche oder Kontur.
   */

  .ebi-site-header__toggle {
    width: 38px !important;
    height: 34px !important;
    flex: 0 0 38px !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ebi-site-header__toggle span {
    width: 31px !important;
    height: 4px !important;
    display: block;
    border-radius: 0 !important;
    background: #000 !important;
    transition:
      transform .2s ease,
      opacity .2s ease,
      width .2s ease;
  }

  .ebi-site-header__toggle span:nth-child(2) {
    width: 25px !important;
  }

  .ebi-site-header.is-menu-open
  .ebi-site-header__toggle span:nth-child(1) {
    width: 30px !important;
    transform: translateY(9px) rotate(45deg);
  }

  .ebi-site-header.is-menu-open
  .ebi-site-header__toggle span:nth-child(2) {
    opacity: 0;
  }

  .ebi-site-header.is-menu-open
  .ebi-site-header__toggle span:nth-child(3) {
    width: 30px !important;
    transform: translateY(-9px) rotate(-45deg);
  }

  /* ----------------------------------------------------------
     Hero
     ---------------------------------------------------------- */

  /*
   * Der Übertitel wird mobil ausgeblendet. Die eigentliche Überschrift
   * beginnt dadurch sofort und der Textblock wird etwas ruhiger.
   */

  .ebi-hero__eyebrow {
    display: none !important;
  }

  /*
   * Vertikale Punktnavigation mittig am rechten Bildrand.
   */

  .ebi-hero__pagination {
    top: calc(
      var(--ebi-mobile-hero-image) / 2
    ) !important;
    right: 9px !important;
    bottom: auto !important;
    left: auto !important;
    flex-direction: column !important;
    gap: 7px !important;
    padding: 0 !important;
    background: transparent !important;
    transform: translateY(-50%) !important;
  }

  .ebi-hero__pagination button {
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
  }

  /*
   * Bildbeschriftung bleibt mittig unten, jedoch mit Abstand zur neuen
   * vertikalen Navigation.
   */

  .ebi-hero__caption {
    max-width: calc(100% - 74px) !important;
  }

  /* ----------------------------------------------------------
     Platzprogramm: reiner Plus-Kreis
     ---------------------------------------------------------- */

  .ebi-programm__load-more {
    width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    display: grid !important;
    place-items: center;
    margin: 11px auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--ebi-orange) !important;
    box-shadow:
      0 5px 15px rgba(0, 0, 0, .11)
      !important;
  }

  .ebi-programm__load-more-icon {
    width: auto !important;
    height: auto !important;
    display: block !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 34px !important;
    line-height: .8 !important;
    font-weight: 400 !important;
  }

  .ebi-programm__load-more
  [data-ebi-load-more-label] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }

  /* ----------------------------------------------------------
     Ausstellungen: klassische Pfeilsteuerung
     ---------------------------------------------------------- */

  .ebi-exhibitions__swipe-hint {
    display: none !important;
  }

  .ebi-exhibitions__carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin: -8px 0 12px;
  }

  .ebi-exhibitions__carousel-controls button {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .65) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 19px;
    line-height: 1;
  }

  .ebi-exhibitions__carousel-controls button:last-child {
    border-color: var(--ebi-orange) !important;
    background: var(--ebi-orange) !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }

  /* ----------------------------------------------------------
     Neuigkeiten noch kompakter
     ---------------------------------------------------------- */

  .ebi-news__list {
    gap: 10px !important;
  }

  .ebi-news-item {
    grid-template-columns:
      78px minmax(0, 1fr)
      !important;
    min-height: 104px !important;
    box-shadow:
      4px 4px 0 var(--ebi-shadow),
      0 4px 13px rgba(0, 0, 0, .055)
      !important;
  }

  .ebi-news-item__image {
    min-height: 104px !important;
  }

  .ebi-news-item__copy {
    padding: 9px 10px 8px !important;
  }

  .ebi-news-item h3 {
    font-size: 17px !important;
    line-height: 1.01 !important;
  }

  .ebi-news__date {
    margin-bottom: 4px !important;
    font-size: 9px !important;
  }

  .ebi-news-item__button {
    min-height: 32px !important;
    padding: 5px 9px !important;
    font-size: 10px !important;
  }

  /* ----------------------------------------------------------
     Mitmachen + Newsletter sicher untereinander
     ---------------------------------------------------------- */

  .ebi-action-section {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
  }

  .ebi-action-section__image,
  .ebi-action-card--join,
  .ebi-action-card--newsletter {
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .ebi-action-section__image {
    grid-row: 1 !important;
  }

  .ebi-action-card--join {
    grid-row: 2 !important;
  }

  .ebi-action-card--newsletter {
    grid-row: 3 !important;
    display: flex !important;
    min-height: 0 !important;
    padding:
      34px
      var(--ebi-mobile-gutter)
      39px
      !important;
  }

  .ebi-action-card--newsletter > div {
    width: 100%;
  }
}

/* Kleine Geräte: Logo bleibt klar lesbar, ohne das Menü zu verdrängen. */

@media (max-width: 360px) {
  .ebi-site-header__brand,
  .ebi-site-header__brand img {
    max-width: 138px !important;
    height: 47px !important;
  }

  .ebi-site-header.is-scrolled
  .ebi-site-header__brand,
  .ebi-site-header.is-scrolled
  .ebi-site-header__brand img {
    max-width: 112px !important;
    height: 36px !important;
  }
}

/* ============================================================
   EBI 1.11.5 – reduzierter Hero und Vereinsintro
   ============================================================ */

/* Desktop: Punkte direkt auf dem Bild, ohne weiße Trägerfläche. */

@media (min-width: 701px) {
  .ebi-hero__pagination {
    min-height: 0 !important;
    gap: 7px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ebi-hero__pagination button {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    border: 1px solid rgba(255, 255, 255, .82) !important;
    background: rgba(0, 0, 0, .18) !important;
    box-shadow:
      0 1px 5px rgba(0, 0, 0, .24)
      !important;
    opacity: .78;
  }

  .ebi-hero__pagination button:hover,
  .ebi-hero__pagination button:focus-visible {
    opacity: 1;
  }

  .ebi-hero__pagination button.is-active {
    border-color: #fff !important;
    background: rgba(255, 255, 255, .96) !important;
    opacity: 1;
  }
}

/*
 * Nach Entfernung des Mitmachen-Buttons bleibt der Flyer-Button – sofern
 * hinterlegt – kompakt an seinem Platz. Ohne Flyer entsteht kein leerer
 * Buttonbereich.
 */

.ebi-about-compact__actions:empty {
  display: none !important;
}

/* ============================================================
   EBI 1.11.6 – Programm, Ausstellungen, Newsletter und News
   ============================================================ */

/* ------------------------------------------------------------
   Fotoslider: dieselbe Bildbeschriftung wie im Hero
   ------------------------------------------------------------ */

.ebi-photo-slider__slide figcaption {
  right: 24px !important;
  bottom: 22px !important;
  left: auto !important;
  max-width: calc(100% - 48px);
  padding: 8px 11px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, .94) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
  letter-spacing: .07em !important;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   Ausstellungen: Intro auf allen Größen unter der Überschrift
   ------------------------------------------------------------ */

.ebi-exhibitions__head {
  display: block !important;
  margin-bottom: 34px !important;
}

.ebi-exhibitions__intro {
  max-width: 760px;
  margin: 18px 0 0 !important;
  color: rgba(255, 255, 255, .88) !important;
  -webkit-text-fill-color:
    rgba(255, 255, 255, .88)
    !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

/* Pfeile liegen über dem Karussell und reagieren zuverlässig. */

.ebi-exhibitions__carousel-controls {
  position: relative;
  z-index: 8;
  pointer-events: auto !important;
}

.ebi-exhibitions__carousel-controls button {
  position: relative;
  z-index: 9;
  pointer-events: auto !important;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ebi-exhibitions__carousel-controls button:disabled {
  cursor: default;
  opacity: .32;
}

/* ------------------------------------------------------------
   Neuigkeiten auf Desktop kompakter
   ------------------------------------------------------------ */

.ebi-news {
  padding-top: 66px !important;
  padding-bottom: 72px !important;
}

.ebi-news__head {
  gap: 38px !important;
  margin-bottom: 30px !important;
}

.ebi-news__list {
  gap: 20px !important;
}

.ebi-news-item {
  min-height: 370px !important;
}

.ebi-news-item__image {
  aspect-ratio: 2 / 1 !important;
}

.ebi-news-item__copy {
  padding: 18px 19px 15px !important;
}

.ebi-news-item h3 {
  font-size: clamp(23px, 2.15vw, 31px) !important;
}

.ebi-news-item__excerpt {
  margin-top: 10px !important;
  font-size: 13px !important;
  line-height: 1.43 !important;
  -webkit-line-clamp: 3 !important;
}

.ebi-news-item__button {
  min-height: 44px !important;
  padding: 9px 19px !important;
}

/* ------------------------------------------------------------
   Mobile
   ------------------------------------------------------------ */

@media (max-width: 700px) {
  /* Nur Highlight + zwei Termine; JS übernimmt das Nachladen. */

  .ebi-programm__load-more {
    display: grid !important;
  }

  /* Fotoslider-Caption wie die mobile Hero-Caption. */

  .ebi-photo-slider__slide figcaption {
    right: auto !important;
    bottom: 42px !important;
    left: 50% !important;
    max-width: calc(100% - 78px) !important;
    padding: 6px 9px !important;
    background: rgba(255, 255, 255, .78) !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .055em !important;
    backdrop-filter: blur(3px);
    transform: translateX(-50%);
  }

  /* Ausstellungstext etwas größer UND mittelfett. */

  .ebi-exhibitions__head {
    margin-bottom: 22px !important;
    padding-right: 40px !important;
  }

  .ebi-exhibitions__intro {
    max-width: 36ch;
    margin-top: 14px !important;
    font-size: 15.5px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
  }

  .ebi-exhibitions__carousel-controls {
    margin-top: -2px !important;
  }

  .ebi-exhibitions__carousel-controls button {
    width: 42px !important;
    height: 42px !important;
  }

  /*
   * Keine separate Newsletterkarte auf Mobilgeräten.
   * Der Newsletter-Zugang sitzt stattdessen im Footer.
   */

  .ebi-action-card--newsletter {
    display: none !important;
  }

  .ebi-action-section {
    grid-template-rows: auto auto !important;
  }

  .ebi-site-footer__newsletter-button {
    grid-column: 1 / -1 !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 7px !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(255, 255, 255, .8) !important;
    background: #fff !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-align: center;
  }

  /* Neuigkeiten nochmals kürzer und luftiger statt gequetscht. */

  .ebi-news {
    padding-top: 42px !important;
    padding-bottom: 46px !important;
  }

  .ebi-news__head {
    margin-bottom: 21px !important;
  }

  .ebi-news__list {
    gap: 8px !important;
  }

  .ebi-news-item {
    grid-template-columns:
      70px minmax(0, 1fr)
      !important;
    min-height: 92px !important;
  }

  .ebi-news-item__image {
    min-height: 92px !important;
    aspect-ratio: auto !important;
  }

  .ebi-news-item__copy {
    padding: 8px 9px 7px !important;
  }

  .ebi-news-item h3 {
    font-size: 16px !important;
  }

  .ebi-news__date {
    font-size: 8px !important;
  }

  .ebi-news-item__button {
    min-height: 29px !important;
    padding: 4px 8px !important;
    font-size: 9px !important;
  }
}

/* ============================================================
   EBI 1.11.7 – Neuigkeiten auf Desktop deutlich flacher
   ============================================================ */

@media (min-width: 701px) {
  .ebi-news {
    padding-top: 48px !important;
    padding-bottom: 52px !important;
  }

  .ebi-news__head {
    gap: 32px !important;
    margin-bottom: 23px !important;
  }

  .ebi-news__head > p {
    max-width: 520px;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .ebi-news__list {
    gap: 15px !important;
  }

  .ebi-news-item {
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows:
      128px
      minmax(86px, auto)
      35px
      !important;
  }

  .ebi-news-item__image {
    width: 100%;
    height: 128px !important;
    min-height: 128px !important;
    aspect-ratio: auto !important;
  }

  .ebi-news-item__copy {
    min-height: 0 !important;
    padding: 11px 14px 9px !important;
  }

  .ebi-news__date {
    margin-bottom: 5px !important;
    font-size: 8px !important;
    letter-spacing: .08em !important;
  }

  .ebi-news-item h3 {
    max-height: 2.06em;
    overflow: hidden;
    font-size: clamp(18px, 1.65vw, 23px) !important;
    line-height: 1.03 !important;
    letter-spacing: -.035em !important;
  }

  .ebi-news-item__title {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ebi-news-item__excerpt {
    display: none !important;
  }

  .ebi-news-item__button {
    min-height: 35px !important;
    padding: 5px 14px !important;
    font-size: 10px !important;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .ebi-news__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ebi-news-item {
    grid-template-rows:
      140px
      minmax(92px, auto)
      37px
      !important;
  }

  .ebi-news-item__image {
    height: 140px !important;
    min-height: 140px !important;
  }
}

/* ============================================================
   EBI 1.11.8 – News-Section wirklich kompakt
   ============================================================ */

/*
 * Auf Desktop wird nicht nur das Bild verkleinert, sondern die komplette
 * Karte als festes, flaches Querformat aufgebaut.
 */

@media (min-width: 981px) {
  .ebi-news {
    padding-top: 38px !important;
    padding-bottom: 43px !important;
  }

  .ebi-news__head {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(260px, .55fr)
      !important;
    gap: 30px !important;
    margin-bottom: 18px !important;
  }

  .ebi-news__head h2 {
    font-size: clamp(45px, 4.7vw, 65px) !important;
    line-height: .9 !important;
  }

  .ebi-news__head > p {
    max-width: 460px;
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .ebi-news__list {
    grid-template-columns:
      repeat(3, minmax(0, 1fr))
      !important;
    gap: 14px !important;
    align-items: stretch;
  }

  .ebi-news-item {
    width: 100%;
    height: 184px !important;
    min-height: 184px !important;
    max-height: 184px !important;
    display: grid !important;
    grid-template-columns:
      minmax(100px, 39%)
      minmax(0, 61%)
      !important;
    grid-template-rows:
      minmax(0, 1fr)
      32px
      !important;
    overflow: hidden !important;
  }

  .ebi-news-item__image {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 100% !important;
    height: 184px !important;
    min-height: 184px !important;
    aspect-ratio: auto !important;
  }

  .ebi-news-item__copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0;
    min-height: 0 !important;
    display: block !important;
    overflow: hidden;
    padding: 13px 12px 8px !important;
  }

  .ebi-news__date {
    margin: 0 0 6px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
  }

  .ebi-news-item h3 {
    max-height: 3.03em !important;
    margin: 0 !important;
    overflow: hidden;
    font-size: clamp(17px, 1.45vw, 21px) !important;
    line-height: 1.01 !important;
    letter-spacing: -.035em !important;
  }

  .ebi-news-item__title {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .ebi-news-item__excerpt {
    display: none !important;
  }

  .ebi-news-item__button {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 4px 12px !important;
    font-size: 9px !important;
  }
}

/*
 * Tablets erhalten ebenfalls feste Kartenhöhen, bleiben aber zweispaltig.
 */

@media (min-width: 701px) and (max-width: 980px) {
  .ebi-news {
    padding-top: 42px !important;
    padding-bottom: 47px !important;
  }

  .ebi-news__head {
    margin-bottom: 20px !important;
  }

  .ebi-news__list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr))
      !important;
    gap: 13px !important;
  }

  .ebi-news-item {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    display: grid !important;
    grid-template-columns:
      38% minmax(0, 62%)
      !important;
    grid-template-rows:
      minmax(0, 1fr)
      34px
      !important;
    overflow: hidden !important;
  }

  .ebi-news-item__image {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    height: 190px !important;
    min-height: 190px !important;
    aspect-ratio: auto !important;
  }

  .ebi-news-item__copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    overflow: hidden;
    padding: 13px 13px 8px !important;
  }

  .ebi-news-item h3 {
    max-height: 3.06em !important;
    overflow: hidden;
    font-size: 19px !important;
    line-height: 1.02 !important;
  }

  .ebi-news-item__title {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .ebi-news-item__excerpt {
    display: none !important;
  }

  .ebi-news-item__button {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-height: 34px !important;
    height: 34px !important;
    padding: 5px 13px !important;
    font-size: 9px !important;
  }
}

/* ============================================================
   EBI 1.11.9 – drei flache News-Zeilen untereinander
   ============================================================ */

/*
 * Desktop und Tablet:
 * drei volle, schmale Querformat-Container untereinander.
 * Mobil bleibt die bestehende kompakte Kartenansicht unverändert.
 */

@media (min-width: 701px) {
  .ebi-news {
    padding-top: 50px !important;
    padding-bottom: 56px !important;
  }

  .ebi-news__head {
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(280px, .6fr)
      !important;
    gap: 34px !important;
    margin-bottom: 27px !important;
  }

  .ebi-news__head h2 {
    font-size: clamp(50px, 5.3vw, 72px) !important;
    line-height: .9 !important;
  }

  .ebi-news__head > p {
    max-width: 500px;
    font-size: 15px !important;
    line-height: 1.46 !important;
  }

  .ebi-news__list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ebi-news-item {
    width: 100%;
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    display: grid !important;
    grid-template-columns:
      185px
      minmax(0, 1fr)
      112px
      !important;
    grid-template-rows: 1fr !important;
    overflow: hidden !important;
    box-shadow:
      7px 7px 0 var(--ebi-shadow),
      0 6px 18px rgba(0, 0, 0, .065)
      !important;
  }

  .ebi-news-item__image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 185px !important;
    height: 132px !important;
    min-height: 132px !important;
    aspect-ratio: auto !important;
  }

  .ebi-news-item__copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 16px 20px !important;
  }

  .ebi-news__date {
    margin: 0 0 7px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    letter-spacing: .08em !important;
  }

  .ebi-news-item h3 {
    max-height: 2.08em !important;
    margin: 0 !important;
    overflow: hidden;
    font-size: clamp(22px, 2vw, 29px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.04em !important;
  }

  .ebi-news-item__title {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ebi-news-item__excerpt {
    display: none !important;
  }

  .ebi-news-item__button {
    grid-column: 3 !important;
    grid-row: 1 !important;
    min-height: 132px !important;
    height: 132px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px !important;
    border-left: 1px solid rgba(0, 0, 0, .11) !important;
    background:
      transparent
      !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    text-align: center;
  }

  .ebi-news-item:hover,
  .ebi-news-item:focus-within {
    box-shadow:
      5px 5px 0 var(--ebi-shadow),
      0 9px 23px rgba(0, 0, 0, .09)
      !important;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .ebi-news-item {
    grid-template-columns:
      150px
      minmax(0, 1fr)
      96px
      !important;
    height: 124px !important;
    min-height: 124px !important;
    max-height: 124px !important;
  }

  .ebi-news-item__image {
    width: 150px !important;
    height: 124px !important;
    min-height: 124px !important;
  }

  .ebi-news-item__copy {
    padding: 14px 16px !important;
  }

  .ebi-news-item h3 {
    font-size: clamp(20px, 2.7vw, 25px) !important;
  }

  .ebi-news-item__button {
    min-height: 124px !important;
    height: 124px !important;
    font-size: 9px !important;
  }
}

/* ============================================================
   EBI 1.11.10 – News-Untertitel unter der Überschrift
   ============================================================ */

@media (min-width: 701px) {
  .ebi-news__head {
    display: block !important;
    margin-bottom: 27px !important;
  }

  .ebi-news__head > p {
    max-width: 650px !important;
    margin: 14px 0 0 !important;
  }
}

/* ============================================================
   EBI 1.11.11 – acht Vereinsmitglieder auf Desktop
   ============================================================ */

@media (min-width: 701px) {
  .ebi-members-group:not(.is-expanded)
  .ebi-people-grid
  > .ebi-actor-tile:nth-child(n + 7) {
    display: block !important;
  }

  .ebi-members-group:not(.is-expanded)
  .ebi-people-grid
  > .ebi-actor-tile:nth-child(n + 9) {
    display: none !important;
  }
}


/* ============================================================
   EBI 1.11.12 – News-Kacheln ohne farbige Ränder
   ============================================================ */

/*
 * Die farbigen Versatz-Schatten entfallen vollständig.
 * Die feine schwarze Kontur trennt die weißen Kacheln weiterhin klar.
 */
.ebi-news-item,
.ebi-news-item:hover,
.ebi-news-item:focus-within {
  box-shadow: none !important;
  transform: none !important;
}

/* Datum in den News-Kacheln besser lesbar */
.ebi-news__date {
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: .065em !important;
}

@media (max-width: 700px) {
  .ebi-news__date {
    font-size: 12px !important;
  }
}


/* ============================================================
   EBI 1.11.13 – News-Button, kompakter Vereins-Slider und Logos
   ============================================================ */

/* ------------------------------------------------------------
   Neuigkeiten: „Lesen“ direkt unter der Überschrift
   ------------------------------------------------------------ */

.ebi-news-item__copy .ebi-news-item__button {
  width: fit-content !important;
  min-width: 0 !important;
  min-height: 30px !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 10px 0 0 !important;
  padding: 5px 12px 6px !important;
  border: 1.5px solid #000 !important;
  border-radius: 999px !important;
  background: var(--ebi-orange) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  box-shadow: none !important;
}

.ebi-news-item__copy .ebi-news-item__button span {
  font-size: 14px !important;
  line-height: 1 !important;
}

@media (hover: hover) and (pointer: fine) {
  body.ebi-custom-header-enabled
  .ebi-news-item__copy
  .ebi-news-item__button:hover,
  body.ebi-custom-header-enabled
  .ebi-news-item__copy
  .ebi-news-item__button:focus-visible {
    background: #000 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  body.ebi-custom-header-enabled
  .ebi-news-item__copy
  .ebi-news-item__button:hover span,
  body.ebi-custom-header-enabled
  .ebi-news-item__copy
  .ebi-news-item__button:focus-visible span {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}

@media (min-width: 701px) {
  .ebi-news-item {
    height: 144px !important;
    min-height: 144px !important;
    max-height: 144px !important;
    grid-template-columns: 185px minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
  }

  .ebi-news-item__image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 185px !important;
    height: 144px !important;
    min-height: 144px !important;
  }

  .ebi-news-item__copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-content: center !important;
    padding: 14px 20px !important;
  }

  .ebi-news__date {
    margin-bottom: 5px !important;
  }

  .ebi-news-item h3 {
    max-height: 2.08em !important;
  }
}

@media (max-width: 700px) {
  .ebi-news-item {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-template-rows: 128px auto !important;
  }

  .ebi-news-item__image {
    grid-row: 1 !important;
  }

  .ebi-news-item__copy {
    grid-row: 2 !important;
    padding: 13px 14px 15px !important;
  }

  .ebi-news-item__copy .ebi-news-item__button {
    min-height: 32px !important;
    margin-top: 9px !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
  }
}

/* ------------------------------------------------------------
   Verein: Aufhänger und vier Aussagen als ein gemeinsamer Slider
   ------------------------------------------------------------ */

.ebi-about-compact {
  overflow: hidden;
  background: #fff !important;
}

.ebi-values-shell {
  position: relative;
  width: 100%;
  padding: clamp(54px, 6vw, 78px) 0 28px !important;
  overflow: hidden !important;
  background: #fff !important;
}

.ebi-values-compact {
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px !important;
  padding:
    0
    max(24px, calc((100vw - var(--ebi-content-width)) / 2))
    !important;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain;
  scroll-padding-left:
    max(24px, calc((100vw - var(--ebi-content-width)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ebi-values-compact::-webkit-scrollbar {
  display: none;
}

.ebi-value-compact {
  flex: 0 0 min(820px, 72vw) !important;
  width: auto !important;
  min-height: 460px !important;
  aspect-ratio: 16 / 9 !important;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(42px, 5vw, 70px) !important;
  border: 0 !important;
}

.ebi-value-compact--intro {
  position: relative;
  justify-content: center !important;
  border: 1.5px solid #000 !important;
  background: #fff !important;
  background-image: none !important;
  isolation: isolate;
}

.ebi-value-intro__copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.ebi-value-compact--intro .ebi-section-label {
  margin: 0 0 18px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase;
}

.ebi-value-compact--intro h2 {
  max-width: 760px;
  margin: 0 !important;
  font-size: clamp(48px, 5.6vw, 76px) !important;
  line-height: .91 !important;
  font-weight: 790 !important;
  letter-spacing: -.062em !important;
}

.ebi-value-compact .ebi-value-intro__text {
  max-width: 650px !important;
  margin: 23px 0 0 !important;
  font-size: 16px !important;
  line-height: 1.52 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.ebi-value-intro__shape {
  position: absolute;
  z-index: 1;
  right: -38px;
  bottom: -100px;
  color: var(--ebi-orange) !important;
  -webkit-text-fill-color: var(--ebi-orange) !important;
  font-family: Arial, sans-serif;
  font-size: clamp(250px, 29vw, 410px);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}

.ebi-value-compact:not(.ebi-value-compact--intro) h3 {
  font-size: clamp(14px, 1.2vw, 18px) !important;
}

.ebi-value-compact:not(.ebi-value-compact--intro) p {
  max-width: 620px !important;
  font-size: clamp(35px, 4vw, 58px) !important;
}

.ebi-values-controls {
  width: min(
    var(--ebi-content-width),
    calc(100% - 48px)
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 18px auto 0;
}

.ebi-values-nav {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 7px;
  margin: 0 !important;
}

.ebi-values-nav button {
  width: 9px;
  height: 9px;
  min-width: 9px;
  padding: 0 !important;
  border: 1px solid #000 !important;
  border-radius: 999px !important;
  background: #fff !important;
  transition: width .2s ease, background .2s ease;
}

.ebi-values-nav button.is-active {
  width: 31px;
  background: #000 !important;
}

.ebi-values-arrows {
  display: flex;
  gap: 8px;
}

.ebi-values-arrows button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0 !important;
  border: 1.5px solid #000 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.ebi-values-arrows button:last-child {
  background: var(--ebi-orange) !important;
}

.ebi-values-arrows button:disabled {
  opacity: .28;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .ebi-values-arrows button:not(:disabled):hover,
  .ebi-values-arrows button:not(:disabled):focus-visible {
    background: #000 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}

/* ------------------------------------------------------------
   Mitglieder und Partner: kleinere Kacheln, sechs pro Reihe
   ------------------------------------------------------------ */

.ebi-people-compact {
  padding-top: clamp(52px, 5.5vw, 72px) !important;
  padding-bottom: clamp(55px, 6vw, 78px) !important;
}

.ebi-people-compact > header {
  gap: 34px !important;
  margin-bottom: 28px !important;
}

.ebi-people-compact > header h2 {
  font-size: clamp(39px, 4.4vw, 56px) !important;
}

.ebi-people-compact > header p {
  max-width: 520px;
  font-size: 15px !important;
  line-height: 1.48 !important;
}

@media (min-width: 981px) {
  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .ebi-members-group:not(.is-expanded)
  .ebi-people-grid
  > .ebi-actor-tile:nth-child(n + 7) {
    display: none !important;
  }

  .ebi-members-group--desktop-complete
  .ebi-actors-toggle {
    display: none !important;
  }

  .ebi-people-grid > .ebi-actor-tile,
  .ebi-network-items > .ebi-actor-tile {
    aspect-ratio: 4 / 3 !important;
  }

  .ebi-actor-tile > .ebi-people-item__title {
    right: 14px !important;
    left: 14px !important;
    font-size: clamp(17px, 1.55vw, 23px) !important;
  }

  .ebi-actor-tile > .ebi-people-item__description {
    top: calc(50% + 29px) !important;
    right: 14px !important;
    left: 14px !important;
    font-size: 11px !important;
    line-height: 1.28 !important;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .ebi-value-compact {
    flex-basis: 82vw !important;
    min-height: 420px !important;
  }

  .ebi-people-grid,
  .ebi-network-items {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .ebi-members-group:not(.is-expanded)
  .ebi-people-grid
  > .ebi-actor-tile:nth-child(n + 6) {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .ebi-values-shell {
    padding: 42px 0 22px !important;
  }

  .ebi-values-compact {
    gap: 10px !important;
    padding: 0 12px !important;
    scroll-padding-left: 12px;
  }

  .ebi-value-compact {
    flex-basis: calc(100vw - 42px) !important;
    min-height: min(62svh, 510px) !important;
    aspect-ratio: auto !important;
    padding: 31px 24px 35px !important;
  }

  .ebi-value-compact--intro h2 {
    font-size: clamp(39px, 12vw, 52px) !important;
  }

  .ebi-value-compact .ebi-value-intro__text {
    max-width: 31ch !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  .ebi-value-intro__shape {
    right: -42px;
    bottom: -72px;
    font-size: 245px;
  }

  .ebi-value-compact:not(.ebi-value-compact--intro) p {
    max-width: 12ch !important;
    font-size: clamp(32px, 10.4vw, 45px) !important;
  }

  .ebi-values-controls {
    width: calc(100% - 24px);
    margin-top: 13px;
  }

  .ebi-values-arrows button {
    width: 40px;
    height: 40px;
    font-size: 19px !important;
  }

  .ebi-people-compact {
    padding-top: 44px !important;
    padding-bottom: 50px !important;
  }

  .ebi-people-compact > header {
    margin-bottom: 23px !important;
  }

  .ebi-people-compact > header h2 {
    font-size: 35px !important;
  }
}

/* ============================================================
   EBI 1.11.14 – statischer Vereins-Aufhänger und Logo-Akkordeons
   ============================================================ */

/* ------------------------------------------------------------
   Der Aufhänger steht wieder ruhig oberhalb des Statement-Sliders.
   ------------------------------------------------------------ */

.ebi-value-intro-static {
  position: relative;
  width: min(
    var(--ebi-content-width),
    calc(100% - 48px)
  );
  min-height: 390px;
  display: flex;
  align-items: center;
  margin: 0 auto clamp(36px, 4.8vw, 60px);
  padding: clamp(42px, 5vw, 68px) 0;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.ebi-value-intro-static .ebi-value-intro__copy {
  width: min(720px, 72%);
}

.ebi-value-intro-static .ebi-section-label {
  margin: 0 0 18px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase;
}

.ebi-value-intro-static h2 {
  max-width: 760px;
  margin: 0 !important;
  font-size: clamp(48px, 5.6vw, 76px) !important;
  line-height: .91 !important;
  font-weight: 790 !important;
  letter-spacing: -.062em !important;
}

.ebi-value-intro-static .ebi-value-intro__text {
  max-width: 650px !important;
  margin: 23px 0 0 !important;
  font-size: 16px !important;
  line-height: 1.52 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.ebi-value-intro-static .ebi-about-compact__actions {
  margin-top: 27px !important;
}

.ebi-value-intro-static .ebi-color-button {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.ebi-value-intro-static .ebi-value-intro__shape {
  right: -34px;
  bottom: -108px;
}

/* Der horizontale Slider enthält nur noch die vier Statements. */
.ebi-values-shell > .ebi-values-compact {
  margin-top: 0 !important;
}

/* ------------------------------------------------------------
   Überschrift und Einleitung im Mitgliederbereich untereinander.
   ------------------------------------------------------------ */

.ebi-people-compact > header {
  display: block !important;
  margin-bottom: clamp(28px, 3.8vw, 44px) !important;
}

.ebi-people-compact > header h2 {
  max-width: 780px;
  margin: 0 !important;
}

.ebi-people-compact > header p {
  max-width: 690px !important;
  margin: 20px 0 0 !important;
}

/* ------------------------------------------------------------
   Zwei ruhige Akkordeons mit endlos laufender Logo-Reihe.
   ------------------------------------------------------------ */

.ebi-people-accordions {
  border-top: 1.5px solid #000;
}

.ebi-people-accordion {
  margin: 0;
  border-bottom: 1.5px solid #000;
}

.ebi-people-accordion > summary {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 2px;
  color: #000 !important;
  cursor: pointer;
  list-style: none;
  font-size: clamp(22px, 2.5vw, 33px) !important;
  line-height: 1.05 !important;
  font-weight: 770 !important;
  letter-spacing: -.038em !important;
}

.ebi-people-accordion > summary::-webkit-details-marker {
  display: none;
}

.ebi-people-accordion > summary::marker {
  content: "";
}

.ebi-people-accordion__icon {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.ebi-people-accordion__icon::before,
.ebi-people-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #000;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.ebi-people-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ebi-people-accordion[open]
.ebi-people-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.ebi-people-accordion__panel {
  padding: 3px 0 clamp(24px, 3vw, 36px);
}

.ebi-logo-marquee {
  width: 100%;
  overflow: hidden;
}

.ebi-logo-marquee__track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ebi-logo-marquee__group.ebi-people-grid {
  width: max-content !important;
  display: flex !important;
  grid-template-columns: none !important;
  flex: 0 0 auto;
  gap: 12px !important;
  padding-right: 12px;
}

.ebi-logo-marquee__group.ebi-people-grid
> .ebi-actor-tile {
  width: clamp(158px, 15vw, 190px) !important;
  min-width: clamp(158px, 15vw, 190px) !important;
  flex: 0 0 clamp(158px, 15vw, 190px) !important;
  aspect-ratio: 4 / 3 !important;
}

.ebi-people-accordion.is-marquee-ready[open]
.ebi-logo-marquee__track {
  animation:
    ebi-logo-marquee
    var(--ebi-marquee-duration, 34s)
    linear
    infinite;
}

.ebi-people-accordion:hover
.ebi-logo-marquee__track,
.ebi-people-accordion:focus-within
.ebi-logo-marquee__track {
  animation-play-state: paused !important;
}

@keyframes ebi-logo-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(
      calc(var(--ebi-marquee-shift, 1000px) * -1),
      0,
      0
    );
  }
}

@media (hover: hover) and (pointer: fine) {
  .ebi-people-accordion > summary:hover,
  .ebi-people-accordion > summary:focus-visible {
    color: var(--ebi-blue) !important;
  }

  .ebi-people-accordion > summary:hover
  .ebi-people-accordion__icon::before,
  .ebi-people-accordion > summary:hover
  .ebi-people-accordion__icon::after,
  .ebi-people-accordion > summary:focus-visible
  .ebi-people-accordion__icon::before,
  .ebi-people-accordion > summary:focus-visible
  .ebi-people-accordion__icon::after {
    background: var(--ebi-blue);
  }
}

@media (max-width: 700px) {
  .ebi-value-intro-static {
    width: calc(100% - 24px);
    min-height: 0;
    align-items: flex-start;
    margin-bottom: 32px;
    padding: 27px 12px 42px;
  }

  .ebi-value-intro-static .ebi-value-intro__copy {
    width: 100%;
  }

  .ebi-value-intro-static h2 {
    max-width: 8.5ch;
    font-size: clamp(39px, 12vw, 52px) !important;
  }

  .ebi-value-intro-static .ebi-value-intro__text {
    max-width: 31ch !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  .ebi-value-intro-static .ebi-value-intro__shape {
    right: -66px;
    bottom: -82px;
    font-size: 220px;
    opacity: .78;
  }

  .ebi-people-compact > header p {
    margin-top: 15px !important;
  }

  .ebi-people-accordion > summary {
    min-height: 68px;
    gap: 15px;
    padding: 16px 0;
    font-size: 22px !important;
  }

  .ebi-people-accordion__icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .ebi-logo-marquee__group.ebi-people-grid {
    gap: 9px !important;
    padding-right: 9px;
  }

  .ebi-logo-marquee__group.ebi-people-grid
  > .ebi-actor-tile {
    width: 148px !important;
    min-width: 148px !important;
    flex-basis: 148px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ebi-logo-marquee {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .ebi-logo-marquee__track {
    animation: none !important;
    transform: none !important;
  }

  .ebi-logo-marquee__group[data-ebi-logo-marquee-clone] {
    display: none !important;
  }
}


/* ============================================================
   EBI 1.11.15 – ruhigere News, reiner Statement-Slider und Logo-Grid
   ============================================================ */

/* Neuigkeiten: kleiner, schwarz-weißer Textbutton ohne plakative Farbe. */
.ebi-news-item__copy .ebi-news-item__button {
  min-height: 0 !important;
  margin-top: 9px !important;
  padding: 6px 10px !important;
  border: 0 !important;
  border-radius: 3px !important;
  outline: 0 !important;
  background: #f1f1f1 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 720 !important;
  letter-spacing: .025em !important;
  box-shadow: none !important;
}

.ebi-news-item__copy .ebi-news-item__button span {
  font-size: 12px !important;
}

@media (hover: hover) and (pointer: fine) {
  body.ebi-custom-header-enabled
  .ebi-news-item__copy
  .ebi-news-item__button:hover,
  body.ebi-custom-header-enabled
  .ebi-news-item__copy
  .ebi-news-item__button:focus-visible {
    background: #000 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}

/* Der Vereinsbereich beginnt direkt mit den vier Aussagen. */
.ebi-value-intro-static {
  display: none !important;
}

.ebi-values-shell {
  padding-top: clamp(58px, 6.5vw, 84px) !important;
}

.ebi-values-shell > .ebi-values-compact {
  margin-top: 0 !important;
}

/* Slidersteuerung ohne Kontur. */
.ebi-values-arrows button,
.ebi-values-arrows button:hover,
.ebi-values-arrows button:focus,
.ebi-values-arrows button:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.ebi-values-arrows button:first-child {
  background: #efefef !important;
}

.ebi-values-arrows button:last-child {
  background: var(--ebi-orange) !important;
}

/* Einheitlich kleinere Hauptüberschriften. */
.ebi-programm__head h2,
.ebi-exhibitions__head h2,
.ebi-news__head h2,
.ebi-people-compact > header h2 {
  font-size: clamp(42px, 4.65vw, 62px) !important;
  line-height: .94 !important;
  letter-spacing: -.055em !important;
}

/* Einleitungstexte folgen überall der Größe des Platzprogramms. */
.ebi-programm__intro,
.ebi-exhibitions__intro,
.ebi-news__head > p,
.ebi-people-compact > header p {
  max-width: 650px !important;
  font-size: clamp(17px, 1.5vw, 21px) !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

/* Aufklappbare Mitglieder- und Partnerbereiche als statisches Grid. */
.ebi-people-accordion__panel {
  padding-top: 10px !important;
}

.ebi-people-grid--progressive {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.ebi-people-grid--progressive > .ebi-actor-tile {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: initial !important;
  aspect-ratio: 4 / 3 !important;
}

.ebi-people-grid--progressive > .ebi-actor-tile[hidden] {
  display: none !important;
}

.ebi-logo-grid-sentinel {
  width: 100%;
  height: 1px;
  margin-top: 1px;
  pointer-events: none;
}

.ebi-logo-grid-sentinel[hidden] {
  display: none !important;
}

/* Alte Laufbandregeln dürfen das neue Grid nicht beeinflussen. */
.ebi-people-accordion[data-ebi-logo-grid]
.ebi-logo-marquee__track,
.ebi-people-accordion[data-ebi-logo-grid]
.ebi-logo-marquee__group {
  animation: none !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  .ebi-people-grid--progressive {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .ebi-programm__head h2,
  .ebi-exhibitions__head h2,
  .ebi-news__head h2,
  .ebi-people-compact > header h2 {
    font-size: clamp(34px, 9.7vw, 43px) !important;
    line-height: .95 !important;
  }

  .ebi-programm__intro,
  .ebi-exhibitions__intro,
  .ebi-news__head > p,
  .ebi-people-compact > header p {
    margin-top: 13px !important;
    font-size: 15px !important;
    line-height: 1.48 !important;
  }

  .ebi-values-shell {
    padding-top: 42px !important;
  }

  .ebi-news-item__copy .ebi-news-item__button {
    min-height: 0 !important;
    padding: 6px 9px !important;
    font-size: 10px !important;
  }

  .ebi-people-grid--progressive {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
}

/* Auch die Sliderpunkte bleiben ohne Kontur. */
.ebi-values-nav button,
.ebi-values-nav button:hover,
.ebi-values-nav button:focus,
.ebi-values-nav button:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: #d9d9d9 !important;
}

.ebi-values-nav button.is-active {
  background: #000 !important;
}

/* ============================================================
   EBI 1.11.16 – Arbeitsgruppen vor Mitgliedern und Partner*innen
   ============================================================ */

.ebi-working-groups {
  width: 100%;
  margin: clamp(36px, 4vw, 54px) 0 clamp(46px, 5vw, 68px);
}

.ebi-working-groups__head {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.ebi-people-compact .ebi-working-groups__head > h3 {
  max-width: 560px;
  margin: 0 !important;
  color: #000 !important;
  font-size: clamp(30px, 3vw, 43px) !important;
  line-height: .98 !important;
  font-weight: 780 !important;
  letter-spacing: -.045em !important;
  text-transform: none !important;
}

.ebi-working-groups__head > p {
  max-width: 650px;
  margin: 0 !important;
  color: #000 !important;
  font-size: clamp(16px, 1.35vw, 19px) !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

.ebi-working-groups__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ebi-working-group-card {
  --ebi-working-group-color: var(--ebi-orange);
  position: relative;
  min-width: 0;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 24px 24px 27px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: #f1f1f1 !important;
  box-shadow: inset 0 7px 0 var(--ebi-working-group-color) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  text-align: left;
  cursor: pointer;
  transition:
    background .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.ebi-working-group-card--2 {
  --ebi-working-group-color: var(--ebi-green);
}

.ebi-working-group-card--3 {
  --ebi-working-group-color: var(--ebi-blue);
}

.ebi-working-group-card.is-active {
  background: var(--ebi-working-group-color) !important;
  box-shadow: none !important;
}

.ebi-working-group-card__number {
  margin-bottom: auto;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .09em;
}

.ebi-working-group-card strong {
  max-width: 11ch;
  margin: 38px 0 12px;
  font-size: clamp(26px, 2.4vw, 36px) !important;
  line-height: .98 !important;
  font-weight: 790 !important;
  letter-spacing: -.045em !important;
}

.ebi-working-group-card__teaser {
  max-width: 32ch;
  padding-right: 34px;
  font-size: 14px;
  line-height: 1.43;
  font-weight: 500;
}

.ebi-working-group-card__arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 24px;
  line-height: 1;
  transition: transform .22s ease;
}

.ebi-working-group-card.is-active .ebi-working-group-card__arrow {
  transform: rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .ebi-working-group-card:not(.is-active):hover,
  .ebi-working-group-card:not(.is-active):focus-visible {
    background: #e7e7e7 !important;
    transform: translateY(-3px);
  }
}

.ebi-working-groups__panels {
  margin-top: 12px;
}

.ebi-working-group-panel {
  --ebi-working-group-color: var(--ebi-orange);
  min-height: 248px;
  padding: clamp(30px, 4vw, 52px);
  border: 0;
  border-top: 9px solid var(--ebi-working-group-color);
  outline: 0;
  background: #f4f4f4;
}

.ebi-working-group-panel--2 {
  --ebi-working-group-color: var(--ebi-green);
}

.ebi-working-group-panel--3 {
  --ebi-working-group-color: var(--ebi-blue);
}

.ebi-working-group-panel[hidden] {
  display: none !important;
}

.ebi-working-group-panel h4 {
  max-width: 760px;
  margin: 0 0 22px !important;
  color: #000 !important;
  font-size: clamp(30px, 3.2vw, 45px) !important;
  line-height: .98 !important;
  font-weight: 790 !important;
  letter-spacing: -.045em !important;
}

.ebi-working-group-panel__text {
  max-width: 940px;
  color: #000;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.57;
}

.ebi-working-group-panel__text p {
  margin: 0 !important;
}

.ebi-working-group-panel__text p + p {
  margin-top: 1em !important;
}

.ebi-working-groups + .ebi-people-accordions {
  margin-top: 0;
}

@media (max-width: 900px) {
  .ebi-working-groups__head {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .ebi-working-groups__tabs {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .ebi-working-group-card {
    min-height: 0;
    padding: 20px 20px 22px !important;
  }

  .ebi-working-group-card__number {
    margin-bottom: 28px;
  }

  .ebi-working-group-card strong {
    margin: 0 0 9px;
    max-width: none;
    font-size: 28px !important;
  }

  .ebi-working-group-card__teaser {
    max-width: 48ch;
  }
}

@media (max-width: 700px) {
  .ebi-working-groups {
    margin-top: 30px;
    margin-bottom: 44px;
  }

  .ebi-people-compact .ebi-working-groups__head > h3 {
    font-size: 30px !important;
  }

  .ebi-working-groups__head > p {
    font-size: 15px !important;
    line-height: 1.48 !important;
  }

  .ebi-working-group-card {
    padding: 18px 18px 20px !important;
  }

  .ebi-working-group-card__number {
    margin-bottom: 24px;
  }

  .ebi-working-group-card strong {
    padding-right: 30px;
    font-size: 26px !important;
  }

  .ebi-working-group-card__teaser {
    padding-right: 32px;
    font-size: 13px;
  }

  .ebi-working-group-card__arrow {
    right: 17px;
    bottom: 17px;
    font-size: 21px;
  }

  .ebi-working-groups__panels {
    margin-top: 9px;
  }

  .ebi-working-group-panel {
    min-height: 0;
    padding: 26px 20px 29px;
    border-top-width: 7px;
  }

  .ebi-working-group-panel h4 {
    margin-bottom: 16px !important;
    font-size: 29px !important;
  }

  .ebi-working-group-panel__text {
    font-size: 15px;
    line-height: 1.52;
  }
}

/* ============================================================
   EBI 1.11.17 – breitere Überschriften und Einleitungen ab News
   ============================================================ */

/*
 * Ab „Neuigkeiten“ dürfen Überschriften und Einleitungstexte die
 * verfügbare Inhaltsbreite deutlich besser nutzen: 80vw, gedeckelt
 * auf die reguläre 1080-px-Seitenbreite.
 */
.ebi-news__head h2,
.ebi-news__head > p,
.ebi-people-compact > header h2,
.ebi-people-compact > header p,
.ebi-people-compact .ebi-working-groups__head > h3,
.ebi-working-groups__head > p {
  width: min(1080px, 80vw) !important;
  max-width: min(1080px, 80vw) !important;
}

/* Überschrift und Text stehen ruhig untereinander statt in zwei Spalten. */
.ebi-working-groups__head {
  display: block !important;
  margin-bottom: clamp(22px, 3vw, 34px) !important;
}

.ebi-people-compact .ebi-working-groups__head > h3 {
  margin: 0 !important;
}

.ebi-working-groups__head > p {
  margin: 16px 0 0 !important;
}

/* Kein künstlicher Umbruch mehr in „Wer ist Teil vom EBI e.V.?“. */
.ebi-people-compact > header h2 {
  white-space: normal;
}

@media (min-width: 901px) {
  /* Auf Desktop passt „Unsere Arbeitsgruppen“ bewusst in eine Zeile. */
  .ebi-people-compact .ebi-working-groups__head > h3 {
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .ebi-news__head h2,
  .ebi-news__head > p,
  .ebi-people-compact > header h2,
  .ebi-people-compact > header p,
  .ebi-people-compact .ebi-working-groups__head > h3,
  .ebi-working-groups__head > p {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ebi-people-compact .ebi-working-groups__head > h3 {
    white-space: normal;
  }

  .ebi-working-groups__head > p {
    margin-top: 13px !important;
  }
}


/* ============================================================
   EBI 1.11.18 – Einzelmitglieder im Vereinsmitglieder-Toggle
   ============================================================ */

.ebi-people-accordion__summary-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.ebi-people-accordion__summary-copy strong {
  color: #000;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.ebi-people-accordion__summary-copy small {
  max-width: 760px;
  color: #000;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.35;
  font-weight: 430;
  letter-spacing: 0;
}

.ebi-members-individuals {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 1.7fr);
  gap: clamp(24px, 4vw, 68px);
  align-items: start;
  margin: 5px 0 clamp(30px, 4vw, 52px);
  padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px solid rgba(0, 0, 0, .24);
  border-bottom: 1px solid rgba(0, 0, 0, .24);
}

.ebi-members-individuals h4,
.ebi-members-organisations-title {
  margin: 0 !important;
  color: #000 !important;
  font-size: clamp(21px, 2vw, 29px) !important;
  line-height: 1.08 !important;
  font-weight: 760 !important;
  letter-spacing: -.035em !important;
}

.ebi-members-individuals p {
  max-width: 780px;
  margin: 0 !important;
  color: #000;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
}

.ebi-members-organisations-title {
  margin-bottom: 18px !important;
}

@media (max-width: 700px) {
  .ebi-people-accordion__summary-copy {
    gap: 5px;
  }

  .ebi-people-accordion__summary-copy small {
    max-width: calc(100vw - 92px);
    font-size: 13px;
    line-height: 1.35;
  }

  .ebi-members-individuals {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .ebi-members-individuals h4,
  .ebi-members-organisations-title {
    font-size: 22px !important;
  }

  .ebi-members-individuals p {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* 1.11.19 – Veranstaltungsidee und grafische Form im Platzprogramm */
.ebi-programm {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.ebi-programm::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: clamp(-190px, -9vw, -90px);
  top: 45%;
  width: clamp(260px, 28vw, 470px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background-image: radial-gradient(circle, #00a651 0 18%, transparent 19%);
  background-size: 31% 31%;
  background-position: center;
  opacity: 1;
  pointer-events: none;
}

.ebi-programm__head,
.ebi-programm__overview,
.ebi-programm__calendar {
  position: relative;
  z-index: 1;
}

.ebi-programm__idea {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  background: #000;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.ebi-programm__idea:hover,
.ebi-programm__idea:focus-visible {
  background: #252525;
  color: #fff !important;
}

.ebi-idea-page {
  width: min(1080px, 80vw);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 140px) 0;
  color: #000;
}

.ebi-idea-page__header,
.ebi-idea-page__process {
  max-width: 900px;
}

.ebi-idea-page__eyebrow {
  margin: 0 0 14px !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ebi-idea-page h1 {
  margin: 0 0 24px !important;
  font-size: clamp(48px, 7vw, 92px) !important;
  line-height: .95 !important;
  letter-spacing: -.04em;
}

.ebi-idea-page__intro,
.ebi-idea-page__process p {
  margin: 0 !important;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
}

.ebi-idea-page__process {
  margin: 70px 0 44px;
}

.ebi-idea-page__process h2 {
  margin: 0 0 18px !important;
  font-size: clamp(30px, 3vw, 46px) !important;
  line-height: 1.05 !important;
}

.ebi-idea-page__open-note,
.ebi-idea-page__legal-note {
  margin-top: 22px !important;
  padding-left: 18px;
  border-left: 5px solid #ff6a2a;
  font-weight: 650;
}

.ebi-idea-message {
  margin-top: 34px;
  padding: 18px 20px;
  font-weight: 700;
}

.ebi-idea-message--success { background: #c7ff3b; }
.ebi-idea-message--error { background: #ffb1cb; }

.ebi-idea-form {
  display: grid;
  gap: 34px;
}

.ebi-idea-form fieldset {
  margin: 0;
  padding: 28px;
  border: 2px solid #000;
}

.ebi-idea-form legend {
  padding: 0 10px;
  font-size: clamp(23px, 2vw, 32px);
  font-weight: 800;
}

.ebi-idea-form label {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 750;
}

.ebi-idea-form label:last-child { margin-bottom: 0; }

.ebi-idea-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

.ebi-idea-form input,
.ebi-idea-form textarea,
.ebi-idea-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1.5px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
}

.ebi-idea-form textarea { min-height: 120px; resize: vertical; }

.ebi-idea-form__checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 500 !important;
}

.ebi-idea-form__checkbox input {
  width: 20px;
  min-height: 20px;
  margin-top: 1px;
}

.ebi-idea-form__submit {
  justify-self: start;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.ebi-idea-form__trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .ebi-programm__idea { order: 4; }
  .ebi-programm::before {
    left: -120px;
    top: 42%;
    width: 320px;
  }
}

@media (max-width: 700px) {
  .ebi-programm::before {
    left: -95px;
    top: 34%;
    width: 230px;
    opacity: .9;
  }

  .ebi-idea-page {
    width: calc(100% - 40px);
    padding: 60px 0 80px;
  }

  .ebi-idea-page__process { margin-top: 50px; }
  .ebi-idea-form fieldset { padding: 22px 18px; }
  .ebi-idea-form__grid { grid-template-columns: 1fr; gap: 0; }
}


/* 1.11.22 – Veranstaltungsidee im bestehenden EBI-System */

/* Die Punktform liegt hinter dem Highlight, bleibt aber klar im Hintergrund. */
.ebi-programm::before {
  content: none !important;
}

.ebi-programm__overview {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.ebi-programm__overview::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: calc((100vw - 100%) / -2 - clamp(70px, 6vw, 130px));
  top: 51%;
  width: clamp(560px, 52vw, 820px);
  aspect-ratio: 1.22 / 1;
  transform: translateY(-50%) rotate(-12deg);
  transform-origin: center;
  background-image: radial-gradient(circle, #00a651 0 19%, transparent 20%);
  background-size: 25% 33.333%;
  background-position: center;
  pointer-events: none;
}

.ebi-programm-featured,
.ebi-programm__list {
  position: relative;
  z-index: 1;
}

/* Ruhiger Abschluss der Programmsection, ohne neue Hover-Farbe. */
.ebi-programm__idea-block {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: clamp(38px, 4.6vw, 62px);
  padding-top: clamp(24px, 2.7vw, 34px);
  border-top: 1px solid rgba(0, 0, 0, .28);
  background: #fff;
  color: #000;
}

.ebi-programm__idea-block p {
  max-width: 720px;
  margin: 0 0 15px !important;
  color: inherit;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.45;
}

.ebi-programm__idea {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px 11px;
  border: 0 !important;
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 14px;
  font-weight: 780;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: none !important;
}

.ebi-programm__idea span {
  display: inline-block;
  transition: transform .18s ease;
}

.ebi-programm__idea:hover,
.ebi-programm__idea:focus-visible {
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.ebi-programm__idea:hover span,
.ebi-programm__idea:focus-visible span {
  transform: translateX(4px);
}

.ebi-programm__idea:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

/* Die automatisch angelegte WordPress-Seite wird wirklich vollbreit. */
body.ebi-event-idea-page #main-content > .container {
  width: 100% !important;
  max-width: none !important;
  padding-top: 0 !important;
}

body.ebi-event-idea-page #main-content > .container::before,
body.ebi-event-idea-page #sidebar,
body.ebi-event-idea-page .et_post_meta_wrapper,
body.ebi-event-idea-page article > h1.entry-title,
body.ebi-event-idea-page .entry-content > h1:first-child {
  display: none !important;
}

body.ebi-event-idea-page #left-area {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
}

body.ebi-event-idea-page #main-content,
body.ebi-event-idea-page .et_pb_post,
body.ebi-event-idea-page .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

.ebi-idea-page,
.ebi-idea-page * {
  box-sizing: border-box;
}

.ebi-idea-page {
  width: min(1080px, 80vw);
  margin: 0 auto;
  padding: clamp(76px, 8vw, 124px) 0 clamp(96px, 10vw, 150px);
  color: #000;
}

.ebi-idea-page__hero {
  max-width: 950px;
  margin-bottom: clamp(54px, 6vw, 82px);
}

.ebi-idea-page__eyebrow {
  margin: 0 0 15px !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ebi-idea-page h1 {
  max-width: 900px;
  margin: 0 0 24px !important;
  font-size: clamp(50px, 6vw, 78px) !important;
  line-height: .94 !important;
  letter-spacing: -.055em !important;
}

.ebi-idea-page__intro {
  max-width: 820px;
  margin: 0 !important;
  font-size: clamp(17px, 1.5vw, 21px) !important;
  line-height: 1.5 !important;
}

.ebi-idea-page__open-note {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  max-width: 780px;
  margin-top: 32px;
  padding-top: 24px;
  padding-left: 0;
  border-top: 2px solid #000;
  border-left: 0;
}


.ebi-idea-page__open-note > span {
  font-size: 29px;
  line-height: 1;
}

.ebi-idea-page__open-note p {
  margin: 0 !important;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.ebi-idea-message {
  margin: 0 0 42px;
  padding: 18px 20px;
  border: 2px solid #000;
  font-weight: 750;
}

.ebi-idea-message--success { background: #fff; }
.ebi-idea-message--error { background: #fff; }

.ebi-idea-page__process {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 5vw, 76px);
  margin-bottom: clamp(72px, 8vw, 112px);
  padding: clamp(30px, 3.6vw, 48px);
  background: #000;
  color: #fff;
}

.ebi-idea-page__process h2,
.ebi-idea-form-shell__header h2 {
  margin: 0 !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
}

.ebi-idea-page__process h2 {
  color: #fff !important;
}

.ebi-idea-page__process-copy > p {
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.6;
}

.ebi-idea-page__legal-note {
  margin-top: 24px !important;
  padding-top: 20px;
  padding-left: 0;
  border-top: 1px solid rgba(255, 255, 255, .45);
  border-left: 0;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.ebi-idea-form-shell {
  width: min(860px, 100%);
  margin: 0 auto;
}

.ebi-idea-form-shell__header {
  margin-bottom: 34px;
}

.ebi-idea-form-shell__header h2 {
  max-width: 760px;
  margin-bottom: 18px !important;
}

.ebi-idea-form-shell__header p {
  max-width: 700px;
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.55;
}

.ebi-idea-form {
  display: grid;
  gap: 0;
}

.ebi-idea-form fieldset,
.ebi-idea-form__section {
  min-width: 0;
  margin: 0;
  padding: 30px 0 34px;
  border: 0;
  border-top: 2px solid #000;
}

.ebi-idea-form legend {
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  font-size: clamp(24px, 2.45vw, 32px);
  font-weight: 800;
  line-height: 1.1;
}

.ebi-idea-form legend span,
.ebi-idea-form__optional-number {
  display: inline-block;
  width: 38px;
  margin-right: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  vertical-align: .45em;
}

.ebi-idea-form label {
  display: grid;
  gap: 8px;
  margin: 0 0 21px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.ebi-idea-form label:last-child {
  margin-bottom: 0;
}

.ebi-idea-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

.ebi-idea-form input,
.ebi-idea-form textarea,
.ebi-idea-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1.5px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 500;
  box-shadow: none;
}

.ebi-idea-form textarea {
  min-height: 128px;
  resize: vertical;
}

.ebi-idea-form input:focus,
.ebi-idea-form textarea:focus,
.ebi-idea-form select:focus {
  outline: 3px solid #000;
  outline-offset: 2px;
}

.ebi-idea-form__checkbox {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 500 !important;
}

.ebi-idea-form__checkbox input {
  flex: 0 0 20px;
  width: 20px;
  min-height: 20px;
  margin-top: 1px;
  padding: 0;
  border: 1.5px solid #000;
  background: #fff;
}

.ebi-idea-form__optional {
  border-top: 2px solid #000;
}

.ebi-idea-form__optional summary {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 30px;
  align-items: center;
  min-height: 86px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.ebi-idea-form__optional summary::-webkit-details-marker {
  display: none;
}

.ebi-idea-form__optional summary::after {
  content: "+";
  justify-self: end;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.ebi-idea-form__optional[open] summary::after {
  content: "−";
}

.ebi-idea-form__optional-title {
  font-size: clamp(22px, 2.35vw, 31px);
  font-weight: 800;
  line-height: 1.08;
}

.ebi-idea-form__optional summary small {
  margin-right: 17px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.ebi-idea-form__optional-panel {
  padding: 2px 0 34px 48px;
}

.ebi-idea-form__optional-group + .ebi-idea-form__optional-group {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid rgba(0, 0, 0, .24);
}

.ebi-idea-form__optional-group h3 {
  margin: 0 0 24px !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
}

.ebi-idea-form__finish {
  display: grid;
  gap: 24px;
  padding-top: 30px;
  border-top: 2px solid #000;
}

.ebi-idea-form__privacy {
  max-width: 700px;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.ebi-idea-form__submit {
  justify-self: start;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 13px 19px;
  border: 0 !important;
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none !important;
}

.ebi-idea-form__submit span {
  display: inline-block;
  transition: transform .18s ease;
}

.ebi-idea-form__submit:hover,
.ebi-idea-form__submit:focus-visible {
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.ebi-idea-form__submit:hover span,
.ebi-idea-form__submit:focus-visible span {
  transform: translateX(4px);
}

.ebi-idea-form__submit:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}

.ebi-idea-form__trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .ebi-programm__overview::before {
    left: calc((100vw - 100%) / -2 - 70px);
    top: 43%;
    width: 620px;
  }

  .ebi-idea-page__process {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 700px) {
  .ebi-programm__overview::before {
    left: calc((100vw - 100%) / -2 - 90px);
    top: 25%;
    width: 420px;
    opacity: .9;
  }

  .ebi-programm__idea-block {
    margin-top: 32px;
    padding-top: 23px;
  }

  .ebi-programm__idea-block p {
    font-size: 15px;
  }

  .ebi-idea-page {
    width: calc(100% - 40px);
    padding: 58px 0 92px;
  }

  .ebi-idea-page__hero {
    margin-bottom: 48px;
  }

  .ebi-idea-page h1 {
    font-size: clamp(42px, 12vw, 58px) !important;
  }

  .ebi-idea-page__intro {
    font-size: 16px !important;
  }

  .ebi-idea-page__open-note {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    margin-top: 26px;
    padding-top: 20px;
  }

  .ebi-idea-page__process {
    margin-bottom: 64px;
    padding: 28px 22px;
  }

  .ebi-idea-form__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ebi-idea-form fieldset,
  .ebi-idea-form__section {
    padding: 27px 0 31px;
  }

  .ebi-idea-form__optional summary {
    grid-template-columns: 40px minmax(0, 1fr) 26px;
    min-height: 76px;
  }

  .ebi-idea-form__optional summary small {
    display: none;
  }

  .ebi-idea-form__optional-number {
    width: 32px;
    margin-right: 8px;
  }

  .ebi-idea-form__optional-panel {
    padding-left: 0;
  }
}

/* ============================================================
   EBI 1.12.0 – lokale Inhalte, ruhigere News und Ideenseite
   ============================================================ */

/* Platzprogramm: Punktmuster entfernen, große blaue Zackenform links unten. */
.ebi-programm__overview::before {
  content: none !important;
}

.ebi-programm__overview::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: calc((100vw - 100%) / -2 - clamp(92px, 8vw, 160px));
  bottom: clamp(-155px, -9vw, -88px);
  width: clamp(330px, 31vw, 500px);
  aspect-ratio: 1;
  background: var(--ebi-blue);
  clip-path: polygon(
    50% 0%, 59% 26%, 77% 7%, 73% 35%, 100% 25%,
    78% 44%, 99% 59%, 70% 57%, 83% 88%, 59% 69%,
    50% 100%, 42% 69%, 17% 91%, 30% 59%, 0 67%,
    23% 47%, 1% 30%, 31% 36%, 21% 6%, 43% 28%
  );
  transform: rotate(-13deg);
  pointer-events: none;
}

.ebi-programm-featured,
.ebi-programm__list,
.ebi-programm__idea-block {
  position: relative;
  z-index: 1;
}

/* CTA: unabhängig von Divi immer weißer Text auf Schwarz. */
.ebi-programm__idea,
.ebi-programm__idea:link,
.ebi-programm__idea:visited,
.ebi-programm__idea:hover,
.ebi-programm__idea:active,
.ebi-programm__idea:focus-visible {
  background-color: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none !important;
}

.ebi-programm__idea span,
.ebi-programm__idea:hover span,
.ebi-programm__idea:focus-visible span {
  background: transparent !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* News: links Datum, Titel und Link; rechts der Textauszug. */
@media (min-width: 701px) {
  .ebi-news-item {
    height: 158px !important;
    min-height: 158px !important;
    max-height: 158px !important;
    grid-template-columns: 195px minmax(0, 1fr) !important;
  }

  .ebi-news-item__image {
    width: 195px !important;
    height: 158px !important;
    min-height: 158px !important;
  }

  .ebi-news-item__copy {
    display: grid !important;
    grid-template-columns: minmax(210px, .8fr) minmax(260px, 1.2fr) !important;
    grid-template-rows: auto auto 1fr !important;
    align-content: center !important;
    column-gap: clamp(25px, 3.2vw, 52px) !important;
    padding: 17px clamp(20px, 2.4vw, 34px) !important;
  }

  .ebi-news-item__copy .ebi-news__date {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .ebi-news-item__copy h3 {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: start !important;
  }

  .ebi-news-item__copy .ebi-news-item__button {
    grid-column: 1 !important;
    grid-row: 3 !important;
    align-self: start !important;
    justify-self: start !important;
  }

  .ebi-news-item__excerpt {
    grid-column: 2 !important;
    grid-row: 1 / 4 !important;
    align-self: center !important;
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: #000 !important;
    font-size: clamp(14px, 1.15vw, 17px) !important;
    line-height: 1.48 !important;
  }
}

@media (max-width: 700px) {
  .ebi-programm__overview::after {
    left: calc((100vw - 100%) / -2 - 112px);
    bottom: -95px;
    width: 290px;
  }

  .ebi-news-item__excerpt {
    display: -webkit-box !important;
    margin: 14px 0 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    font-size: 14px !important;
    line-height: 1.48 !important;
  }
}

/* ------------------------------------------------------------
   Veranstaltungsidee: gleiche Typografie, CI-Farben und klare Abfolge
   ------------------------------------------------------------ */
.ebi-idea-page,
.ebi-idea-page * {
  box-sizing: border-box;
}

.ebi-idea-page {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 0 clamp(100px, 10vw, 150px) !important;
  overflow: hidden;
  background: #fff;
  color: #000;
}

.ebi-idea-page__hero {
  position: relative;
  width: min(1080px, 80vw);
  max-width: none;
  min-height: clamp(500px, 58vw, 690px);
  margin: 0 auto !important;
  padding: clamp(92px, 10vw, 150px) 0 clamp(72px, 8vw, 112px);
  display: flex;
  align-items: center;
  overflow: visible;
}

.ebi-idea-page__header {
  position: relative;
  z-index: 2;
  width: min(780px, 73%);
}

.ebi-idea-page__hero-shape {
  position: absolute;
  z-index: 0;
  right: clamp(-250px, -16vw, -120px);
  top: 50%;
  width: clamp(390px, 43vw, 620px);
  aspect-ratio: 1;
  background: var(--ebi-blue);
  clip-path: polygon(
    50% 0%, 59% 26%, 77% 7%, 73% 35%, 100% 25%,
    78% 44%, 99% 59%, 70% 57%, 83% 88%, 59% 69%,
    50% 100%, 42% 69%, 17% 91%, 30% 59%, 0 67%,
    23% 47%, 1% 30%, 31% 36%, 21% 6%, 43% 28%
  );
  transform: translateY(-50%) rotate(9deg);
  pointer-events: none;
}

.ebi-idea-page__eyebrow,
.ebi-idea-form-shell__eyebrow {
  margin: 0 0 15px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}

.ebi-idea-page h1 {
  max-width: 800px !important;
  margin: 0 0 28px !important;
  color: #000 !important;
  font-size: clamp(54px, 6.8vw, 92px) !important;
  line-height: .92 !important;
  letter-spacing: -.06em !important;
}

.ebi-idea-page__intro {
  max-width: 720px !important;
  margin: 0 !important;
  color: #000 !important;
  font-size: clamp(18px, 1.5vw, 21px) !important;
  line-height: 1.5 !important;
}

.ebi-idea-message,
.ebi-idea-page__orientation,
.ebi-idea-form-shell {
  width: min(1080px, 80vw);
  margin-left: auto;
  margin-right: auto;
}

.ebi-idea-message {
  margin-bottom: 42px;
  padding: 20px 24px;
  border: 2px solid #000;
  background: var(--ebi-green) !important;
  color: #000;
  font-weight: 780;
}

.ebi-idea-message--error {
  background: var(--ebi-coral) !important;
}

.ebi-idea-page__orientation {
  display: block !important;
  margin-bottom: clamp(86px, 9vw, 130px);
}

.ebi-idea-page__open-note {
  position: relative;
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 20px !important;
  width: 100%;
  max-width: none !important;
  margin: 0 0 clamp(68px, 7vw, 96px) !important;
  padding: clamp(30px, 3.4vw, 46px) !important;
  border: 0 !important;
  background: var(--ebi-coral);
  color: #000;
}

.ebi-idea-page__note-shape {
  font-size: clamp(42px, 5vw, 70px) !important;
  line-height: .9 !important;
}

.ebi-idea-page__open-note h2 {
  margin: 0 0 10px !important;
  color: #000 !important;
  font-size: clamp(29px, 3.2vw, 44px) !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
}

.ebi-idea-page__open-note p {
  max-width: 760px;
  margin: 0 !important;
  color: #000 !important;
  font-size: clamp(16px, 1.35vw, 19px) !important;
  font-weight: 520 !important;
  line-height: 1.52 !important;
}

.ebi-idea-page__process {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #000 !important;
}

.ebi-idea-page__process > h2 {
  max-width: 760px;
  margin: 0 0 clamp(28px, 3vw, 42px) !important;
  color: #000 !important;
  font-size: clamp(42px, 4.7vw, 64px) !important;
  line-height: .94 !important;
  letter-spacing: -.055em !important;
}

.ebi-idea-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ebi-idea-step {
  min-height: 265px;
  padding: clamp(24px, 2.6vw, 34px);
  color: #000;
}

.ebi-idea-step--1 { background: var(--ebi-green); }
.ebi-idea-step--2 { background: var(--ebi-orange); }
.ebi-idea-step--3 { background: var(--ebi-blue); }

.ebi-idea-step > span {
  display: block;
  margin-bottom: clamp(30px, 4vw, 55px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ebi-idea-step h3 {
  margin: 0 0 13px !important;
  color: #000 !important;
  font-size: clamp(24px, 2.3vw, 33px) !important;
  line-height: 1 !important;
  letter-spacing: -.04em !important;
}

.ebi-idea-step p {
  margin: 0 !important;
  color: #000 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.ebi-idea-page__legal-note {
  max-width: 820px;
  margin: 26px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #000 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.ebi-idea-form-shell {
  border: 2px solid #000;
  background: #fff;
}

.ebi-idea-form-shell__header {
  position: relative;
  min-height: 300px;
  margin: 0 !important;
  padding: clamp(36px, 4.4vw, 60px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ebi-blue);
  color: #000;
}

.ebi-idea-form-shell__header > div {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.ebi-idea-form-shell__shape {
  position: absolute;
  z-index: 0;
  right: clamp(-105px, -6vw, -45px);
  top: clamp(-100px, -6vw, -40px);
  width: clamp(220px, 26vw, 360px);
  aspect-ratio: 1;
  background: var(--ebi-orange);
  clip-path: polygon(
    50% 0%, 59% 26%, 77% 7%, 73% 35%, 100% 25%,
    78% 44%, 99% 59%, 70% 57%, 83% 88%, 59% 69%,
    50% 100%, 42% 69%, 17% 91%, 30% 59%, 0 67%,
    23% 47%, 1% 30%, 31% 36%, 21% 6%, 43% 28%
  );
  transform: rotate(15deg);
}

.ebi-idea-form-shell__header h2 {
  max-width: 700px !important;
  margin: 0 0 16px !important;
  color: #000 !important;
  font-size: clamp(39px, 4.8vw, 65px) !important;
  line-height: .94 !important;
  letter-spacing: -.055em !important;
}

.ebi-idea-form-shell__header p:last-child {
  max-width: 680px;
  margin: 0 !important;
  color: #000 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.ebi-idea-form {
  padding: 0 clamp(28px, 4.5vw, 60px) clamp(40px, 5vw, 66px);
  background: #fff;
}

.ebi-idea-form fieldset,
.ebi-idea-form__section {
  padding: clamp(34px, 4vw, 52px) 0 !important;
  border-top: 2px solid #000 !important;
}

.ebi-idea-form__section--contact {
  border-top: 0 !important;
}

.ebi-idea-form legend,
.ebi-idea-form__optional-title {
  color: #000 !important;
}

.ebi-idea-form legend span,
.ebi-idea-form__optional-number {
  color: var(--ebi-coral) !important;
}

.ebi-idea-form input:focus,
.ebi-idea-form textarea:focus,
.ebi-idea-form select:focus {
  outline: 3px solid var(--ebi-blue) !important;
  outline-offset: 2px;
}

.ebi-idea-form__optional {
  border-top: 2px solid #000 !important;
  background: var(--ebi-paper);
}

.ebi-idea-form__optional summary {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.ebi-idea-form__optional-panel {
  padding-right: 20px !important;
  padding-bottom: 38px !important;
}

.ebi-idea-form__finish {
  margin-top: 0;
  padding-top: clamp(34px, 4vw, 50px) !important;
}

.ebi-idea-form__submit,
.ebi-idea-form__submit:hover,
.ebi-idea-form__submit:focus-visible,
.ebi-idea-form__submit *,
.ebi-idea-form__submit:hover * {
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

@media (max-width: 980px) {
  .ebi-idea-page__hero {
    min-height: 570px;
  }

  .ebi-idea-page__header {
    width: 82%;
  }

  .ebi-idea-steps {
    grid-template-columns: 1fr;
  }

  .ebi-idea-step {
    min-height: 0;
  }

  .ebi-idea-step > span {
    margin-bottom: 28px;
  }
}

@media (max-width: 700px) {
  .ebi-idea-message,
  .ebi-idea-page__hero,
  .ebi-idea-page__orientation,
  .ebi-idea-form-shell {
    width: calc(100% - 40px) !important;
  }

  .ebi-idea-page__hero {
    min-height: 540px;
    padding: 84px 0 68px !important;
  }

  .ebi-idea-page__header {
    width: 100%;
  }

  .ebi-idea-page__hero-shape {
    right: -175px;
    top: 60%;
    width: 370px;
    opacity: .92;
  }

  .ebi-idea-page h1 {
    font-size: clamp(46px, 14vw, 64px) !important;
  }

  .ebi-idea-page__intro {
    font-size: 16px !important;
  }

  .ebi-idea-page__open-note {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 27px 22px !important;
  }

  .ebi-idea-page__open-note h2 {
    font-size: 30px !important;
  }

  .ebi-idea-page__process > h2 {
    font-size: 43px !important;
  }

  .ebi-idea-step {
    padding: 25px 22px;
  }

  .ebi-idea-form-shell__header {
    min-height: 270px;
    padding: 30px 22px;
  }

  .ebi-idea-form-shell__shape {
    right: -85px;
    top: -75px;
    width: 230px;
  }

  .ebi-idea-form-shell__header h2 {
    font-size: 41px !important;
  }

  .ebi-idea-form {
    padding: 0 20px 38px;
  }

  .ebi-idea-form__optional summary {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .ebi-idea-form__optional-panel {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ============================================================
   EBI 1.12.1 – CI-Korrektur Platzprogramm + Veranstaltungsidee
   Verwendet ausschließlich die gelieferten EBI-Formen.
   ============================================================ */

/* Platzprogramm: echte grüne Zackenform, links unten angeschnitten. */
.ebi-programm__overview {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
}

.ebi-programm__overview::before {
  content: none !important;
}

.ebi-programm__overview::after {
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  left: calc((100vw - 100%) / -2 - clamp(145px, 10vw, 230px)) !important;
  bottom: clamp(-250px, -15vw, -160px) !important;
  width: clamp(330px, 32vw, 520px) !important;
  height: auto !important;
  aspect-ratio: 509 / 774 !important;
  background: url("ebi-shape-zigzag-green.png") center / contain no-repeat !important;
  clip-path: none !important;
  transform: rotate(-13deg) !important;
  transform-origin: center !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.ebi-programm-featured,
.ebi-programm__list,
.ebi-programm__idea-block {
  position: relative !important;
  z-index: 1 !important;
}

/* CTA sicher lesbar – auch gegen Divi-Buttonregeln. */
body .ebi-programm__idea,
body .ebi-programm__idea:link,
body .ebi-programm__idea:visited,
body .ebi-programm__idea:hover,
body .ebi-programm__idea:active,
body .ebi-programm__idea:focus-visible,
body .ebi-programm__idea *,
body .ebi-programm__idea:hover *,
body .ebi-programm__idea:focus-visible * {
  background-color: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

body .ebi-programm__idea::before,
body .ebi-programm__idea::after {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Veranstaltungsidee: ruhig, linear und im gleichen CI-Rhythmus. */
body.ebi-event-idea-page #main-content,
body.ebi-event-idea-page #main-content > .container,
body.ebi-event-idea-page #left-area,
body.ebi-event-idea-page article,
body.ebi-event-idea-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.ebi-event-idea-page #main-content > .container::before,
body.ebi-event-idea-page #sidebar,
body.ebi-event-idea-page .et_post_meta_wrapper,
body.ebi-event-idea-page article > h1.entry-title,
body.ebi-event-idea-page .entry-content > h1:first-child {
  display: none !important;
}

.ebi-idea-page {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 calc(50% - 50vw) !important;
  padding: 0 0 clamp(96px, 9vw, 145px) !important;
  overflow: hidden !important;
  background: #fff !important;
  color: #000 !important;
}

/* Hero wie die großen Einstiege der Startseite: Text + echte CI-Form. */
.ebi-idea-page__hero {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: min(1080px, 80vw) !important;
  max-width: none !important;
  min-height: clamp(500px, 54vw, 660px) !important;
  margin: 0 auto !important;
  padding: clamp(80px, 8vw, 126px) 0 clamp(68px, 7vw, 100px) !important;
  overflow: visible !important;
}

.ebi-idea-page__header {
  position: relative !important;
  z-index: 2 !important;
  width: min(760px, 73%) !important;
}

.ebi-idea-page__hero-shape {
  position: absolute !important;
  z-index: 0 !important;
  right: clamp(-235px, -15vw, -115px) !important;
  top: 52% !important;
  width: clamp(360px, 39vw, 560px) !important;
  height: auto !important;
  aspect-ratio: 509 / 774 !important;
  background: url("ebi-shape-zigzag-green.png") center / contain no-repeat !important;
  clip-path: none !important;
  transform: translateY(-50%) rotate(12deg) !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.ebi-idea-page__eyebrow,
.ebi-idea-form-shell__eyebrow {
  margin: 0 0 14px !important;
  color: #000 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.ebi-idea-page h1 {
  max-width: 760px !important;
  margin: 0 0 25px !important;
  color: #000 !important;
  font-size: clamp(52px, 6.1vw, 84px) !important;
  font-weight: 800 !important;
  line-height: .94 !important;
  letter-spacing: -.055em !important;
}

.ebi-idea-page__intro {
  max-width: 690px !important;
  margin: 0 !important;
  color: #000 !important;
  font-size: clamp(18px, 1.45vw, 21px) !important;
  line-height: 1.5 !important;
}

.ebi-idea-message,
.ebi-idea-page__orientation,
.ebi-idea-form-shell {
  width: min(1080px, 80vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ebi-idea-message {
  margin-bottom: 34px !important;
  padding: 18px 22px !important;
  border: 2px solid #000 !important;
  background: var(--ebi-green) !important;
  color: #000 !important;
  font-weight: 750 !important;
}

.ebi-idea-message--error {
  background: var(--ebi-coral) !important;
}

.ebi-idea-page__orientation {
  display: block !important;
  margin-bottom: clamp(78px, 8vw, 116px) !important;
}

/* Niedrigschwelliger Hinweis als einzelne farbige Fläche, nicht als extra Karte. */
.ebi-idea-page__open-note {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 clamp(58px, 6vw, 82px) !important;
  padding: clamp(28px, 3vw, 40px) !important;
  border: 0 !important;
  background: var(--ebi-coral) !important;
  color: #000 !important;
}

.ebi-idea-page__note-shape {
  display: block !important;
  width: 70px !important;
  height: 70px !important;
  overflow: hidden !important;
  background: url("ebi-shape-star-coral.png") center / contain no-repeat !important;
  filter: brightness(0) !important;
  color: transparent !important;
  font-size: 0 !important;
}

.ebi-idea-page__open-note h2 {
  margin: 0 0 8px !important;
  color: #000 !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1 !important;
  letter-spacing: -.04em !important;
}

.ebi-idea-page__open-note p {
  max-width: 760px !important;
  margin: 0 !important;
  color: #000 !important;
  font-size: clamp(16px, 1.3vw, 19px) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

/* Ablauf als klare Liste statt drei konkurrierender Kacheln. */
.ebi-idea-page__process {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #000 !important;
}

.ebi-idea-page__process > h2 {
  max-width: 760px !important;
  margin: 0 0 28px !important;
  color: #000 !important;
  font-size: clamp(40px, 4.4vw, 60px) !important;
  line-height: .95 !important;
  letter-spacing: -.05em !important;
}

.ebi-idea-steps {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  border-top: 2px solid #000 !important;
}

.ebi-idea-step,
.ebi-idea-step--1,
.ebi-idea-step--2,
.ebi-idea-step--3 {
  display: grid !important;
  grid-template-columns: 72px minmax(190px, .65fr) minmax(0, 1.35fr) !important;
  align-items: center !important;
  gap: clamp(18px, 2.8vw, 42px) !important;
  min-height: 0 !important;
  padding: clamp(22px, 2.4vw, 30px) 0 !important;
  border-bottom: 1px solid #000 !important;
  background: #fff !important;
  color: #000 !important;
}

.ebi-idea-step > span {
  display: inline-flex !important;
  width: 52px !important;
  height: 52px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 50% !important;
  color: #000 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
}

.ebi-idea-step--1 > span { background: var(--ebi-green) !important; }
.ebi-idea-step--2 > span { background: var(--ebi-orange) !important; }
.ebi-idea-step--3 > span { background: var(--ebi-blue) !important; }

.ebi-idea-step h3 {
  margin: 0 !important;
  color: #000 !important;
  font-size: clamp(23px, 2.2vw, 31px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em !important;
}

.ebi-idea-step p {
  margin: 0 !important;
  color: #000 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.ebi-idea-page__legal-note {
  max-width: 820px !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #000 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Formular: ein großer farbiger Kopf, danach klare weiße Eingabefläche. */
.ebi-idea-form-shell {
  overflow: hidden !important;
  border: 2px solid #000 !important;
  background: #fff !important;
}

.ebi-idea-form-shell__header {
  position: relative !important;
  display: flex !important;
  min-height: 270px !important;
  align-items: flex-end !important;
  margin: 0 !important;
  padding: clamp(34px, 4vw, 54px) !important;
  overflow: hidden !important;
  background: var(--ebi-blue) !important;
  color: #000 !important;
}

.ebi-idea-form-shell__header > div {
  position: relative !important;
  z-index: 2 !important;
  max-width: 720px !important;
}

.ebi-idea-form-shell__shape {
  position: absolute !important;
  z-index: 0 !important;
  right: clamp(-105px, -6vw, -42px) !important;
  top: clamp(-118px, -7vw, -55px) !important;
  width: clamp(235px, 26vw, 360px) !important;
  height: auto !important;
  aspect-ratio: 509 / 774 !important;
  background: url("ebi-shape-e-orange.png") center / contain no-repeat !important;
  clip-path: none !important;
  transform: rotate(8deg) !important;
  pointer-events: none !important;
}

.ebi-idea-form-shell__header h2 {
  max-width: 700px !important;
  margin: 0 0 14px !important;
  color: #000 !important;
  font-size: clamp(38px, 4.4vw, 60px) !important;
  line-height: .95 !important;
  letter-spacing: -.05em !important;
}

.ebi-idea-form-shell__header p:last-child {
  max-width: 680px !important;
  margin: 0 !important;
  color: #000 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.ebi-idea-form {
  padding: 0 clamp(26px, 4.2vw, 58px) clamp(38px, 4.8vw, 62px) !important;
  background: #fff !important;
}

.ebi-idea-form fieldset,
.ebi-idea-form__section {
  padding: clamp(32px, 3.8vw, 48px) 0 !important;
  border: 0 !important;
  border-top: 2px solid #000 !important;
  background: #fff !important;
}

.ebi-idea-form__section--contact {
  border-top: 0 !important;
}

.ebi-idea-form legend,
.ebi-idea-form__optional-title,
.ebi-idea-form label,
.ebi-idea-form input,
.ebi-idea-form textarea,
.ebi-idea-form select {
  color: #000 !important;
}

.ebi-idea-form legend span,
.ebi-idea-form__optional-number {
  color: var(--ebi-coral) !important;
}

.ebi-idea-form input,
.ebi-idea-form textarea,
.ebi-idea-form select {
  background: #fff !important;
  border: 1.5px solid #000 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ebi-idea-form input:focus,
.ebi-idea-form textarea:focus,
.ebi-idea-form select:focus {
  outline: 3px solid var(--ebi-blue) !important;
  outline-offset: 2px !important;
}

.ebi-idea-form__optional {
  border-top: 2px solid #000 !important;
  background: var(--ebi-paper) !important;
}

.ebi-idea-form__optional summary {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.ebi-idea-form__optional-panel {
  padding-right: 20px !important;
  padding-bottom: 36px !important;
}

body .ebi-idea-form__submit,
body .ebi-idea-form__submit:hover,
body .ebi-idea-form__submit:focus-visible,
body .ebi-idea-form__submit *,
body .ebi-idea-form__submit:hover * {
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}

@media (max-width: 980px) {
  .ebi-programm__overview::after {
    left: calc((100vw - 100%) / -2 - 150px) !important;
    bottom: -210px !important;
    width: 430px !important;
  }

  .ebi-idea-page__header {
    width: 80% !important;
  }

  .ebi-idea-step,
  .ebi-idea-step--1,
  .ebi-idea-step--2,
  .ebi-idea-step--3 {
    grid-template-columns: 64px minmax(170px, .7fr) minmax(0, 1.3fr) !important;
  }
}

@media (max-width: 700px) {
  .ebi-programm__overview::after {
    left: calc((100vw - 100%) / -2 - 108px) !important;
    bottom: -132px !important;
    width: 285px !important;
  }

  .ebi-idea-message,
  .ebi-idea-page__hero,
  .ebi-idea-page__orientation,
  .ebi-idea-form-shell {
    width: calc(100% - 40px) !important;
  }

  .ebi-idea-page__hero {
    min-height: 500px !important;
    padding: 72px 0 58px !important;
  }

  .ebi-idea-page__header {
    width: 100% !important;
  }

  .ebi-idea-page__hero-shape {
    right: -188px !important;
    top: 63% !important;
    width: 350px !important;
    opacity: .9 !important;
  }

  .ebi-idea-page h1 {
    max-width: 92% !important;
    font-size: clamp(42px, 12vw, 58px) !important;
  }

  .ebi-idea-page__intro {
    max-width: 88% !important;
    font-size: 16px !important;
  }

  .ebi-idea-page__open-note {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 24px 20px !important;
  }

  .ebi-idea-page__note-shape {
    width: 50px !important;
    height: 50px !important;
  }

  .ebi-idea-step,
  .ebi-idea-step--1,
  .ebi-idea-step--2,
  .ebi-idea-step--3 {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 12px 16px !important;
    padding: 21px 0 !important;
  }

  .ebi-idea-step > span {
    grid-row: 1 / 3 !important;
    width: 44px !important;
    height: 44px !important;
  }

  .ebi-idea-step h3 {
    grid-column: 2 !important;
    font-size: 23px !important;
  }

  .ebi-idea-step p {
    grid-column: 2 !important;
    font-size: 15px !important;
  }

  .ebi-idea-form-shell__header {
    min-height: 250px !important;
    padding: 30px 24px !important;
  }

  .ebi-idea-form-shell__shape {
    right: -80px !important;
    top: -90px !important;
    width: 230px !important;
  }

  .ebi-idea-form {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* v1.12.2 – einfache, ruhige Veranstaltungsidee-Unterseite */
body.ebi-event-idea-page #main-content,
body.ebi-event-idea-page #main-content > .container,
body.ebi-event-idea-page #left-area,
body.ebi-event-idea-page article,
body.ebi-event-idea-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ebi-idea-page--simple {
  --ebi-blue: #86a6d6;
  --ebi-coral: #ef7377;
  --ebi-green: #70ba68;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 110px;
  color: #000;
  background: #fff;
}

.ebi-idea-page__simple-header {
  max-width: 850px;
  margin-bottom: 52px;
  position: relative;
  padding-left: 28px;
}

.ebi-idea-page__simple-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 2px;
  width: 8px;
  background: var(--ebi-green);
}

.ebi-idea-page--simple .ebi-idea-page__eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ebi-idea-page--simple h1 {
  margin: 0 0 22px;
  max-width: 850px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .96;
  letter-spacing: -.04em;
}

.ebi-idea-page--simple .ebi-idea-page__intro {
  max-width: 760px;
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.42;
}

.ebi-idea-page--simple .ebi-idea-message {
  margin: 0 0 32px;
  padding: 18px 22px;
  border: 0;
  font-weight: 700;
}

.ebi-idea-page--simple .ebi-idea-message--success { background: #d9efd6; }
.ebi-idea-page--simple .ebi-idea-message--error { background: #f7d2d4; }

.ebi-idea-form-shell--simple {
  background: #f5f5f3;
  border: 0;
  margin: 0;
  overflow: hidden;
}

.ebi-idea-form-shell__simple-header {
  padding: 38px 44px 34px;
  background: var(--ebi-blue);
  position: relative;
}

.ebi-idea-form-shell__simple-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  height: 8px;
  background: var(--ebi-coral);
}

.ebi-idea-form-shell__simple-header h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.035em;
}

.ebi-idea-form-shell__simple-header p {
  max-width: 700px;
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
}

.ebi-idea-form--simple {
  padding: 42px 44px 48px;
  background: #f5f5f3;
}

.ebi-idea-form--simple .ebi-idea-form__simple-section,
.ebi-idea-form--simple .ebi-idea-form__optional {
  margin: 0 0 38px;
  padding: 0 0 36px;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,.22);
  background: transparent;
}

.ebi-idea-form--simple .ebi-idea-form__simple-section h3,
.ebi-idea-form--simple .ebi-idea-form__optional-group h3 {
  margin: 0 0 24px;
  font-size: 25px;
  line-height: 1.1;
}

.ebi-idea-form--simple .ebi-idea-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.ebi-idea-form--simple label {
  display: block;
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}

.ebi-idea-form--simple input,
.ebi-idea-form--simple textarea,
.ebi-idea-form--simple select {
  width: 100%;
  margin-top: 9px;
  padding: 14px 15px;
  border: 0;
  border-bottom: 2px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 400;
  box-shadow: none;
}

.ebi-idea-form--simple input:focus,
.ebi-idea-form--simple textarea:focus,
.ebi-idea-form--simple select:focus {
  outline: 3px solid rgba(112,186,104,.35);
  outline-offset: 1px;
  border-bottom-color: #000;
}

.ebi-idea-form--simple textarea {
  min-height: 140px;
  resize: vertical;
}

.ebi-idea-form--simple .ebi-idea-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 500;
}

.ebi-idea-form--simple .ebi-idea-form__checkbox input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  padding: 0;
  border: 1px solid #000;
  outline: 0;
  flex: 0 0 auto;
}

.ebi-idea-form__optional--simple summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  cursor: pointer;
  list-style: none;
  color: #000;
}

.ebi-idea-form__optional--simple summary::-webkit-details-marker { display: none; }

.ebi-idea-form__optional--simple summary::after {
  content: "+";
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
}

.ebi-idea-form__optional--simple[open] summary::after { content: "–"; }

.ebi-idea-form__optional--simple .ebi-idea-form__optional-title {
  font-size: 25px;
  line-height: 1.1;
  font-weight: 800;
}

.ebi-idea-form__optional--simple summary small {
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  opacity: .65;
}

.ebi-idea-form__optional--simple .ebi-idea-form__optional-panel {
  padding: 32px 0 0;
}

.ebi-idea-form--simple .ebi-idea-page__legal-note {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 0;
  background: #e3ecf8;
  font-size: 14px;
  line-height: 1.5;
}

.ebi-idea-form--simple .ebi-idea-form__finish {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 0;
}

.ebi-idea-form--simple .ebi-idea-form__privacy {
  max-width: 650px;
  margin: 0;
  font-size: 14px;
}

.ebi-idea-form--simple .ebi-idea-form__submit,
.ebi-idea-form--simple .ebi-idea-form__submit:hover,
.ebi-idea-form--simple .ebi-idea-form__submit:focus-visible {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 15px 24px;
  border: 0 !important;
  border-radius: 999px;
  background: #000 !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none !important;
}

@media (max-width: 780px) {
  .ebi-idea-page--simple {
    width: min(100% - 28px, 1080px);
    padding: 54px 0 72px;
  }
  .ebi-idea-page__simple-header {
    padding-left: 20px;
    margin-bottom: 34px;
  }
  .ebi-idea-page__simple-header::before { width: 6px; }
  .ebi-idea-page--simple h1 { font-size: clamp(42px, 13vw, 62px); }
  .ebi-idea-page--simple .ebi-idea-page__intro { font-size: 19px; }
  .ebi-idea-form-shell__simple-header { padding: 28px 22px 26px; }
  .ebi-idea-form--simple { padding: 30px 22px 36px; }
  .ebi-idea-form--simple .ebi-idea-form__grid { grid-template-columns: 1fr; gap: 0; }
  .ebi-idea-form--simple .ebi-idea-form__finish { display: block; }
  .ebi-idea-form--simple .ebi-idea-form__submit { margin-top: 24px; }
  .ebi-idea-form__optional--simple summary { flex-wrap: wrap; }
  .ebi-idea-form__optional--simple summary small { order: 3; width: 100%; margin: 4px 0 0; }
}

/* v1.12.3 – Veranstaltungsidee noch schlichter */
.ebi-idea-page--simple {
  width: min(80vw, 1080px);
}

.ebi-idea-page__simple-header {
  max-width: none;
  width: 100%;
  padding-left: 0;
  margin-bottom: 44px;
}

.ebi-idea-page__simple-header::before {
  display: none;
}

.ebi-idea-form-shell--simple,
.ebi-idea-form--simple {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ebi-idea-form-shell__simple-header {
  padding: 0 0 28px;
  background: transparent;
}

.ebi-idea-form-shell__simple-header::after {
  display: none;
}

.ebi-idea-form-shell__simple-header h2 {
  font-size: clamp(30px, 3vw, 44px);
  margin-bottom: 10px;
}

.ebi-idea-form-shell__simple-header p {
  font-size: 18px;
}

.ebi-idea-form--simple {
  padding: 0 0 48px;
}

.ebi-idea-form--simple .ebi-idea-form__simple-section,
.ebi-idea-form--simple .ebi-idea-form__optional {
  padding-bottom: 30px;
  margin-bottom: 32px;
}

.ebi-idea-form--simple input,
.ebi-idea-form--simple textarea,
.ebi-idea-form--simple select {
  background: #f3f3f1;
  border: 0;
  padding: 15px 16px;
}

.ebi-idea-form--simple input:focus,
.ebi-idea-form--simple textarea:focus,
.ebi-idea-form--simple select:focus {
  outline: 2px solid #86a6d6;
  outline-offset: 0;
}

@media (max-width: 780px) {
  .ebi-idea-page--simple {
    width: calc(100% - 32px);
  }
  .ebi-idea-page__simple-header {
    padding-left: 0;
  }
  .ebi-idea-form-shell__simple-header {
    padding: 0 0 24px;
  }
  .ebi-idea-form--simple {
    padding: 0 0 36px;
  }
}


/* v1.12.4 – Veranstaltungsidee: sauberer, reduzierter Seitenaufbau */
body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple {
  width: 80% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  padding: 72px 0 88px !important;
}

body.ebi-event-idea-page .ebi-idea-page__simple-header {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 0 52px !important;
  padding: 0 !important;
}

body.ebi-event-idea-page .ebi-idea-page__eyebrow {
  margin: 0 0 18px !important;
}

body.ebi-event-idea-page .ebi-idea-page--simple h1 {
  max-width: 820px !important;
  margin: 0 0 24px !important;
}

body.ebi-event-idea-page .ebi-idea-page--simple .ebi-idea-page__intro {
  max-width: 760px !important;
  margin: 0 !important;
}

body.ebi-event-idea-page .ebi-idea-form-shell.ebi-idea-form-shell--simple {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ebi-event-idea-page .ebi-idea-form-shell__simple-header {
  margin: 0 0 30px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.ebi-event-idea-page .ebi-idea-form-shell__simple-header h2 {
  margin: 0 0 8px !important;
  font-size: clamp(30px, 3vw, 42px) !important;
}

body.ebi-event-idea-page .ebi-idea-form-shell__simple-header p {
  max-width: 720px !important;
  margin: 0 !important;
}

body.ebi-event-idea-page .ebi-idea-form.ebi-idea-form--simple {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ebi-event-idea-page .ebi-idea-form--simple .ebi-idea-form__simple-section,
body.ebi-event-idea-page .ebi-idea-form--simple .ebi-idea-form__optional {
  margin: 0 0 38px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
}

body.ebi-event-idea-page .ebi-idea-form--simple .ebi-idea-form__simple-section h3,
body.ebi-event-idea-page .ebi-idea-form--simple .ebi-idea-form__optional-group h3 {
  margin: 0 0 22px !important;
  font-size: 22px !important;
}

body.ebi-event-idea-page .ebi-idea-form--simple input,
body.ebi-event-idea-page .ebi-idea-form--simple textarea,
body.ebi-event-idea-page .ebi-idea-form--simple select {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: #f2f2ef !important;
  box-shadow: none !important;
}

body.ebi-event-idea-page .ebi-idea-form--simple input:focus,
body.ebi-event-idea-page .ebi-idea-form--simple textarea:focus,
body.ebi-event-idea-page .ebi-idea-form--simple select:focus {
  outline: 2px solid #86a6d6 !important;
  outline-offset: 0 !important;
}

body.ebi-event-idea-page .ebi-idea-form__optional--simple summary {
  padding: 20px 0 !important;
  border-top: 1px solid rgba(0,0,0,.2) !important;
  border-bottom: 1px solid rgba(0,0,0,.2) !important;
  background: transparent !important;
}

body.ebi-event-idea-page .ebi-idea-form--simple .ebi-idea-page__legal-note {
  max-width: 760px !important;
  margin: 0 0 28px !important;
  padding: 16px 18px !important;
  border: 0 !important;
  background: #e7eef8 !important;
}

body.ebi-event-idea-page .ebi-idea-form--simple .ebi-idea-form__finish {
  padding: 0 !important;
  border: 0 !important;
}

@media (max-width: 780px) {
  body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple {
    width: calc(100% - 32px) !important;
    padding: 48px 0 64px !important;
  }
  body.ebi-event-idea-page .ebi-idea-page__simple-header {
    margin-bottom: 38px !important;
  }
}

/* ============================================================
   EBI 1.12.6 – kleine UI-Korrekturen und dezente CI-Akzente
   ============================================================ */

/* Arbeitsgruppen ohne Nummerierung. */
.ebi-working-group-card__number {
  display: none !important;
}

.ebi-working-group-card strong {
  margin-top: auto !important;
}

/* Sliderpfeile: auf dunklem Hover immer klar lesbar. */
.ebi-values-arrows button:not(:disabled):hover,
.ebi-values-arrows button:not(:disabled):focus,
.ebi-values-arrows button:not(:disabled):focus-visible {
  background: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #000 !important;
}

.ebi-values-arrows button:not(:disabled):hover *,
.ebi-values-arrows button:not(:disabled):focus *,
.ebi-values-arrows button:not(:disabled):focus-visible * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Veranstaltungsidee: nur zwei große, zurückhaltende Original-CI-Formen. */
body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::before,
body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::before {
  width: clamp(210px, 25vw, 390px);
  aspect-ratio: 509 / 772;
  top: 64px;
  right: clamp(-190px, -12vw, -85px);
  background-image: url('ebi-shape-zigzag-green.png');
  opacity: .16;
  transform: rotate(9deg);
}

body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::after {
  width: clamp(190px, 22vw, 330px);
  aspect-ratio: 509 / 772;
  left: clamp(-170px, -11vw, -70px);
  bottom: 120px;
  background-image: url('ebi-shape-star-coral.png');
  opacity: .12;
  transform: rotate(-13deg);
}

body.ebi-event-idea-page .ebi-idea-page__simple-header,
body.ebi-event-idea-page .ebi-idea-form-shell {
  position: relative;
  z-index: 1;
}

@media (max-width: 780px) {
  body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::before {
    width: 190px;
    top: 42px;
    right: -115px;
    opacity: .12;
  }

  body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::after {
    width: 165px;
    left: -105px;
    bottom: 180px;
    opacity: .09;
  }
}

/* v1.12.8 – Veranstaltungsidee: kräftigere CI-Flächen, weiterhin ruhig und gut lesbar. */
body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple {
  overflow: hidden;
  padding-bottom: clamp(80px, 9vw, 150px);
}

body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::before {
  width: clamp(360px, 34vw, 610px);
  top: clamp(170px, 18vw, 280px);
  right: auto;
  left: clamp(-360px, -20vw, -205px);
  background-image: url('ebi-shape-zigzag-green.png');
  opacity: .96;
  transform: rotate(-8deg);
}

body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::after {
  width: clamp(260px, 27vw, 470px);
  left: auto;
  right: clamp(-235px, -13vw, -120px);
  top: clamp(500px, 48vw, 720px);
  bottom: auto;
  background-image: url('ebi-shape-star-orange.png');
  opacity: .82;
  transform: rotate(10deg);
}

body.ebi-event-idea-page .ebi-idea-page__simple-header,
body.ebi-event-idea-page .ebi-idea-form-shell {
  position: relative;
  z-index: 2;
}

body.ebi-event-idea-page .ebi-idea-form-shell {
  background: rgba(255,255,255,.95);
}

@media (max-width: 780px) {
  body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::before {
    width: 270px;
    top: 300px;
    left: -185px;
    opacity: .9;
  }

  body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::after {
    width: 220px;
    top: 720px;
    right: -145px;
    opacity: .72;
  }
}

/* v1.12.9 – Veranstaltungsidee: CI-Formen als echte Section-Hintergründe. */
body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple {
  overflow: visible !important;
  isolation: isolate;
}

body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::before {
  width: clamp(390px, 31vw, 560px) !important;
  top: clamp(260px, 25vw, 430px) !important;
  left: calc(50% - 50vw - 125px) !important;
  right: auto !important;
  opacity: .9 !important;
  transform: rotate(-7deg) !important;
  z-index: 0 !important;
}

body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::after {
  width: clamp(300px, 25vw, 450px) !important;
  top: clamp(650px, 55vw, 900px) !important;
  right: calc(50% - 50vw - 100px) !important;
  left: auto !important;
  opacity: .82 !important;
  transform: rotate(9deg) !important;
  z-index: 0 !important;
}

body.ebi-event-idea-page .ebi-idea-page__simple-header,
body.ebi-event-idea-page .ebi-idea-form-shell {
  position: relative;
  z-index: 2;
}

body.ebi-event-idea-page .ebi-idea-form-shell {
  background: transparent !important;
}

body.ebi-event-idea-page .ebi-idea-form-shell__simple-header h2 {
  max-width: 920px;
  margin: 0 0 18px !important;
  color: #000 !important;
  font-size: clamp(44px, 4.6vw, 72px) !important;
  line-height: .98 !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
}

body.ebi-event-idea-page .ebi-idea-form-shell__simple-header p {
  max-width: 780px;
  font-size: clamp(19px, 1.45vw, 24px) !important;
  line-height: 1.42 !important;
}

body.ebi-event-idea-page .ebi-idea-form--simple .ebi-idea-form__simple-section h3,
body.ebi-event-idea-page .ebi-idea-form--simple .ebi-idea-form__optional-group h3 {
  color: #000 !important;
  font-weight: 700 !important;
  letter-spacing: -.02em !important;
}

@media (max-width: 780px) {
  body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::before {
    width: 250px !important;
    top: 390px !important;
    left: calc(50% - 50vw - 155px) !important;
    opacity: .72 !important;
  }
  body.ebi-event-idea-page .ebi-idea-page.ebi-idea-page--simple::after {
    width: 210px !important;
    top: 900px !important;
    right: calc(50% - 50vw - 135px) !important;
    opacity: .62 !important;
  }
  body.ebi-event-idea-page .ebi-idea-form-shell__simple-header h2 {
    font-size: clamp(38px, 12vw, 54px) !important;
  }
}
