/* Sprechblasen — 1:1 aus Eurodrill Ausbildung.dc.html */

@keyframes ed-sprechblasen-bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}

.ed-section.ed-sprechblasen-section.ed-pad-md {
  padding: clamp(80px, 12vh, 150px) var(--ed-pad-h) clamp(96px, 14vh, 170px);
}

.ed-section.ed-sprechblasen-section {
  overflow: visible;
}

.ed-sprechblasen__inner {
  position: relative;
  z-index: 1;
}

.ed-sprechblasen__sticker {
  position: absolute;
  right: 2.5%;
  top: 9%;
  width: clamp(58px, 6.4vw, 96px);
  height: auto;
  pointer-events: none;
  z-index: 0;
  --rot: -7deg;
  animation: ed-sprechblasen-bob 6s ease-in-out infinite;
}

.ed-sprechblasen-section .ed-eyebrow-wrap {
  margin-bottom: clamp(30px, 4vh, 44px);
}

.ed-sprechblasen__title {
  font-weight: 900;
  font-stretch: expanded;
  font-size: clamp(30px, 4.6vw, 66px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 clamp(48px, 7vh, 80px);
  max-width: 16ch;
}

.ed-sprechblasen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 3.4vw, 48px);
  align-items: start;
}

.ed-sprechblasen__cell {
  min-width: 0;
}

.ed-bubble {
  display: block;
  text-decoration: none !important;
  position: relative;
  color: inherit;
  cursor: pointer;
  transform: rotate(var(--rot, 0deg));
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.ed-bubble:hover,
.ed-bubble:focus,
.ed-bubble:focus-visible {
  transform: translateY(-8px) rotate(0deg);
  color: inherit !important;
  box-shadow: none !important;
}

.ed-bubble__body {
  display: block;
  position: relative;
  padding: clamp(30px, 3.2vw, 44px);
  border-radius: 26px;
  min-height: 200px;
  box-shadow: 0 26px 50px -30px rgba(14, 42, 69, .55);
  overflow: visible;
}

.ed-bubble__start {
  display: block;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .18em;
  opacity: .75;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.ed-bubble__text {
  display: block;
  font-family: var(--ed-font-expanded);
  font-weight: 800;
  font-stretch: expanded;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.1;
  margin-bottom: 22px;
  text-transform: none;
}

.ed-bubble__bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: gap .6s cubic-bezier(.22, 1, .36, 1);
}

.ed-bubble__bar span {
  font-size: 15px;
  line-height: 1;
}

.ed-bubble:hover .ed-bubble__bar {
  gap: 16px;
}

.ed-bubble__tail {
  position: absolute;
  left: 38px;
  bottom: -21px;
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 34px solid transparent;
  border-top: 24px solid currentColor;
}

@media (max-width: 920px) {
  .ed-sprechblasen__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* Modal in Blasenfarbe */
.ed-job-modal--tinted .ed-job-modal__head {
  background: var(--ed-job-accent, #1272B4);
  border-bottom-color: transparent;
}

.ed-job-modal--tinted .ed-job-modal-tag {
  color: var(--ed-job-accent-fg, #fff);
  opacity: .8;
}

.ed-job-modal--tinted .ed-job-modal-title {
  color: var(--ed-job-accent-fg, #fff);
}

.ed-job-modal--tinted .ed-job-modal-close {
  border-color: color-mix(in srgb, var(--ed-job-accent-fg, #fff) 42%, transparent);
  color: var(--ed-job-accent-fg, #fff);
  background: transparent;
}

.ed-job-modal--tinted .ed-job-modal-close:hover,
.ed-job-modal--tinted .ed-job-modal-close:focus,
.ed-job-modal--tinted .ed-job-modal-close:focus-visible,
.ed-job-modal--tinted .ed-job-modal-close:active {
  background: var(--ed-job-accent-fg, #fff) !important;
  border-color: var(--ed-job-accent-fg, #fff) !important;
  color: var(--ed-job-accent, #1272B4) !important;
}

.ed-job-modal--tinted .ed-job-modal__label {
  color: var(--ed-job-accent, #1272B4);
  border-bottom-color: color-mix(in srgb, var(--ed-job-accent, #1272B4) 28%, #E4E8EC);
}

.ed-job-modal--tinted .ed-job-modal__diamond,
.ed-job-modal--tinted .ed-job-modal__rich li::before {
  background: var(--ed-job-accent, #1272B4);
}

.ed-job-modal--tinted .ed-job-modal-apply {
  background: var(--ed-job-accent, #1272B4);
  border-color: var(--ed-job-accent, #1272B4);
  color: var(--ed-job-accent-fg, #fff) !important;
}

.ed-job-modal--tinted .ed-job-modal-apply:hover,
.ed-job-modal--tinted .ed-job-modal-apply:focus,
.ed-job-modal--tinted .ed-job-modal-apply:focus-visible,
.ed-job-modal--tinted .ed-job-modal-apply:active {
  background: color-mix(in srgb, var(--ed-job-accent, #1272B4) 82%, #000) !important;
  border-color: color-mix(in srgb, var(--ed-job-accent, #1272B4) 82%, #000) !important;
  color: var(--ed-job-accent-fg, #fff) !important;
}
