/* HWT Elementor Messen – Styles
   BG #F7F7F5, Text #2D313C, Padding 2.5rem, Abstand 1.25rem
*/

.hwt-emessen {
  color: #2D313C;
}
.hwt-emessen strong {
    font-weight: 600;
    font-size: 1.25rem;
}
.hwt-emessen__item {
  background: #F7F7F5;
  padding: 2.5rem;
  box-sizing: border-box;
}

/* Abstand zwischen Messen */
.hwt-emessen__item + .hwt-emessen__item {
  margin-top: 1.25rem;
}

/* Toggle (Header klickbar) */
.hwt-emessen__toggle {
  width: 100%;
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  position: relative;
}

.hwt-emessen__toggle:focus-visible {
  outline: 2px solid rgba(45, 49, 60, 0.35);
  outline-offset: 4px;
}


.hwt-emessen__title {
  margin: 0;
}


.hwt-emessen__meta {
  margin-top: 0.25rem;
  font-size: 1rem;
}



/* Chevron rechts */
.hwt-emessen__chevron {
  position: absolute;
  top: 0.25rem;
  right: 0;
  width: 1.7rem;
  height: 1.7rem;
}

.hwt-emessen__chevron::before {
  content: "";
  position: absolute;
  inset: 0.28rem 0.32rem 0.32rem 0.28rem;
  border-right: 2px solid rgba(26, 34, 51, 0.6);
  border-bottom: 2px solid rgba(26, 34, 51, 0.6);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

.hwt-emessen__toggle.is-open .hwt-emessen__chevron::before {
  transform: rotate(-135deg);
}

/* Accordion Content */
.hwt-emessen__content {
  margin-top: 1.25rem;
}
.hwt-emessen__text {
    max-width: 42rem;
}
/* Fließtext (WYSIWYG) */
.hwt-emessen__text :first-child {
  margin-top: 0;
}
.hwt-emessen__text :last-child {
  margin-bottom: 0;
}

/* Kontaktinfos*/
.hwt-emessen__contact {
  margin-top: 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.hwt-emessen__contact a {
  color: #2D313C;
  text-decoration: underline;
}

.hwt-emessen__contact a:hover,
.hwt-emessen__contact a:focus {
  color: #2D313C;
  text-decoration: underline;
}

/* Actions */
.hwt-emessen__actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
  gap: 4.375rem;
  flex-wrap: wrap;
}

.hwt-emessen__ics,
.hwt-emessen__actions a {
  appearance: none;
  border: none;
  font-family: 'FontC';
  color: #2D313C;
  padding: 0.6rem 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.hwt-emessen__ics:hover,
.hwt-emessen__actions a:hover {
  border-color: rgba(45, 49, 60, 0.45);
}

.hwt-emessen__ics:focus-visible,
.hwt-emessen__actions a:focus-visible {
  outline: 2px solid rgba(45, 49, 60, 0.35);
  outline-offset: 3px;
}

/* Mobile */
@media (max-width: 900px) {
  .hwt-emessen__item {
    padding: 1.5rem;
  }

  .hwt-emessen__chevron {
    top: 0.15rem;
  }
  .hwt-emessen__actions {
    gap: 1rem;
    margin-top: 2rem;
  }
}