/* Karriere / Stellenangebot Rechtsanwalt — Mietorcas */

.karriere-page {
  color: #54555a;
}

.karriere-page .m-toptext,
.karriere-page .m-text {
  scroll-margin-top: 170px;
}

.karriere-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 0.65rem;
  font-family: 'M PLUS 1', 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #61d2db;
}

.karriere-kicker > span:not(.karriere-sep) {
  letter-spacing: 0.08em;
  /* letter-spacing hängt rechts am Wort – ausgleichen, sonst klebt der Punkt am nächsten Wort */
  margin-inline-end: -0.08em;
}

.karriere-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
  line-height: 1;
  flex: 0 0 auto;
}

.karriere-lead {
  max-width: 38rem;
  margin: 0.85rem 0 0;
  font-size: 1.12rem;
  line-height: 1.55;
}

.karriere-page .m-toptext {
  padding-bottom: 1.75rem;
}

.karriere-hub-jobs {
  padding-top: 2.4rem;
}

.karriere-job-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  line-height: 1.55;
}

.karriere-job-meta .karriere-sep {
  color: #54555a;
  width: 1.15em;
}

.karriere-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.karriere-meta li {
  margin: 0;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #5385e9;
  border-bottom: 2px solid rgba(97, 210, 219, 0.55);
}

.karriere-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 1.6rem;
  margin-bottom: 0.85rem;
}

.karriere-cta-row .btn-ps {
  color: #fff;
}

.karriere-cta-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #666;
}

.karriere-hero-frame {
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}

.karriere-hero-visual {
  display: block;
  width: 100%;
  max-width: 420px;
  max-height: 420px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(83, 133, 233, 0.22));
}

.karriere-check {
  margin-top: 1.1rem;
}

.karriere-check .row {
  margin-bottom: 0.55rem;
}

.karriere-section-title {
  margin-bottom: 0.85rem;
}

.karriere-section-intro {
  max-width: 40rem;
  margin: 0 auto 1.6rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.karriere-section-intro--spaced {
  margin-bottom: 2.35rem;
}

.karriere-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}

@media (min-width: 768px) {
  .karriere-benefits {
    grid-template-columns: repeat(12, 1fr);
    gap: 1.1rem 1rem;
  }

  .karriere-benefit--a {
    grid-column: 1 / span 7;
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
    justify-self: start;
  }
  .karriere-benefit--b {
    grid-column: 8 / span 5;
    margin-top: 1.5rem;
    margin-left: 0;
    width: calc(100% + 30px);
    max-width: none;
    transform: translateX(-30px);
  }
  .karriere-benefit--c { grid-column: 1 / span 5; margin-top: -0.25rem; }
  .karriere-benefit--d { grid-column: 6 / span 7; }
  .karriere-benefit--e { grid-column: 1 / span 6; margin-top: 0.65rem; }
  .karriere-benefit--f { grid-column: 7 / span 6; margin-top: -0.9rem; }
}

@media (min-width: 1200px) {
  .karriere-benefit--a {
    grid-column: 1 / span 7;
    width: calc(100% - 30px);
    max-width: calc(100% - 30px);
    justify-self: start;
  }
  .karriere-benefit--b {
    grid-column: 8 / span 5;
    margin-top: 2.1rem;
    margin-left: 0;
    width: calc(100% + 30px);
    max-width: none;
    transform: translateX(-30px);
  }
  .karriere-benefit--c { grid-column: 1 / span 5; }
  .karriere-benefit--d { grid-column: 6 / span 7; margin-top: -0.45rem; }
  .karriere-benefit--e { grid-column: 1 / span 6; margin-top: 0.85rem; }
  .karriere-benefit--f { grid-column: 7 / span 6; margin-top: -1.1rem; }
}

.karriere-benefit {
  margin: 0;
  padding: 1.25rem 1.25rem 1.15rem;
  text-align: left;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(83, 133, 233, 0.08);
  box-shadow: 0 4px 10px rgba(31, 36, 48, 0.03), 0 12px 28px rgba(83, 133, 233, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.karriere-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(31, 36, 48, 0.05), 0 16px 34px rgba(83, 133, 233, 0.18);
}

.karriere-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(83, 133, 233, 0.12), rgba(97, 210, 219, 0.16));
}

.karriere-benefit-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
}

.karriere-benefit h3 {
  margin: 0 0 0.45rem;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #5385e9;
  line-height: 1.35;
}

.karriere-benefit p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .karriere-benefit,
  .karriere-benefit:hover {
    transition: none;
    transform: none;
  }
}

.karriere-contrast {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 768px) {
  .karriere-contrast {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.75rem;
  }
}

.karriere-contrast-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(83, 133, 233, 0.12), rgba(97, 210, 219, 0.16));
}

.karriere-contrast-icon svg {
  width: 7rem;
  height: 7rem;
}

@media (min-width: 768px) {
  .karriere-contrast-icon {
    width: 11rem;
    height: 11rem;
    margin-top: 0.1rem;
  }

  .karriere-contrast-icon svg {
    width: 8rem;
    height: 8rem;
  }
}

.karriere-contrast-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.karriere-contrast p,
.karriere-contrast-copy p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.karriere-contrast p:last-child,
.karriere-contrast-copy p:last-child {
  margin-bottom: 0;
}

.karriere-profile {
  max-width: 42rem;
  margin: 0 auto;
  text-align: left;
}

.karriere-profile ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.karriere-profile li {
  position: relative;
  margin: 0 0 0.7rem;
  padding-left: 1.55rem;
  line-height: 1.5;
}

.karriere-profile li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #5385e9, #61d2db);
}

.karriere-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  counter-reset: karriere-step;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .karriere-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.karriere-step {
  position: relative;
  margin: 0;
  padding: 1.25rem 1.15rem 1.1rem 1.15rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(31, 36, 48, 0.04), 0 10px 28px rgba(83, 133, 233, 0.14);
  counter-increment: karriere-step;
}

.karriere-step::before {
  content: counter(karriere-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: #5385e9;
  color: #fff;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.karriere-step h3 {
  margin: 0 0 0.4rem;
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #5385e9;
}

.karriere-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.karriere-faq details {
  margin: 0 0 0.75rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(31, 36, 48, 0.04), 0 8px 22px rgba(83, 133, 233, 0.12);
}

.karriere-faq summary {
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  color: #5385e9;
  list-style: none;
  line-height: 1.4;
}

.karriere-faq summary::-webkit-details-marker {
  display: none;
}

.karriere-faq summary::after {
  content: "+";
  float: right;
  color: #61d2db;
  font-weight: 700;
}

.karriere-faq details[open] summary::after {
  content: "–";
}

.karriere-faq details p {
  margin: 0.75rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #54555a;
}

.karriere-apply-intro {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.karriere-apply {
  max-width: 40rem;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.karriere-apply .hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.karriere-apply label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5385e9;
}

.karriere-apply .form-field {
  margin: 0 0 1rem;
}

.karriere-apply input,
.karriere-apply textarea,
.karriere-apply select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d7dde8;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: #54555a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.karriere-apply input:focus,
.karriere-apply textarea:focus,
.karriere-apply select:focus {
  outline: none;
  border-color: #5385e9;
  box-shadow: 0 0 0 3px rgba(83, 133, 233, 0.18);
}

.karriere-apply textarea {
  min-height: 11rem;
  resize: vertical;
}

.karriere-apply-status {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.karriere-apply-status.is-ok,
.karriere-apply-status.success-message {
  color: #008000;
  background-color: #eeffee;
  border: 1px solid #008000;
  font-weight: bold;
  padding: 10px;
  border-radius: 4px;
}

.karriere-apply-status.is-error,
.karriere-apply-status.error-message {
  color: #cc0000;
  background-color: #ffeeee;
  border: 1px solid #cc0000;
  font-weight: bold;
  padding: 10px;
  border-radius: 4px;
}

.karriere-apply-status.sending-message {
  color: #5385e9;
  background: transparent;
  border: none;
  font-weight: bold;
  padding: 10px;
}

.karriere-apply .btn-ps {
  color: #fff;
  margin-top: 0.25rem;
}

.karriere-apply-hint {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #7a8290;
}

.karriere-founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  padding: 1.35rem 1.25rem 1.15rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(31, 36, 48, 0.04), 0 12px 28px rgba(83, 133, 233, 0.12);
  overflow: hidden;
  text-align: left;
}

@media (min-width: 768px) {
  .karriere-founder {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 0 1.75rem;
  }
}

.karriere-founder-quote {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .karriere-founder-quote {
    padding: 1.5rem 1.25rem 1.5rem 0;
  }
}

.karriere-founder img {
  max-width: 160px;
  width: 160px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .karriere-founder img {
    align-self: flex-end;
    margin: 0;
  }
}

.karriere-founder blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  font-style: italic;
}

.karriere-founder cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 700;
  color: #5385e9;
}

.karriere-seo-links {
  margin: 1.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.karriere-seo-links a {
  color: #5385e9;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .karriere-benefit,
  .karriere-benefit:hover {
    transition: none;
    transform: none;
  }
}
