/* =====================================================================
   UP! MESSE HEIDENHEIM 2026 / REDESIGN 02
   Brand direction: event-red, white, warm paper, typographic editorial.
   Contains only overrides: existing project CSS remains untouched.
   To remove the design, remove the test.css link in <head>.
   ===================================================================== */
:root {
  --up-red: #d90827;
  --up-red-dark: #af0020;
  --up-ink: #20191b;
  --up-muted: #655e60;
  --up-paper: #f8f5f2;
  --up-blush: #fceff0;
  --up-border: #eadfdf;
  --up-white: #fff;
  --up-container: 1600px;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
*, *::before, *::after { box-sizing: border-box; }
body.body-startseite {
  margin: 0;
  background: #fff;
  color: var(--up-ink);
  font: 400 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.body-startseite p { color: inherit; line-height: inherit; }
body.body-startseite h1, body.body-startseite h2, body.body-startseite h3,
body.body-startseite h4, body.body-startseite h5 {
  font-family: inherit; letter-spacing: -.035em; text-transform: none;
}
body.body-startseite img { max-width: 100%; }
/* Legacy loader relies on outdated JS and can leave stray text above the masthead. */
body.body-startseite .loader-block { display: none !important; }
body.body-startseite a, body.body-startseite button, body.body-startseite input {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.body-startseite :is(a,button,input,textarea):focus-visible {
  outline: 3px solid #f2a0aa; outline-offset: 3px;
}
body.body-startseite #wrapper .container, body.body-startseite #footer .container {
  width: calc(100% - 64px) !important; max-width: var(--up-container) !important;
  margin-left: auto !important; margin-right: auto !important;
}
#wrapper.homepage {
  display: block !important; width: 100% !important; height: auto !important;
  clear: both !important; float: none !important; position: relative !important;
  margin: 0 !important; padding: 0 !important; top: auto !important;
  overflow: clip; background: #fff;
}
/* Do not let legacy Bootstrap fixed-header spacing push the first section down. */
body.body-startseite #wrapper.homepage > .up-campaign { margin-top: 0 !important; }
#wrapper.homepage > section { padding: 95px 0 105px; position: relative; }
#wrapper.homepage > section[id] { scroll-margin-top: 0; }
#wrapper .heading.pb-50 { padding-bottom: 29px !important; margin: 0; }
#wrapper .heading h2 {
  display: block; max-width: 850px; margin: 0; padding: 0;
  color: var(--up-ink) !important; font-weight: 850;
  font-size: clamp(30px, 4.1vw, 53px); line-height: 1.08; letter-spacing: -.058em;
}
#wrapper .heading h2::before {
  content: ""; display: block; width: 36px; height: 5px;
  margin-bottom: 22px; background: var(--up-red);
}
#wrapper .pb-50:not(.heading) { padding-bottom: 25px !important; }
.up-skip-link {
  position: absolute; z-index: 9999; left: 12px; top: -90px;
  background: #fff; color: var(--up-red); font-weight: 750; padding: 12px 16px;
}
.up-skip-link:focus { top: 12px; }

/* HEADER: independent of the site's old Bootstrap and .header styles. */
#up-site-header {
  position: sticky !important; z-index: 1100 !important;
  display: block !important; width: 100% !important; height: auto !important;
  min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  top: 0 !important; left: auto !important; right: auto !important;
  background: #fff !important; border-bottom: 1px solid #e9dfe0;
  box-shadow: 0 4px 18px rgba(31,20,22,.06);
}
#up-site-header .up-header-line { display: block; height: 5px; background: var(--up-red); }
.up-site-container {
  display: block; position: relative; width: calc(100% - 64px) !important;
  max-width: var(--up-container) !important; margin-left: auto !important; margin-right: auto !important;
  padding-left: 0 !important; padding-right: 0 !important;
  float: none !important; clear: none !important;
}
#up-site-header .up-header-main {
  display: flex !important; flex-flow: row nowrap !important;
  align-items: center; justify-content: space-between;
  min-height: 93px; height: auto !important; gap: 27px;
}
#up-site-header .up-brand {
  display: inline-flex !important; flex: 0 0 auto; align-items: center; gap: 13px;
  margin: 0 !important; text-decoration: none !important; color: var(--up-ink);
}
#up-site-header .up-brand-logo {
  position: relative; display: block; flex: 0 0 61px; width: 61px; height: 61px;
  overflow: hidden; background: var(--up-red); color: #fff;
}
#up-site-header .up-brand-logo img {
  position: absolute; inset: 0; z-index: 1; display: block;
  width: 100% !important; height: 100% !important;
  object-fit: contain; background: var(--up-red);
}
#up-site-header .up-brand-logo-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; padding: 0 5px 0 7px; color: #fff;
}
#up-site-header .up-brand-logo-fallback b { font-size: 34px; font-weight: 950; line-height: .9; letter-spacing: -.1em; }
#up-site-header .up-brand-logo-fallback small { margin: 1px 0 0 2px; font-size: 15px; font-weight: 850; line-height: 1; }
#up-site-header .up-brand-name {
  display: block; font-size: 11px; line-height: 1.3; letter-spacing: .075em;
  font-weight: 850; white-space: nowrap;
}
#up-site-header .up-brand-name small { display: block; margin-top: 5px; color: var(--up-red); font-size: 9px; letter-spacing: .18em; font-weight: 850; }
#up-site-header .up-primary-nav {
  display: block !important; flex: 1 1 auto; width: auto !important; height: auto !important;
  margin: 0 !important; padding: 0 !important; position: static !important;
  border: 0 !important; background: none !important; box-shadow: none !important;
}
#up-site-header .up-primary-nav ul {
  display: flex !important; flex-flow: row wrap !important;
  align-items: center; justify-content: flex-end; gap: 2px;
  margin: 0 !important; padding: 0 !important; list-style: none !important;
}
#up-site-header .up-primary-nav li {
  display: block !important; float: none !important; margin: 0 !important;
  padding: 0 !important; list-style: none !important;
}
#up-site-header .up-primary-nav a {
  display: block !important; margin: 0 !important; padding: 11px 10px !important;
  background: transparent !important; color: #281d20 !important;
  border: 0 !important; border-bottom: 2px solid transparent !important;
  text-decoration: none !important; text-transform: none !important;
  font-size: 13px !important; font-weight: 800 !important; line-height: 1.4 !important;
}
#up-site-header .up-primary-nav a:hover,
#up-site-header .up-primary-nav a:focus-visible { color: var(--up-red) !important; border-bottom-color: var(--up-red) !important; }
#up-site-header .up-header-date {
  display: inline-flex !important; flex: 0 0 auto; align-items: center; gap: 10px;
  min-height: 57px; margin: 0 !important; padding: 11px 14px;
  background: var(--up-red) !important; color: #fff !important;
  text-decoration: none !important;
}
#up-site-header .up-header-date:hover { background: var(--up-red-dark) !important; }
#up-site-header .up-header-date strong { display: block; color: #fff; font-size: 24px; font-weight: 950; line-height: 1; letter-spacing: -.07em; }
#up-site-header .up-header-date > span { display: block; border-left: 1px solid rgba(255,255,255,.5); padding-left: 9px; font-size: 14px; font-weight: 900; line-height: 1; }
#up-site-header .up-header-date small { display: block; margin-top: 5px; font-size: 9px; line-height: 1.2; font-weight: 750; }
#up-site-header .up-menu-toggle { display: none; }

/* HERO: bright red, a typographic campaign poster, no outdated 2023 photo. */
#wrapper .up-campaign {
  position: relative !important; display: block !important;
  isolation: isolate; width: 100% !important; min-height: 640px;
  overflow: hidden !important; float: none !important; clear: both !important;
  margin: 0 !important; padding: 0 !important; top: auto !important; left: auto !important;
  background: var(--up-red) !important; color: #fff;
}
#wrapper .up-campaign::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: repeating-linear-gradient(-53deg,transparent 0,transparent 52px,rgba(92,0,10,.13) 52px,rgba(92,0,10,.13) 53px);
}
#wrapper .up-campaign::after {
  content: ""; position: absolute; z-index: -1;
  width: 600px; height: 800px; right: -360px; top: -350px;
  border: 110px solid rgba(255,255,255,.055); transform: rotate(-20deg);
}
#wrapper .up-hero-decoration {
  position: absolute; z-index: -1; bottom: -118px; right: 9%; pointer-events: none;
  color: rgba(255,255,255,.075); font-size: clamp(250px,30vw,510px);
  line-height: .8; letter-spacing: -.15em; font-weight: 1000;
}
#wrapper .up-campaign .up-hero-layout {
  position: relative !important; display: grid !important;
  grid-template-columns: minmax(0, 1fr) 296px !important;
  align-items: center; column-gap: 55px; min-height: 640px;
  padding: 76px 0 93px !important;
}
#wrapper .up-campaign-copy {
  position: static !important; grid-column: 1 !important;
  inset: auto !important; float: none !important; clear: none !important;
  transform: none !important; opacity: 1 !important; visibility: visible !important;
  display: block !important; width: 100% !important; min-width: 0;
  max-width: none !important; margin: 0 !important; padding: 0 !important;
  color: #fff !important; text-align: left !important;
}
#wrapper .up-hero-eyebrow {
  margin: 0 0 28px; color: #fff; font-size: 12px;
  font-weight: 850; line-height: 1.3; letter-spacing: .19em;
}
#wrapper .up-hero-eyebrow::before { content: ""; display: inline-block; margin: 0 12px 2px 0; width: 23px; height: 3px; background: #fff; vertical-align: middle; }
#wrapper .up-campaign h1 {
  margin: 0 0 27px; padding: 0; color: #fff !important;
  font-size: clamp(50px, 5.3vw, 79px); font-weight: 950;
  line-height: .98; letter-spacing: -.073em;
  text-transform: none; text-shadow: none;
}
#wrapper .up-campaign h1 .up-title-lead { display: block; margin-bottom: 10px; font-size: 1.29em; letter-spacing: -.1em; }
#wrapper .up-campaign h1 .up-title-main { display: block; }
#wrapper .up-campaign h1 .up-title-city {
  display: block; margin-top: 22px; font-size: .255em;
  font-weight: 850; letter-spacing: .055em; text-transform: uppercase;
}
#wrapper .up-hero-description { max-width: 570px; margin: 0 0 5px; color: #fff; font-size: 17px; line-height: 1.5; }
#wrapper .up-hero-welcome { max-width: 570px; margin: 0; color: #fff; font-size: 17px; font-weight: 800; line-height: 1.5; }
#wrapper .up-hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
#wrapper .up-btn {
  display: inline-flex; min-height: 51px; padding: 12px 18px; align-items: center; gap: 24px;
  justify-content: space-between; border: 1px solid #fff; border-radius: 0;
  font-size: 13px; line-height: 1.3; font-weight: 820; text-decoration: none !important;
}
#wrapper .up-btn span { font-size: 22px; line-height: .9; }
#wrapper .up-btn-light { background: #fff; color: var(--up-red) !important; }
#wrapper .up-btn-light:hover { background: var(--up-ink); border-color: var(--up-ink); color: #fff !important; }
#wrapper .up-btn-outline { background: transparent; color: #fff !important; }
#wrapper .up-btn-outline:hover { background: #fff; color: var(--up-red) !important; }
#wrapper .up-hero-poster {
  position: relative; grid-column: 2 !important; justify-self: end; width: 295px; padding: 28px 26px 29px;
  color: #fff; border: 1px solid rgba(255,255,255,.8); background: rgba(123,0,21,.11);
  box-shadow: 13px 13px 0 rgba(120,0,18,.22);
}
#wrapper .up-poster-kicker { font-size: 13px; line-height: 1; letter-spacing: .3em; font-weight: 850; }
#wrapper .up-poster-date { margin: 9px 0 -5px; font-size: 150px; line-height: 1; font-weight: 950; letter-spacing: -.125em; }
#wrapper .up-poster-date span { color: #fff; }
#wrapper .up-poster-month { display: flex; justify-content: space-between; align-items: flex-end; font-size: 60px; line-height: 1; letter-spacing: -.075em; font-weight: 920; }
#wrapper .up-poster-month span { font-size: 36px; letter-spacing: -.055em; }
#wrapper .up-poster-separator { height: 1px; margin: 28px 0 21px; background: rgba(255,255,255,.6); }
#wrapper .up-hero-poster p { margin: 0 0 25px; font-size: 16px; font-weight: 700; line-height: 1.6; }
#wrapper .up-hero-poster p strong { font-weight: 900; }
#wrapper .up-poster-location { display: block; font-size: 10px; line-height: 1.5; font-weight: 780; letter-spacing: .065em; }
#wrapper .up-hero-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; gap: 20px;
  padding: 11px max(calc((100vw - var(--up-container))/2),25px);
  border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85);
  font-size: 10px; font-weight: 800; line-height: 1.5; letter-spacing: .16em;
}

/* INFO */
#wrapper #informationen { background: var(--up-paper); }
#informationen > .container > .row > .col-md-12 > p {
  max-width: 930px; margin: 0; color: #423b3d; font-size: 17px; line-height: 1.78;
}
#informationen .up-facts-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: 24px !important; row-gap: 24px !important;
  align-items: stretch; width: 100%; margin: 21px 0 0;
}
#informationen .up-facts-grid > .up-fact-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  width: 100% !important; max-width: none !important;
  padding: 25px 23px 27px; margin: 0 !important;
  float: none !important; gap: 13px; height: 100%;
  background: #fff; border: 1px solid var(--up-border); border-top: 4px solid var(--up-red);
  border-radius: 0; box-shadow: 0 7px 24px rgba(45,18,23,.025);
}
#informationen .up-facts-grid > .up-fact-card > i {
  display: grid; place-items: center; flex: 0 0 37px;
  width: 37px; height: 37px; margin: 0; padding: 0;
  background: var(--up-blush); color: var(--up-red); font-size: 19px; line-height: 1;
  border-radius: 0;
}
#informationen .up-facts-grid .up-fact-copy { width: 100%; min-width: 0; }
#informationen .up-facts-grid h5 {
  margin: 0 0 8px !important; padding: 0 !important; color: #73696d;
  font-size: 11px; font-weight: 850; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase;
}
#informationen .up-facts-grid p { margin: 0; color: var(--up-ink); font-size: 16px; font-weight: 800; line-height: 1.4; }

/* SMALL SOCIAL SECTION */
#wrapper #broschueren { padding: 58px 0 62px; background: #fff; border-bottom: 1px solid #f0e4e4; }
#broschueren .row > .col-md-6 { width: 100%; }
#broschueren .heading.pb-50 { padding-bottom: 12px !important; }
#broschueren .heading h2 { font-size: clamp(26px,2.8vw,34px); }
#broschueren .heading h2::before { height: 4px; margin-bottom: 12px; }
#broschueren p { max-width: 800px; color: var(--up-muted); font-size: 16px; }
#broschueren a.insta-link {
  display: inline-flex; min-height: 50px; align-items: center; gap: 11px;
  padding: 12px 19px; background: var(--up-red); color: #fff !important;
  font-size: 14px; font-weight: 800; border: 1px solid var(--up-red); border-radius: 0;
  text-decoration: none !important; box-shadow: none;
}
#broschueren a.insta-link:hover { background: var(--up-red-dark); border-color: var(--up-red-dark); transform: translateY(-2px); }
#broschueren a.insta-link .fa { color: #fff !important; margin: 0; font-size: 19px; }

/* VORTRÄGE – cohesive timetable, not rounded SaaS cards. */
#wrapper #vortraege { background: var(--up-blush); }
#vortraege .vortraege-box { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: stretch; }
#vortraege .vortraege-box .vortrag {
  display: flex; flex-direction: row-reverse; min-width: 0; min-height: 185px;
  margin: 0; overflow: hidden; border: 1px solid #ead4d7; border-radius: 0;
  background: #fff; box-shadow: 0 5px 24px rgba(77,18,28,.035);
}
#vortraege .vortraege-box .vortrag:hover { border-color: #dcb1b9; box-shadow: 0 8px 28px rgba(77,18,28,.08); }
#vortraege .vortrag .zeit-box {
  display: flex; flex: 0 0 106px; width: 106px; min-width: 106px;
  min-height: 100%; align-items: flex-start; justify-content: center;
  margin: 0; padding: 29px 8px; border: 0; border-right: 1px solid #f0dee1;
  border-radius: 0; background: var(--up-red) !important; color: #fff !important;
  text-align: center;
}
#vortraege .vortrag .zeit-box p { margin: 0; color: #fff !important; font-size: 13px; line-height: 1.3; }
#vortraege .vortrag .zeit-box strong { color: #fff !important; display: inline-block; font-size: 21px; font-weight: 900; letter-spacing: -.05em; line-height: 1.34; }
#vortraege .vortrag .zeit-box small { color: #fff !important; font-size: 11px; font-weight: 700; }
#vortraege .vortrag .vortrag-text { flex: 1 1 auto; min-width: 0; width: auto; padding: 24px 21px; background: #fff !important; }
#vortraege .vortrag .vortrag-text h5,
#vortraege .vortrag .vortrag-text h5.text-green { margin: 0 0 12px; color: var(--up-ink) !important; font-size: 18px; font-weight: 850; line-height: 1.3; }
#vortraege .vortrag .vortrag-text p { margin: 0 0 12px; color: var(--up-muted); font-size: 13px; line-height: 1.5; }
#vortraege .vortrag .vortrag-text p strong { color: var(--up-ink); font-weight: 750; }
#vortraege .vortrag .vortrag-text .highlight { display: inline-block; margin: 0; padding: 5px 10px; background: var(--up-blush); border: 1px solid #f0cfd4; border-radius: 0; }
#vortraege .vortrag .vortrag-text .highlight strong { color: var(--up-red-dark) !important; font-size: 12px; font-weight: 820; }

/* TALK INTRO / unified editorial layout – independent of legacy Bootstrap row styles. */
#vortraege .up-talk-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  margin: 8px 0 46px;
}
#vortraege .up-talk-location {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 24px 28px;
  border-left: 4px solid var(--up-red);
}
#vortraege .up-talk-label {
  display: block;
  color: var(--up-red-dark);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}
#vortraege .up-talk-location p {
  max-width: 650px;
  margin: 12px 0 0;
  color: #40373a;
  font-size: 18px;
  line-height: 1.65;
}
#vortraege .up-talk-host {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 106px;
  align-items: center;
  gap: 26px;
  min-width: 0;
  min-height: 174px;
  padding: 27px 30px;
  background: #fff;
  border: 1px solid #eadbdd;
  box-shadow: 0 10px 30px rgba(52,18,25,.035);
}
#vortraege .up-talk-host-copy { min-width: 0; }
#vortraege .up-talk-host-copy p {
  margin: 12px 0 0;
  color: #40373a;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
#vortraege .up-talk-host img {
  display: block;
  width: 106px;
  max-width: 100%;
  height: auto;
  max-height: 110px;
  margin: 0 !important;
  object-fit: contain;
}
@media (max-width: 900px) {
  #vortraege .up-talk-intro { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 34px; }
  #vortraege .up-talk-location { padding: 14px 22px; }
  #vortraege .up-talk-host { min-height: 0; }
}
@media (max-width: 540px) {
  #vortraege .up-talk-location { padding: 12px 18px; }
  #vortraege .up-talk-location p { font-size: 16px; }
  #vortraege .up-talk-host { padding: 20px; gap: 16px; grid-template-columns: minmax(0,1fr) 78px; }
  #vortraege .up-talk-host img { width: 78px; }
  #vortraege .up-talk-host-copy p { font-size: 14px; }
}

/* AUSSTELLER – filter plus compact, scan-friendly two-column list. */
#wrapper #Angebot { background: #fff; }
#Angebot > .container > .row > .col-md-12 > p { max-width: 850px; margin: 0; color: var(--up-muted); font-size: 17px; }
#Angebot .up-exhibitor-search {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px;
  margin: 12px 0 25px; padding: 22px 25px;
  border-left: 5px solid var(--up-red); background: var(--up-paper);
}
#Angebot .up-exhibitor-search > label { flex: 0 0 auto; margin: 0; color: var(--up-ink); font-size: 15px; font-weight: 850; }
#Angebot .up-search-field { position: relative; flex: 1 1 285px; }
#Angebot .up-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-54%); color: var(--up-red); font-size: 25px; line-height: 1; pointer-events: none; }
#Angebot .up-search-field input {
  display: block; width: 100%; height: 49px; margin: 0; padding: 12px 42px;
  color: var(--up-ink); background: #fff; font-size: 14px; font-weight: 550;
  border: 1px solid #ddcdcf; border-radius: 0; box-shadow: none;
}
#Angebot .up-search-field input:focus { outline: 2px solid var(--up-red); outline-offset: 1px; border-color: var(--up-red); }
#Angebot .up-search-field input::placeholder { color: #797071; opacity: 1; }
#Angebot .up-exhibitor-search > p { min-width: 105px; margin: 0; color: var(--up-red-dark); font-size: 13px; font-weight: 850; text-align: right; }
#Angebot #accordion.panel-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 0 26px; margin: 0; }
#Angebot #accordion.panel-group > .panel,
#Angebot #accordion.panel-group > .panel + .panel {
  min-width: 0; margin: 0; border: 0; border-top: 1px solid var(--up-border);
  border-radius: 0; background: #fff; box-shadow: none; overflow: hidden;
}
#Angebot #accordion.panel-group > .panel:hover,
#Angebot #accordion.panel-group > .panel:focus-within { box-shadow: none; }
#Angebot #accordion .panel-heading { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent !important; }
#Angebot #accordion .panel-heading > a.accordion-toggle {
  position: relative; display: block; min-height: 70px; padding: 21px 47px 19px 13px;
  background: #fff !important; color: var(--up-ink) !important; text-decoration: none !important;
}
#Angebot #accordion .panel-heading > a.accordion-toggle:hover,
#Angebot #accordion .panel-heading > a.accordion-toggle:not(.collapsed) {
  background: var(--up-paper) !important;
}
#Angebot #accordion .panel-title { margin: 0; padding: 0; background: transparent; border: 0; }
#Angebot #accordion .panel-title h4 {
  margin: 0; padding: 0; color: var(--up-ink) !important;
  font-size: 15px; font-weight: 740; line-height: 1.45; letter-spacing: -.012em;
}
#Angebot #accordion .accordion-icon {
  position: absolute; right: 13px; top: 50%; width: 24px; height: 24px;
  margin-top: -12px; border: 1px solid #dfb8be; border-radius: 50%;
  background: transparent !important; font-size: 0;
}
#Angebot #accordion .accordion-icon::before, #Angebot #accordion .accordion-icon::after {
  content: ""; position: absolute; display: block; top: 10px; left: 6px;
  width: 10px; height: 2px; border-radius: 0; background: var(--up-red);
}
#Angebot #accordion .accordion-icon::after { transform: rotate(90deg); transition: transform .16s ease; }
#Angebot #accordion .accordion-toggle:not(.collapsed) .accordion-icon::after { transform: rotate(0); }
#Angebot #accordion .panel-collapse { border: 0; }
#Angebot #accordion .panel-body {
  padding: 0 15px 22px; border: 0; background: var(--up-paper);
  color: var(--up-muted); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere;
}
#Angebot #accordion .panel-body > strong { color: var(--up-muted); }
#Angebot #accordion .panel-body a { color: var(--up-red-dark) !important; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
#Angebot #accordion .panel-body a:hover { color: #760014 !important; }

/* ANFAHRT */
#wrapper #anfahrt { background: var(--up-paper); }
#anfahrt > .container > p {
  max-width: 1080px; margin: 0; padding: 35px 41px !important;
  background: #fff; border: 1px solid var(--up-border); border-left: 6px solid var(--up-red);
  border-radius: 0; color: #443c3e; font-size: 16px; line-height: 1.85;
  box-shadow: 0 6px 22px rgba(47,18,24,.03);
}
#anfahrt > .container > p strong { color: var(--up-red-dark); font-weight: 850; }

/* RESPONSIVE: independent menu (does not require Bootstrap's JS). */
@media (max-width: 1120px) {
  #informationen .up-facts-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  #up-site-header .up-header-main { gap: 12px; }
  #up-site-header .up-brand { gap: 8px; }
  #up-site-header .up-brand-name { font-size: 10px; }
  #up-site-header .up-primary-nav a { padding: 10px 7px !important; font-size: 12px !important; }
  #wrapper .up-campaign .up-hero-layout { column-gap: 30px; }
}
@media (max-width: 940px) {
  html { scroll-padding-top: 97px; }
  #up-site-header .up-brand-name { display: none; }
  #up-site-header .up-header-main { min-height: 82px; }
  #up-site-header .up-header-date { min-height: 51px; }
  #wrapper .up-campaign .up-hero-layout { grid-template-columns: minmax(0,1fr) 235px !important; }
  #wrapper .up-campaign h1 { font-size: clamp(44px,6.1vw,64px); }
  #wrapper .up-hero-poster { width: 235px; padding: 22px; }
  #wrapper .up-poster-date { font-size: 116px; }
  #wrapper .up-poster-month { font-size: 46px; }
  #informationen .up-facts-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  #vortraege .vortrag .zeit-box { flex-basis: 88px; width: 88px; min-width: 88px; }
  #vortraege .vortrag .vortrag-text { padding: 22px 16px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 91px; }
  #wrapper.homepage > section { padding: 66px 0 74px; }
  #wrapper.homepage > section[id] { scroll-margin-top: 0; }
  #wrapper .heading.pb-50 { padding-bottom: 25px !important; }
  #wrapper .heading h2 { font-size: clamp(30px,7vw,42px); }
  #up-site-header .up-header-line { height: 4px; }
  #up-site-header .up-header-main { min-height: 75px; gap: 12px; }
  #up-site-header .up-brand-logo { width: 54px; height: 54px; flex-basis: 54px; }
  #up-site-header .up-brand-logo-fallback b { font-size: 29px; }
  #up-site-header .up-brand-logo-fallback small { font-size: 13px; }
  #up-site-header .up-brand-name { display: block; font-size: 10px; }
  #up-site-header .up-brand-name small { font-size: 8px; }
  #up-site-header .up-header-date { order: 2; margin-left: auto !important; min-height: 45px; padding: 9px 10px; }
  #up-site-header .up-header-date strong { font-size: 19px; }
  #up-site-header .up-header-date > span { font-size: 12px; }
  #up-site-header .up-header-date small { font-size: 8px; }
  #up-site-header .up-menu-toggle {
    display: flex !important; order: 3; flex: 0 0 45px;
    flex-direction: column; align-items: center; justify-content: center;
    width: 45px; height: 45px; margin: 0 !important; padding: 8px !important;
    border: 1px solid #eadfdf !important; background: #fff !important;
    cursor: pointer; border-radius: 0;
  }
  #up-site-header .up-menu-toggle span { display: block; width: 23px; height: 2px; margin: 3px 0; background: #251b1c; }
  #up-site-header .up-primary-nav,
  #up-site-header .up-primary-nav:not(.up-nav-open) {
    display: none !important;
  }
  #up-site-header .up-primary-nav.up-nav-open {
    display: block !important; position: absolute !important;
    top: 100% !important; left: 0 !important; right: 0 !important;
    width: 100% !important; margin: 0 !important; padding: 12px 24px 18px !important;
    background: #fff !important; border-bottom: 4px solid var(--up-red) !important;
    box-shadow: 0 18px 20px rgba(31,20,22,.13) !important;
  }
  #up-site-header .up-primary-nav ul { display: block !important; }
  #up-site-header .up-primary-nav li { display: block !important; }
  #up-site-header .up-primary-nav a { font-size: 15px !important; padding: 12px 8px !important; border-bottom: 1px solid #eee1e2 !important; }
  #wrapper .up-campaign { min-height: 0; }
  #wrapper .up-campaign .up-hero-layout {
    display: block !important; min-height: 0 !important;
    padding: 66px 0 77px !important;
  }
  #wrapper .up-campaign h1 { font-size: clamp(43px,7.8vw,64px); }
  #wrapper .up-hero-eyebrow { margin-bottom: 22px; font-size: 10px; }
  #wrapper .up-hero-poster { display: none !important; }
  #wrapper .up-hero-decoration { right: 5%; bottom: 0; font-size: 310px; }
  #wrapper .up-hero-bottom { padding-left: 24px; padding-right: 24px; }
  #vortraege .vortraege-box { grid-template-columns: 1fr; }
  #Angebot #accordion.panel-group { grid-template-columns: 1fr; }
  #Angebot .up-exhibitor-search { padding: 18px; gap: 7px; }
  #Angebot .up-exhibitor-search > label { flex-basis: 100%; }
  #Angebot .up-exhibitor-search > p { flex-basis: 100%; text-align: left; }



}
@media (max-width: 540px) {
  .up-site-container { width: calc(100% - 34px) !important; }
  body.body-startseite #wrapper .container, body.body-startseite #footer .container { width: calc(100% - 34px) !important; }
  #up-site-header .up-brand-name { display: none; }
  #up-site-header .up-header-date strong { font-size: 19px; }
  #wrapper .up-campaign .up-hero-layout { padding: 55px 0 72px !important; }
  #wrapper .up-campaign h1 { font-size: clamp(40px,10.5vw,53px); }
  #wrapper .up-hero-description, #wrapper .up-hero-welcome { font-size: 15px; }
  #wrapper .up-hero-actions { display: grid; }
  #wrapper .up-btn { justify-content: space-between; }
  #wrapper .up-hero-bottom { font-size: 8px; }
  #informationen .up-facts-grid { grid-template-columns: minmax(0,1fr) !important; column-gap: 0 !important; row-gap: 14px !important; }
  #informationen .up-facts-grid > .up-fact-card { flex-direction: row; align-items: flex-start; padding: 21px; }
  #informationen .up-facts-grid > .up-fact-card > i { flex-basis: 37px; }
  #vortraege .vortrag .zeit-box { flex-basis: 87px; width: 87px; min-width: 87px; padding: 22px 6px; }
  #vortraege .vortrag .zeit-box strong { font-size: 19px; }
  #vortraege .vortrag .vortrag-text h5 { font-size: 16px; }
  #anfahrt > .container > p { padding: 22px 21px !important; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ===== 2026-10-23 refinement: section redesign for talks, exhibitors, footer ===== */

/* Talks section: lighter, more editorial agenda layout */
#wrapper #vortraege {
  background: linear-gradient(180deg, #fbf5f6 0%, #f8eff1 100%) !important;
}
#vortraege .vortraege-box {
  gap: 24px 28px !important;
}
#vortraege .vortraege-box .vortrag {
  position: relative;
  display: block !important;
  min-height: 0;
  padding: 24px 24px 24px 24px;
  border: 1px solid #eadbdd;
  border-top: 4px solid var(--up-red);
  background: #fff;
  box-shadow: 0 12px 30px rgba(52,18,25,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#vortraege .vortraege-box .vortrag:hover {
  transform: translateY(-2px);
  border-color: #debdc3;
  box-shadow: 0 18px 36px rgba(52,18,25,.08);
}
#vortraege .vortrag .zeit-box {
  display: inline-flex;
  width: auto; min-width: 0; min-height: 0; height: auto;
  margin: 0 0 18px 0;
  padding: 10px 12px 9px;
  border: 0 !important;
  background: var(--up-red) !important;
  text-align: left;
}
#vortraege .vortrag .zeit-box p {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
  margin: 0;
  font-size: 0;
  line-height: 1;
}
#vortraege .vortrag .zeit-box strong {
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.06em;
}
#vortraege .vortrag .zeit-box small {
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  opacity: .92;
}
#vortraege .vortrag .zeit-box p strong:nth-of-type(2) { margin-left: 2px; }
#vortraege .vortrag .vortrag-text {
  display: block;
  padding: 0 !important;
  background: transparent !important;
}
#vortraege .vortrag .vortrag-text h5,
#vortraege .vortrag .vortrag-text h5.text-green {
  margin: 0 0 15px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.04em;
}
#vortraege .vortrag .vortrag-text p {
  margin: 0 0 13px;
  font-size: 14px;
  line-height: 1.55;
}
#vortraege .vortrag .vortrag-text p strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 850;
}
#vortraege .vortrag .vortrag-text .highlight {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid #efd2d8;
  background: #fff6f7;
}
#vortraege .vortrag .vortrag-text .highlight strong {
  display: inline;
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}

/* Exhibitors: calmer, more valuable list design */
#wrapper #Angebot {
  background: #faf6f6 !important;
}
#Angebot .up-exhibitor-search {
  margin: 16px 0 30px;
  padding: 26px 28px;
  border: 1px solid #eadbdd;
  border-left: 5px solid var(--up-red);
  background: #fff;
  box-shadow: 0 10px 28px rgba(52,18,25,.035);
}
#Angebot .up-search-field input {
  min-height: 54px;
  padding-right: 18px;
  border: 1px solid #ded2d4;
  background: #fff;
}
#Angebot #accordion.panel-group {
  gap: 16px 28px;
}
#Angebot #accordion.panel-group > .panel,
#Angebot #accordion.panel-group > .panel + .panel {
  border: 1px solid #ebdfe1;
  background: #fff;
  box-shadow: 0 8px 22px rgba(52,18,25,.025);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
#Angebot #accordion.panel-group > .panel:hover,
#Angebot #accordion.panel-group > .panel:focus-within {
  transform: translateY(-1px);
  border-color: #dec3c8;
  box-shadow: 0 12px 28px rgba(52,18,25,.055);
}
#Angebot #accordion .panel-heading > a.accordion-toggle {
  min-height: 78px;
  padding: 22px 58px 21px 22px;
  background: #fff !important;
}
#Angebot #accordion .panel-heading > a.accordion-toggle:hover,
#Angebot #accordion .panel-heading > a.accordion-toggle:not(.collapsed) {
  background: #fff !important;
}
#Angebot #accordion .panel-title h4 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.01em;
}
#Angebot #accordion .accordion-icon {
  right: 20px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-color: #e5c6cb;
  background: #fffaf9 !important;
}
#Angebot #accordion .accordion-icon::before,
#Angebot #accordion .accordion-icon::after {
  top: 13px;
  left: 8px;
  width: 12px;
}
#Angebot #accordion .panel-body {
  padding: 0 22px 20px;
  background: #fff !important;
  font-size: 14px;
  line-height: 1.6;
}
#Angebot #accordion .panel-body > strong {
  display: inline-block;
  margin-right: 6px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  #vortraege .vortraege-box {
    gap: 20px;
  }
  #vortraege .vortrag .vortrag-text h5,
  #vortraege .vortrag .vortrag-text h5.text-green {
    font-size: 23px;
  }
}
@media (max-width: 800px) {
  #vortraege .vortraege-box {
    gap: 18px;
  }
  #vortraege .vortraege-box .vortrag {
    padding: 21px;
  }
  #vortraege .vortrag .vortrag-text h5,
  #vortraege .vortrag .vortrag-text h5.text-green {
    font-size: 21px;
  }
  #Angebot .up-exhibitor-search {
    padding: 20px 21px;
  }
  #Angebot #accordion .panel-heading > a.accordion-toggle {
    min-height: 72px;
    padding: 18px 52px 18px 18px;
  }
  #Angebot #accordion .panel-title h4 {
    font-size: 17px;
  }


    padding-top: 26px;
    padding-bottom: 26px;
  }
}
@media (max-width: 540px) {
  #vortraege .vortrag .zeit-box {
    margin-bottom: 16px;
    padding: 9px 11px 8px;
  }
  #vortraege .vortrag .zeit-box strong {
    font-size: 22px;
  }
  #vortraege .vortrag .vortrag-text h5,
  #vortraege .vortrag .vortrag-text h5.text-green {
    font-size: 18px;
    line-height: 1.18;
  }
  #Angebot #accordion .panel-title h4 {
    font-size: 16px;
  }

    padding-top: 54px;
  }


    padding-top: 20px;
    padding-bottom: 20px;
  }
}


/* UP! Aussteller: keinen Browser-Fokusrahmen nach Mausklick anzeigen.
   Tastaturfokus bleibt gut erkennbar und passend zur Messe-CI. */
#Angebot #accordion .panel-heading > a.accordion-toggle:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}
#Angebot #accordion .panel-heading > a.accordion-toggle:focus-visible {
  outline: 2px solid var(--up-red) !important;
  outline-offset: -3px !important;
  box-shadow: none !important;
}

/* ===================================================================
   FOOTER v8: independent, readable, responsive contact + form system.
   No Bootstrap .row/.col or legacy .footer classes are used in the HTML.
   =================================================================== */
#footer.up-footer {
  position: relative;
  display: block;
  background: #ffffff !important;
  color: #211b1e !important;
  font-family: inherit;
  border: 0 !important;
}
#footer.up-footer .up-footer-main {
  padding: clamp(65px, 6.4vw, 110px) 0 clamp(80px, 6vw, 110px);
  border-top: 6px solid var(--up-red);
  background: #ffffff !important;
}
#footer.up-footer .up-footer-main > .container,
#footer.up-footer .up-footer-bottom > .container {
  width: calc(100% - 64px) !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  float: none !important;
  padding: 0 !important;
}
#footer.up-footer .up-footer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 72px);
}
#footer.up-footer .up-footer-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--up-red-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .18em;
}
#footer.up-footer .up-footer-intro h2 {
  margin: 0 !important;
  padding: 0 !important;
  color: #211b1e !important;
  font-size: clamp(37px, 4.6vw, 70px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.06;
}
#footer.up-footer .up-footer-intro > p {
  margin: 0 0 5px !important;
  max-width: 510px;
  color: #695d60 !important;
  font-size: 17px;
  line-height: 1.7;
}
#footer.up-footer .up-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(42px, 6vw, 100px);
}
#footer.up-footer .up-footer-contacts {
  padding-top: 5px;
  min-width: 0;
}
#footer.up-footer .up-contact-entry {
  padding: 0 0 32px;
  margin: 0 0 31px;
  border-bottom: 1px solid #e7dcde;
  background: transparent !important;
}
#footer.up-footer .up-contact-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
#footer.up-footer .up-contact-label {
  display: block;
  margin-bottom: 10px;
  color: var(--up-red-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
#footer.up-footer .up-contact-entry h3,
#footer.up-footer .up-form-heading h3 {
  margin: 0 0 15px !important;
  color: #211b1e !important;
  font-size: clamp(19px, 1.65vw, 24px);
  letter-spacing: -.025em;
  line-height: 1.2;
  font-weight: 850;
}
#footer.up-footer .up-contact-entry p {
  margin: 0 0 12px !important;
  color: #50494b !important;
  font-size: 15px;
  line-height: 1.67;
}
#footer.up-footer .up-contact-entry p strong { color: #211b1e !important; font-weight: 800; }
#footer.up-footer .up-contact-entry .up-contact-note {
  margin-bottom: 2px !important;
  font-weight: 650;
  font-size: 13px;
}
#footer.up-footer .up-contact-entry a {
  display: inline-block;
  max-width: 100%;
  color: #b70022 !important;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none !important;
  border-bottom: 1px solid #edb9c2;
  overflow-wrap: anywhere;
  word-break: break-word;
}
#footer.up-footer .up-contact-entry a:hover,
#footer.up-footer .up-contact-entry a:focus-visible {
  color: var(--up-red) !important;
  border-bottom-color: var(--up-red);
}
#footer.up-footer .up-contact-entry a span { margin-left: 3px; }
#footer.up-footer .up-contact-social .insta-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
#footer.up-footer .up-contact-social .fa { color: var(--up-red) !important; font-size: 21px; }
#footer.up-footer .up-footer-form-panel {
  min-width: 0;
  padding: clamp(24px, 3.3vw, 50px);
  background: #f8f5f4;
  border: 1px solid #eee5e5;
  border-radius: 0;
  box-shadow: none;
}
#footer.up-footer .up-form-heading { margin-bottom: 26px; }
#footer.up-footer .up-form-heading h3 { font-size: clamp(23px, 2vw, 29px); margin-bottom: 7px !important; }
#footer.up-footer .up-form-heading p {
  margin: 0 !important;
  color: #74696c !important;
  font-size: 14px;
}
#footer.up-footer .up-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 18px;
}
#footer.up-footer .up-form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#footer.up-footer .up-form-field-wide { grid-column: 1 / -1; }
#footer.up-footer .up-form-field label {
  display: block;
  margin: 0 0 6px !important;
  color: #382d30 !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.4;
}
#footer.up-footer .up-form-field input,
#footer.up-footer .up-form-field textarea {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 54px;
  height: auto;
  padding: 13px 15px !important;
  margin: 0 !important;
  border: 1px solid #d9ccce !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #241b1e !important;
  font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.5;
  box-shadow: none !important;
  float: none !important;
}
#footer.up-footer .up-form-field input::placeholder,
#footer.up-footer .up-form-field textarea::placeholder { color: #978b8e; }
#footer.up-footer .up-form-field textarea {
  min-height: 160px;
  resize: vertical;
}
#footer.up-footer .up-form-field input:focus-visible,
#footer.up-footer .up-form-field textarea:focus-visible {
  border-color: var(--up-red) !important;
  outline: 2px solid #e67b8e;
  outline-offset: 1px;
}
#footer.up-footer .up-form-required {
  margin: 13px 0 24px !important;
  color: #82777a !important;
  font-size: 12px;
  line-height: 1.5;
}
#footer.up-footer label.up-privacy-note {
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  gap: 11px;
  align-items: start;
  margin: 0 0 24px !important;
  color: #53494c !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  cursor: pointer;
}
#footer.up-footer .up-privacy-note input[type=checkbox] {
  width: 17px;
  height: 17px;
  margin: 2px 0 0 !important;
  accent-color: var(--up-red);
}
#footer.up-footer .up-privacy-note a {
  color: var(--up-red-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
#footer.up-footer .up-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
#footer.up-footer .up-form-actions .h-captcha {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
  float: none !important;
  max-width: 100%;
}
#footer.up-footer .up-form-actions .up-send-button {
  display: inline-block !important;
  flex: 0 0 auto;
  min-height: 54px;
  margin: 0 !important;
  padding: 13px 26px !important;
  width: auto;
  min-width: 203px;
  float: none !important;
  text-align: center;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: none;
  border: 1px solid var(--up-red) !important;
  background: var(--up-red) !important;
  cursor: pointer;
}
#footer.up-footer .up-form-actions .up-send-button:hover { background: var(--up-red-dark) !important; }
#footer.up-footer .up-form-message:not(:empty) { margin-top: 14px; color: #302124; }
#footer.up-footer .success-wrapper h3 { color: #211b1e !important; }
#footer.up-footer .success-wrapper p { color: #51474a !important; }
#footer.up-footer .up-footer-bottom {
  padding: 30px 0 20px;
  background: #221c1f !important;
  color: #fff !important;
}
#footer.up-footer .up-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 30px;
  color: #e2d6da !important;
  font-size: 13px;
  line-height: 1.5;
}
#footer.up-footer .up-footer-bottom-inner > span { color: #e2d6da !important; }
#footer.up-footer .up-footer-bottom-inner nav { display: flex; gap: 26px; }
#footer.up-footer .up-footer-bottom-inner a {
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  font-weight: 650;
}
#footer.up-footer .up-footer-bottom-inner a:hover { border-bottom-color: #fff; }
#footer.up-footer .up-footer-credit {
  margin-top: 22px !important;
  padding-top: 28px !important;
  border-top: 1px solid #4c4044;
  color: #ac9fa3 !important;
  font-size: 12px;
  text-align: center !important;
  line-height: 1.5;
}
#footer.up-footer .up-footer-credit span { color: #ac9fa3 !important; }
#footer.up-footer .up-footer-credit a {
  color: #e4d7db !important;
  text-decoration: none !important;
}
@media (max-width: 920px) {
  #footer.up-footer .up-footer-grid { grid-template-columns: 1fr; gap: 48px; }
  #footer.up-footer .up-footer-contacts {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 25px;
  }
  #footer.up-footer .up-contact-entry { margin: 0; }
  #footer.up-footer .up-contact-social { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  #footer.up-footer .up-footer-main > .container,
  #footer.up-footer .up-footer-bottom > .container { width: calc(100% - 34px) !important; }
  #footer.up-footer .up-footer-main { padding: 58px 0 68px; }
  #footer.up-footer .up-footer-intro { grid-template-columns: 1fr; gap: 15px; margin-bottom: 36px; }
  #footer.up-footer .up-footer-intro > p { font-size: 15px; }
  #footer.up-footer .up-footer-contacts { grid-template-columns: 1fr; gap: 26px; }
  #footer.up-footer .up-contact-social { grid-column: auto; }
  #footer.up-footer .up-contact-entry { padding-bottom: 26px; }
  #footer.up-footer .up-footer-form-panel { padding: 21px 18px 25px; }
  #footer.up-footer .up-form-fields { grid-template-columns: 1fr; gap: 14px; }
  #footer.up-footer .up-form-actions .up-send-button { width: 100%; }
  #footer.up-footer .up-footer-bottom { padding: 25px 0 19px; }
  #footer.up-footer .up-footer-bottom-inner { align-items: flex-start; }
}

@media (max-width: 380px) {
  /* Third-party hCaptcha uses a fixed iframe width; keep it inside small phones. */
  #footer.up-footer .up-form-actions .h-captcha {
    transform: scale(.78);
    transform-origin: left top;
    margin-bottom: -17px !important;
  }
}

/* Anpassung 2026-10-23: Moderationsbox so breit wie die Vortragskarte darunter.
   Der aktuelle Kartenstil nutzt auf grossen Screens ca. 71,5 % seiner Grid-Spalte. */
@media (min-width: 1121px) {
  #vortraege .up-talk-intro > .up-talk-host {
    width: 71.5%;
    max-width: 100%;
    justify-self: start;
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 16px;
    padding: 23px 24px;
  }
  #vortraege .up-talk-intro > .up-talk-host img {
    width: 90px;
  }
}


/* Fix v13 – Aussteller-Akkordeon: Browser-Fokusblau zuverlässig entfernen.
   Mausklick/Touch: kein Rahmen (zusätzlich ent-fokussiert per JS).
   Tastatur: bewusst ein roter Innenrahmen als sichtbare Fokusmarkierung. */
#Angebot #accordion .panel-heading > a.accordion-toggle:focus,
#Angebot #accordion .panel-heading > a.accordion-toggle:active,
#Angebot #accordion .panel-heading > a.accordion-toggle:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}
#Angebot #accordion .panel-heading > a.accordion-toggle:focus-visible {
  box-shadow: inset 0 0 0 2px var(--up-red) !important;
}


/* 2026-11-02: accessible checkbox and hCaptcha UI (without legacy theme collisions). */
#footer.up-footer label.up-privacy-note {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 12px !important;
  cursor: pointer;
  text-align: left;
}
#footer.up-footer .up-privacy-control {
  display: block !important;
  position: relative !important;
  width: 22px !important;
  height: 22px !important;
  margin: 1px 0 0 !important;
  flex: none !important;
}
#footer.up-footer .up-privacy-control input#acceptagb {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  cursor: pointer;
  z-index: 2;
}
#footer.up-footer .up-privacy-box {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  background: #fff !important;
  border: 2px solid #b9a9ad !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  pointer-events: none;
  transition: background .15s ease, border-color .15s ease;
}
#footer.up-footer #acceptagb:checked + .up-privacy-box {
  background: var(--up-red) !important;
  border-color: var(--up-red) !important;
}
#footer.up-footer #acceptagb:checked + .up-privacy-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#footer.up-footer #acceptagb:focus-visible + .up-privacy-box {
  outline: 3px solid #ff9aa9 !important;
  outline-offset: 3px !important;
}
#footer.up-footer .up-privacy-copy {
  display: block;
  min-width: 0;
  color: #53494c;
  line-height: 1.6;
}
#footer.up-footer .up-captcha-wrap {
  flex: 0 1 303px;
  min-width: 0;
  max-width: 100%;
}
#footer.up-footer .up-captcha-wrap .h-captcha {
  display: block;
  width: 303px;
  max-width: 100%;
  overflow: visible;
}
#footer.up-footer .up-captcha-status {
  margin: 8px 0 0 !important;
  max-width: 330px;
  color: #685c60 !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
#footer.up-footer .up-captcha-status[hidden] { display: none !important; }
#footer.up-footer .up-captcha-status.up-captcha-error { color: #a90020 !important; }
@media (max-width: 380px) {
  #footer.up-footer .up-form-actions .up-captcha-wrap .h-captcha {
    transform: scale(.78);
    transform-origin: top left;
    margin-bottom: -17px !important;
  }
}
