/* New hero + "Was wir bieten" design (redesign brief, Sep 2026). Replaces the old
   scroll-pin Lottie hero; keeps the site's existing nav markup/behavior untouched. */

:root {
  /* Matches the reference design's 1440px canvas + 72px side padding, so section
     content never grows wider than the design at any viewport width, while each
     section's own background still spans the full browser width. */
  --content-pad: max(72px, calc((100vw - 1440px) / 2));
}

/* Every section pads with --content-pad, so a single mobile override here
   gives the whole page one consistent, narrow side gutter instead of each
   section drifting to its own value (72px vs. 6vw vs. untouched). */
@media screen and (max-width: 767px) {
  :root {
    --content-pad: 10px;
  }
}

/* Header/nav (.pm-header, .pm-nav, mobile toggle, Leistungen dropdown) now
   lives in css/site-nav.css, shared across every page. */

.hero-v2 {
  position: relative;
  overflow: hidden;
  background: var(--quatär);
  color: var(--sekundär);
  width: 100%;
  aspect-ratio: 1440 / 900;
  max-height: 100vh;
  box-sizing: border-box;
  padding: 130px var(--content-pad) 0;
}

.hero-v2-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8.33vw;
  min-height: 60px;
  pointer-events: none;
  background: linear-gradient(0deg, var(--quatär), rgba(244, 246, 250, 0));
  z-index: 2;
}

.hero-v2-glow {
  position: absolute;
  left: 50%;
  top: 380px;
  width: 1300px;
  max-width: 160vw;
  height: 900px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(#1a56db38, #1a56db00 60%);
  pointer-events: none;
}

.hero-v2-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#0b2c5617 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(#000, transparent 70%);
  mask-image: linear-gradient(#000, transparent 70%);
  pointer-events: none;
}

.hero-v2-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-v2-eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiär);
}

.hero-v2-content h1 {
  margin: 0;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero-v2-highlight {
  position: relative;
  display: inline-block;
  padding: 0 14px;
  color: var(--sekundär);
  z-index: 0;
}

.hero-v2-highlight::before {
  content: "";
  position: absolute;
  inset: 6px 0 -2px;
  border-radius: 12px;
  background: var(--tertiär);
  z-index: -1;
}

.hero-v2-content p {
  margin: 0;
  max-width: 760px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--sekundär);
}

.hero-v2-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-v2-ctas .button.seite {
  border-radius: 999px;
}

.hero-v2-cta-secondary {
  padding: 13px 23px;
  border-radius: 999px;
  border: 1px solid var(--sekundär);
  color: var(--sekundär);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.hero-v2-cta-secondary:hover {
  background: #0b2c560d;
}

/* Mockup collage */
.hero-v2-mockups {
  position: absolute;
  inset: 0;
}

.hero-v2-mockup {
  position: absolute;
}

.hero-v2-tag {
  position: absolute;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 10px 24px #0b2c562e;
}

/* Phone / Social Media card */
.hero-v2-phone-wrap {
  left: 13.19vw;
  top: 41.67vw;
  width: 14.58vw;
  transform: rotate(-9deg);
}

.hero-v2-phone {
  position: relative;
  height: 29.17vw;
  border-radius: 34px;
  background: var(--sekundär);
  padding: 9px;
  box-sizing: border-box;
  box-shadow: 0 30px 70px #0b2c564d;
}

.hero-v2-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #dce2ec;
}

.hero-v2-phone-heart {
  position: absolute;
  right: 12px;
  top: 180px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tertiär);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.hero-v2-tag-social {
  left: -20px;
  top: -16px;
  background: var(--tertiär);
  color: var(--sekundär);
}

/* Browser / Website card */
.hero-v2-browser-wrap {
  left: 50%;
  top: 44.44vw;
  width: 47.22vw;
  margin-left: -23.61vw;
}

.hero-v2-browser {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 40px 90px #0b2c5640;
  overflow: hidden;
}

.hero-v2-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 18px;
  background: #eef1f7;
}

.hero-v2-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d2e3;
}

.hero-v2-browser-dot.is-accent {
  background: var(--tertiär);
}

.hero-v2-browser-bar-line {
  margin-left: 14px;
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: #fff;
}

.hero-v2-browser-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  padding: 26px 26px 60px;
}

.hero-v2-browser-copy {
  display: flex;
  flex-direction: column;
  gap: 11px;
  justify-content: center;
}

.hero-v2-browser-line {
  height: 16px;
  width: 92%;
  border-radius: 4px;
  background: var(--sekundär);
}

.hero-v2-browser-line.is-short {
  width: 68%;
}

.hero-v2-browser-line.is-muted {
  height: 9px;
  width: 95%;
  border-radius: 4px;
  background: #dce2ec;
  margin-top: 6px;
}

.hero-v2-browser-line.is-muted.is-shorter {
  width: 82%;
}

.hero-v2-browser-button {
  align-self: flex-start;
  margin-top: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--primär);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.hero-v2-browser-photo {
  height: 210px;
  border-radius: 14px;
  overflow: hidden;
  background: #dce2ec;
}

.hero-v2-tag-website {
  left: 50%;
  top: -18px;
  margin-left: -48px;
  background: var(--sekundär);
  color: #fff;
}

/* Job card / Recruiting */
.hero-v2-jobcard-wrap {
  right: 11.81vw;
  top: 44.44vw;
  width: 22.92vw;
  transform: rotate(7deg);
}

.hero-v2-jobcard {
  border-radius: 20px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 30px 70px #0b2c5638;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-v2-jobcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-v2-jobcard-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e6edfc;
  color: var(--primär);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.hero-v2-jobcard-title {
  font-weight: 900;
  font-size: 15px;
  text-align: left;
}

.hero-v2-jobcard-sub {
  font-size: 13px;
  color: var(--sekundär);
  text-align: left;
}

.hero-v2-jobcard-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--quatär);
  font-size: 14px;
  font-weight: 700;
}

.hero-v2-jobcard-notice-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-v2-jobcard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tertiär);
}

.hero-v2-jobcard-link {
  color: var(--primär);
}

.hero-v2-tag-recruiting {
  right: -14px;
  top: -18px;
  background: var(--primär);
  color: #fff;
}

/* Placeholder image slots - static, non-interactive; real photos to follow */
.hero-v2-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #8a97ad;
  font-size: 12px;
  font-weight: 700;
  background: #dce2ec;
  pointer-events: none;
}

.hero-v2-placeholder svg {
  width: 26px;
  height: 26px;
  opacity: 0.7;
}

@media screen and (max-width: 991px) {
  .hero-v2 {
    aspect-ratio: unset;
    max-height: none;
    height: auto;
    padding: 110px 5vw 60px;
  }

  .hero-v2-content h1 {
    font-size: 2rem;
    white-space: normal;
  }

  .hero-v2-mockups {
    position: relative;
    inset: auto;
    height: 620px;
    margin-top: 48px;
  }

  .hero-v2-browser-wrap {
    width: 92vw;
    max-width: 560px;
    margin-left: 0;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
  }

  .hero-v2-phone-wrap {
    left: 0;
    top: 340px;
    width: 160px;
  }

  .hero-v2-phone {
    height: 320px;
  }

  .hero-v2-jobcard-wrap {
    right: 0;
    top: 400px;
    width: 240px;
  }
}

@media screen and (max-width: 479px) {
  .hero-v2-content p {
    font-size: 16px;
  }

  .hero-v2-mockups {
    height: 540px;
  }

  .hero-v2-browser-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 20px 30px;
  }

  .hero-v2-phone-wrap,
  .hero-v2-jobcard-wrap {
    display: none;
  }
}

/* "Was wir bieten" - hover-expand teaser cards */
.wasbieten-section {
  background: #fff;
  padding: 120px var(--content-pad) 140px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  color: var(--sekundär);
}

.wasbieten-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.wasbieten-head h2 {
  margin: 0;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.wasbieten-hint {
  font-size: 15px;
  font-weight: 700;
  color: #5b6e8c;
}

.wasbieten-row {
  display: flex;
  gap: 12px;
}

.wasbieten-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: #f8fafd;
  border: 1px solid #edf0f6;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: flex 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s;
}

.wasbieten-card:hover,
.wasbieten-card:focus-within {
  flex: 2.2 1 0;
  background: #fff;
  box-shadow: 0 30px 60px -20px #0b2c5633;
}

.wasbieten-blob-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -210px;
  width: 340px;
  transition: right 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wasbieten-card:hover .wasbieten-blob-wrap,
.wasbieten-card:focus-within .wasbieten-blob-wrap {
  right: -70px;
}

.wasbieten-blobs {
  position: absolute;
  left: 0;
  top: 70px;
  width: 340px;
  height: 480px;
}

.wb-blob-1 {
  position: absolute;
  left: 10px;
  top: 0;
  width: 300px;
  height: 380px;
  border-radius: 58% 42% 55% 45% / 45% 50% 50% 55%;
  background: #1a56db17;
}

.wb-blob-2 {
  position: absolute;
  left: 40px;
  top: 50px;
  width: 290px;
  height: 430px;
  border-radius: 45% 55% 50% 50% / 40% 45% 55% 60%;
  background: linear-gradient(160deg, #1a56db4d, #1a56db1f);
}

.wb-blob-3 {
  position: absolute;
  left: 0;
  top: 320px;
  width: 170px;
  height: 120px;
  border-radius: 60% 40% 55% 45%;
  background: #ff7a453d;
  transform: rotate(18deg);
}

.wasbieten-number {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 900;
  color: #8a97ad;
  /* Reappearing (mouse leave): wait for the detail text to finish fading out
     and the card to shrink most of the way back before showing again. */
  transition: opacity 0.2s ease 0.3s;
}

.wasbieten-vertical-label {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 17px;
  font-weight: 900;
  color: var(--sekundär);
  white-space: nowrap;
  transition: opacity 0.2s ease 0.3s;
}

.wasbieten-card:hover .wasbieten-number,
.wasbieten-card:hover .wasbieten-vertical-label,
.wasbieten-card:focus-within .wasbieten-number,
.wasbieten-card:focus-within .wasbieten-vertical-label {
  opacity: 0;
  /* Hiding (mouse enter): fast, no delay - gone before the card visibly widens. */
  transition: opacity 0.15s ease;
}

.wasbieten-detail {
  position: absolute;
  left: 40px;
  bottom: 40px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(16px);
  /* Closing (mouse leave): fast, no delay, so the detail text doesn't linger
     while the card is already shrinking back down. */
  transition: opacity 0.15s ease, transform 0.2s ease;
  pointer-events: none;
}

.wasbieten-card:hover .wasbieten-detail,
.wasbieten-card:focus-within .wasbieten-detail {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  /* Opening (mouse enter): give the card time to widen first, then fade the
     detail text in. */
  transition: opacity 0.45s 0.15s, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
}

.wasbieten-detail-eyebrow {
  display: block;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiär);
  margin-bottom: 10px;
}

.wasbieten-detail-title {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  color: var(--sekundär);
}

.wasbieten-detail-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--sekundär);
}

.wasbieten-detail-link {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sekundär);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

/* Card-specific illustration placement, ported 1:1 from the redesign mockup */
.wb-illustration-website {
  position: absolute;
  left: 80px;
  top: 90px;
  width: 230px;
  height: 300px;
  border-radius: 18px;
  background: #ffffff59;
  border: 1px solid #ffffff99;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  box-sizing: border-box;
}

.wb-illustration-website .wb-dots {
  display: flex;
  gap: 6px;
}

.wb-illustration-website .wb-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffffcc;
}

.wb-illustration-website .wb-block {
  height: 110px;
  border-radius: 12px;
  background: #ffffff8c;
}

.wb-illustration-website .wb-line {
  height: 10px;
  width: 80%;
  border-radius: 5px;
  background: #ffffffcc;
}

.wb-illustration-website .wb-line.is-short {
  height: 8px;
  width: 60%;
  background: #ffffff8c;
}

.wb-illustration-website .wb-pill {
  align-self: flex-start;
  width: 90px;
  height: 26px;
  border-radius: 13px;
  background: #1a56db73;
}

.wb-illustration-social {
  position: absolute;
  left: 150px;
  top: 80px;
  width: 160px;
  height: 280px;
  border-radius: 18px;
  background: #ffffff66;
  border: 1px solid #ffffffa6;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wb-illustration-social .wb-social-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-illustration-social .wb-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffffcc;
}

.wb-illustration-social .wb-social-line {
  flex: 1;
  height: 7px;
  border-radius: 4px;
  background: #ffffffcc;
}

.wb-illustration-social .wb-social-media {
  flex: 1;
  border-radius: 10px;
  background: #ffffff8c;
}

.wb-illustration-social .wb-social-icons {
  display: flex;
  gap: 8px;
  color: #fffffff2;
  font-size: 16px;
}

.wb-illustration-social-2 {
  position: absolute;
  left: 60px;
  top: 140px;
  width: 100px;
  height: 170px;
  border-radius: 14px;
  background: #ffffff59;
  border: 1px solid #ffffff99;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wb-illustration-social-2 .wb-social-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wb-illustration-social-2 .wb-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffffcc;
}

.wb-illustration-social-2 .wb-social-line {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #ffffffcc;
}

.wb-illustration-social-2 .wb-social-media {
  flex: 1;
  border-radius: 8px;
  background: #ffffff8c;
}

.wb-illustration-social-2 .wb-heart {
  color: #fffffff2;
  font-size: 12px;
}

.wb-illustration-recruiting {
  position: absolute;
  left: 70px;
  top: 110px;
  width: 240px;
  height: 260px;
  border-radius: 18px;
  background: #ffffff59;
  border: 1px solid #ffffff99;
  padding: 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.wb-illustration-recruiting .wb-avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffffcc;
}

.wb-illustration-recruiting .wb-shoulders {
  width: 96px;
  height: 44px;
  border-radius: 48px 48px 12px 12px;
  background: #ffffffcc;
  margin-top: -6px;
}

.wb-illustration-recruiting .wb-line {
  height: 9px;
  width: 80%;
  border-radius: 4px;
  background: #ffffffcc;
}

.wb-illustration-recruiting .wb-line.is-short {
  height: 8px;
  width: 60%;
  background: #ffffff8c;
}

.wb-illustration-recruiting .wb-badge {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ff7a4580;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

@media screen and (max-width: 767px) {
  .wasbieten-head h2 {
    font-size: 1.75rem;
  }

  .wasbieten-row {
    flex-direction: column;
    gap: 16px;
  }

  .wasbieten-card {
    height: auto;
    flex: none;
  }

  .wasbieten-card:hover,
  .wasbieten-card:focus-within {
    flex: none;
  }

  .wasbieten-blob-wrap {
    display: none;
  }

  .wasbieten-detail {
    position: static;
    width: auto;
    padding: 24px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .wasbieten-number,
  .wasbieten-vertical-label {
    display: none;
  }
}

/* ===== "Wie wir das erreichen" (replaces old blue Leistungen cards) ===== */
.erreichen-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primär) 0%, #123e9e 55%, var(--sekundär) 100%);
  color: #fff;
  padding: 120px var(--content-pad) 130px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.erreichen-glow {
  position: absolute;
  right: -240px;
  top: -240px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff7a452e, #ff7a4500 62%);
  pointer-events: none;
}

.erreichen-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1100px;
}

.erreichen-head .eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiär);
}

.erreichen-head h2 {
  margin: 0;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.erreichen-head p {
  margin: 0;
  max-width: 860px;
  font-size: 19px;
  line-height: 1.6;
  color: #fff;
}

.erreichen-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.erreichen-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px;
  border-radius: 24px;
  background: #ffffff12;
  border: 1px solid #ffffff29;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s, border-color 0.4s;
}

.erreichen-card:hover {
  transform: translateY(-6px);
  background: #ffffff1c;
}

.erreichen-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.erreichen-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 0;
}

.erreichen-card-title {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
}

.erreichen-card-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--tertiär);
  margin-top: 10px;
}

.erreichen-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

.erreichen-card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #ffffff24;
  flex: 1;
}

.erreichen-card-features div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
}

.erreichen-card-features span {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tertiär);
}

.erreichen-card-link {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #ffffff73;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.erreichen-card-link:hover {
  background: #ffffff1a;
}

@media screen and (max-width: 991px) {
  .erreichen-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .erreichen-head h2 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 479px) {
  .erreichen-section {
    padding-top: 80px;
    padding-bottom: 90px;
  }
}

/* ===== Vorteile accordion ===== */
.vorteile-v2-section {
  background: #fff;
  color: var(--sekundär);
  padding: 130px var(--content-pad);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.vorteile-v2-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 900px;
}

.vorteile-v2-head .eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiär);
}

.vorteile-v2-head h2 {
  margin: 0;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.vorteile-v2-head h2 span {
  color: var(--primär);
}

.vorteile-v2-head p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: #000;
}

.vorteile-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
}

.vorteile-v2-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vorteile-v2-list {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e3e7ef;
  /* Reserves enough room for the tallest of the 4 items' expanded descriptions
     (measured ~726-931px depending on viewport width, worst case near the
     992px breakpoint) so opening a shorter item doesn't shrink the list and
     make the whole section - and everything below it on the page - jump up
     and down as you click between items. The media breakpoints below raise
     this further for narrower layouts, where wrapped text runs taller. */
  min-height: 760px;
}

@media screen and (max-width: 1199px) {
  .vorteile-v2-list {
    min-height: 950px;
  }
}

.vorteile-v2-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 28px 0;
  border-top: 1px solid #e3e7ef;
  cursor: pointer;
}

.vorteile-v2-num {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #9fb0cc;
  transition: color 0.4s;
}

.vorteile-v2-item-title {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  color: var(--sekundär);
  display: block;
}

.vorteile-v2-item-desc-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vorteile-v2-item-desc {
  margin: 14px 0 0;
  overflow: hidden;
  min-height: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #000;
  opacity: 0;
  transition: opacity 0.3s;
  display: block;
}

.vorteile-v2-media {
  position: relative;
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--quatär);
}

.vorteile-v2-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#vort-r1:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="1"] .vorteile-v2-num,
#vort-r2:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="2"] .vorteile-v2-num,
#vort-r3:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="3"] .vorteile-v2-num,
#vort-r4:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="4"] .vorteile-v2-num {
  color: var(--tertiär);
}

#vort-r1:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="1"] .vorteile-v2-item-desc-wrap,
#vort-r2:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="2"] .vorteile-v2-item-desc-wrap,
#vort-r3:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="3"] .vorteile-v2-item-desc-wrap,
#vort-r4:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="4"] .vorteile-v2-item-desc-wrap {
  grid-template-rows: 1fr;
}

#vort-r1:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="1"] .vorteile-v2-item-desc,
#vort-r2:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="2"] .vorteile-v2-item-desc,
#vort-r3:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="3"] .vorteile-v2-item-desc,
#vort-r4:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="4"] .vorteile-v2-item-desc {
  opacity: 1;
  transition: opacity 0.35s 0.1s;
}

#vort-r1:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="1"] {
  border-top-color: var(--primär);
}
#vort-r2:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="2"] {
  border-top-color: var(--primär);
}
#vort-r3:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="3"] {
  border-top-color: var(--primär);
}
#vort-r4:checked ~ .vorteile-v2-grid .vorteile-v2-item[data-i="4"] {
  border-top-color: var(--primär);
}

#vort-r1:checked ~ .vorteile-v2-grid .vorteile-v2-media img[data-i="1"],
#vort-r2:checked ~ .vorteile-v2-grid .vorteile-v2-media img[data-i="2"],
#vort-r3:checked ~ .vorteile-v2-grid .vorteile-v2-media img[data-i="3"],
#vort-r4:checked ~ .vorteile-v2-grid .vorteile-v2-media img[data-i="4"] {
  opacity: 1;
  transform: scale(1);
}

@media screen and (max-width: 991px) {
  .vorteile-v2-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .vorteile-v2-media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .vorteile-v2-head h2 {
    font-size: 1.75rem;
  }

  .vorteile-v2-list {
    min-height: 1180px;
  }
}

@media screen and (max-width: 479px) {
  .vorteile-v2-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* ===== Prozess ===== */
.prozess-v2-section {
  background: var(--quatär);
  color: var(--sekundär);
  padding: 130px var(--content-pad);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.prozess-v2-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 1000px;
}

.prozess-v2-head .eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiär);
}

.prozess-v2-head h2 {
  margin: 0;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.prozess-v2-head h2 span {
  color: var(--primär);
}

.prozess-v2-head p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--sekundär);
}

.prozess-v2-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.prozess-v2-line {
  position: absolute;
  left: 54px;
  right: 54px;
  top: 54px;
  height: 1px;
  background: #c9d2e3;
}

.prozess-v2-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e3e7ef;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}

.prozess-v2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px #0b2c5640;
}

.prozess-v2-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tertiär);
  color: var(--sekundär);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 18px;
}

.prozess-v2-card-title {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
}

.prozess-v2-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sekundär);
}

@media screen and (max-width: 991px) {
  .prozess-v2-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prozess-v2-line {
    display: none;
  }

  .prozess-v2-head h2 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 479px) {
  .prozess-v2-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .prozess-v2-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===== Dentalexpertise ===== */
.dental-v2-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primär) 0%, #123e9e 55%, var(--sekundär) 100%);
  color: #fff;
  padding: 130px var(--content-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.dental-v2-left {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.dental-v2-left .eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiär);
}

.dental-v2-left h2 {
  margin: 0;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.dental-v2-left h2 span {
  color: var(--tertiär);
}

.dental-v2-left p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #fff;
}

.dental-v2-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid #ffffff24;
  border-bottom: 1px solid #ffffff24;
}

.dental-v2-facts div {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 700;
}

.dental-v2-facts span {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--tertiär);
  color: var(--tertiär);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.dental-v2-cta {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--sekundär);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.dental-v2-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dental-v2-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border-radius: 24px;
  background: #ffffff12;
  border: 1px solid #ffffff29;
}

.dental-v2-card .eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiär);
}

.dental-v2-card-title {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
}

.dental-v2-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

.dental-v2-person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #ffffff24;
}

.dental-v2-person img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.dental-v2-person-name {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 20px;
}

.dental-v2-person-role {
  font-size: 14px;
  color: #fff;
}

@media screen and (max-width: 991px) {
  .dental-v2-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .dental-v2-left h2 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 479px) {
  .dental-v2-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* ===== FAQ v2 ===== */
.faq-v2-section {
  background: #fff;
  color: var(--sekundär);
  padding: 130px var(--content-pad);
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.faq-v2-head {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq-v2-head .eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiär);
}

.faq-v2-head h2 {
  margin: 0;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.faq-v2-head h2 span {
  color: var(--primär);
}

.faq-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.faq-v2-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.faq-v2-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-v2-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: transparent;
  color: var(--sekundär);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.faq-v2-q span {
  font-size: 18px;
  flex-shrink: 0;
}

.faq-v2-panel-box {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  background: var(--quatär);
}

.faq-v2-panel {
  position: absolute;
  inset: 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-v2-panel-title {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
}

.faq-v2-panel p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--sekundär);
}

#faqv2-r1:checked ~ .faq-v2-grid .faq-v2-q[data-i="1"] { background: var(--primär); color: #fff; }
#faqv2-r1:checked ~ .faq-v2-grid .faq-v2-panel[data-i="1"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
#faqv2-r2:checked ~ .faq-v2-grid .faq-v2-q[data-i="2"] { background: var(--primär); color: #fff; }
#faqv2-r2:checked ~ .faq-v2-grid .faq-v2-panel[data-i="2"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
#faqv2-r3:checked ~ .faq-v2-grid .faq-v2-q[data-i="3"] { background: var(--primär); color: #fff; }
#faqv2-r3:checked ~ .faq-v2-grid .faq-v2-panel[data-i="3"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
#faqv2-r4:checked ~ .faq-v2-grid .faq-v2-q[data-i="4"] { background: var(--primär); color: #fff; }
#faqv2-r4:checked ~ .faq-v2-grid .faq-v2-panel[data-i="4"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
#faqv2-r5:checked ~ .faq-v2-grid .faq-v2-q[data-i="5"] { background: var(--primär); color: #fff; }
#faqv2-r5:checked ~ .faq-v2-grid .faq-v2-panel[data-i="5"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
#faqv2-r6:checked ~ .faq-v2-grid .faq-v2-q[data-i="6"] { background: var(--primär); color: #fff; }
#faqv2-r6:checked ~ .faq-v2-grid .faq-v2-panel[data-i="6"] { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media screen and (max-width: 991px) {
  .faq-v2-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Panels are position:absolute for the desktop crossfade, which means the
     answer text never contributes to the box's height - on a narrow column
     that made long answers spill out and overlap the next section. On mobile,
     drop the crossfade and let the active panel sit in normal flow instead. */
  .faq-v2-panel-box {
    min-height: 0;
  }

  .faq-v2-panel {
    position: static;
    inset: auto;
    display: none;
    opacity: 1;
    transform: none;
    padding: 24px;
  }

  #faqv2-r1:checked ~ .faq-v2-grid .faq-v2-panel[data-i="1"],
  #faqv2-r2:checked ~ .faq-v2-grid .faq-v2-panel[data-i="2"],
  #faqv2-r3:checked ~ .faq-v2-grid .faq-v2-panel[data-i="3"],
  #faqv2-r4:checked ~ .faq-v2-grid .faq-v2-panel[data-i="4"],
  #faqv2-r5:checked ~ .faq-v2-grid .faq-v2-panel[data-i="5"],
  #faqv2-r6:checked ~ .faq-v2-grid .faq-v2-panel[data-i="6"] {
    display: flex;
  }

  .faq-v2-head h2 {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 479px) {
  .faq-v2-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* ===== CTA "Kostenlose Praxisanalyse" ===== */
.cta-v2-section {
  background: #fff;
  padding: 0 var(--content-pad) 130px;
}

.cta-v2-box {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--primär) 0%, #123e9e 60%, var(--sekundär) 100%);
  color: #fff;
  padding: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.cta-v2-glow {
  position: absolute;
  right: -200px;
  bottom: -260px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff7a4538, #ff7a4500 62%);
  pointer-events: none;
}

.cta-v2-text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.cta-v2-text .eyebrow {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiär);
}

.cta-v2-text h2 {
  margin: 0;
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.cta-v2-text h2 span {
  display: inline-block;
  padding: 0 12px 2px;
  border-radius: 12px;
  background: var(--tertiär);
  color: var(--sekundär);
}

.cta-v2-text p {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
}

.cta-v2-button {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--sekundär);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.cta-v2-mock-wrap {
  position: relative;
  transform: rotate(1.5deg);
}

.cta-v2-mock-shadow {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 28px;
  background: #ffffff1f;
  border: 1px solid #ffffff33;
}

.cta-v2-mock {
  position: relative;
  border-radius: 28px;
  background: #fff;
  color: var(--sekundär);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 40px 90px #04102873;
}

.cta-v2-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-v2-step-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cta-v2-mock-step {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primär);
}

.cta-v2-mock-step span {
  display: none;
}

.cta-v2-mock-dots {
  display: flex;
  gap: 8px;
}

.cta-v2-mock-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef1f7;
  color: #5b6e8c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.cta-v2-mock-progress {
  height: 4px;
  border-radius: 2px;
  background: #eef1f7;
  overflow: hidden;
}

.cta-v2-mock-progress-fill {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: 2px;
  background: var(--tertiär);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-v2-mock-title {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
}

.cta-v2-mock-title span {
  display: none;
}

.cta-v2-mock-fields {
  position: relative;
  min-height: 148px;
}

.cta-v2-mock-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.cta-v2-mock-field-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--sekundär);
  margin-bottom: 8px;
}

.cta-v2-mock-field {
  display: block;
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1.5px solid #dce2ec;
  font-size: 15px;
  font-family: Lato, sans-serif;
  color: var(--sekundär);
  background: #fff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.cta-v2-mock-field::placeholder {
  color: #9fb0cc;
}

.cta-v2-mock-field:focus {
  border-color: var(--primär);
}

.cta-v2-mock-status {
  align-items: center;
  text-align: center;
  gap: 10px !important;
  min-height: 260px;
  justify-content: center;
}

.cta-v2-mock-status-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e6f4ea;
  color: #1a8a3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-v2-mock-status-icon.is-error {
  background: #fce8e6;
  color: #c0392b;
}

.cta-v2-mock-status-title {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  color: var(--sekundär);
}

.cta-v2-mock.is-done .cta-v2-mock-head,
.cta-v2-mock.is-done .cta-v2-mock-progress,
.cta-v2-mock.is-done .cta-v2-mock-title,
.cta-v2-mock.is-done .cta-v2-mock-fields,
.cta-v2-mock.is-done .cta-v2-mock-footer {
  display: none !important;
}

.cta-v2-mock-status.is-visible {
  display: flex !important;
}

#cta-v2-submit[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.cta-v2-mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-v2-mock-chip-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cta-v2-mock-chip {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid #dce2ec;
  font-size: 14px;
  font-weight: 700;
  color: var(--sekundär);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.cta-v2-mock-chip-radio:checked + .cta-v2-mock-chip {
  background: var(--primär);
  border-color: var(--primär);
  color: #fff;
}

.cta-v2-mock-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-v2-mock-back,
.cta-v2-mock-next {
  display: none;
}

.cta-v2-mock-back {
  font-size: 15px;
  font-weight: 700;
  color: var(--sekundär);
  cursor: pointer;
}

.cta-v2-mock-back.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.cta-v2-mock-next {
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--tertiär);
  color: var(--sekundär);
  font-weight: 700;
  font-size: 16px;
  font-family: Lato, sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Step-by-step reveal logic: each of the 4 hidden radios drives which counter
   label, dot, progress width, title, field panel and footer buttons show. */


.cta-v2-mock-badge {
  position: absolute;
  left: -34px;
  top: -22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--sekundär);
  color: #fff;
  border: 1px solid #ffffff40;
  font-size: 14px;
  font-weight: 700;
  transform: rotate(-4deg);
  white-space: nowrap;
}

@media screen and (max-width: 991px) {
  .cta-v2-box {
    grid-template-columns: minmax(0, 1fr);
    padding: 48px 32px;
  }

  .cta-v2-mock-wrap {
    transform: none;
  }

  .cta-v2-text h2 {
    font-size: 1.75rem;
  }

  .cta-v2-mock {
    padding: 24px;
  }
}

@media screen and (max-width: 479px) {
  .cta-v2-mock-badge {
    left: 0;
    top: -46px;
  }

  .cta-v2-box {
    padding: 40px 20px;
  }

  .cta-v2-mock {
    padding: 20px;
    gap: 18px;
  }

  .cta-v2-mock-head {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .cta-v2-mock-dots {
    gap: 6px;
  }

  .cta-v2-mock-dot {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .cta-v2-mock-step {
    font-size: 12px;
    letter-spacing: 0.04em;
  }
}

/* ===== Footer v2 ===== */
.footer-v2 {
  background: #071e3d;
  color: #fff;
  padding: 90px var(--content-pad) 36px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.footer-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

.footer-v2-brand img {
  height: 48px;
  display: block;
}

.footer-v2-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
}

.footer-v2-col-title {
  font-family: Clashdisplay, Verdana, sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 6px;
}

.footer-v2-col a {
  color: #fff;
  text-decoration: none;
}

.footer-v2-col a:hover {
  color: #fff;
}

.footer-v2-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 28px;
  border-top: 1px solid #ffffff1f;
  font-size: 14px;
  color: #fff;
}

.footer-v2-bottom-links {
  display: flex;
  gap: 10px;
}

.footer-v2-bottom-links a {
  color: #fff;
  text-decoration: none;
}

.footer-v2-bottom-links a:hover {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .footer-v2-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

/* ===== Narrow-screen safety: long German compound words must wrap ===== */
.erreichen-head h2,
.vorteile-v2-head h2,
.vorteile-v2-item-title,
.prozess-v2-head h2,
.dental-v2-left h2,
.faq-v2-head h2,
.cta-v2-text h2,
.hero-v2-content h1 {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

#ctastep-1:checked ~ .cta-v2-mock .cta-v2-mock-step span[data-i="1"] { display: inline; }
#ctastep-1:checked ~ .cta-v2-mock .cta-v2-mock-title span[data-i="1"] { display: inline; }
#ctastep-1:checked ~ .cta-v2-mock .cta-v2-mock-panel[data-i="1"] { display: flex; }
#ctastep-1:checked ~ .cta-v2-mock .cta-v2-mock-progress-fill { width: 25%; }
#ctastep-1:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="1"] { background: var(--tertiär); color: var(--sekundär); }
#ctastep-1:checked ~ .cta-v2-mock .cta-v2-mock-back[data-i="1"] { display: block; }
#ctastep-1:checked ~ .cta-v2-mock .cta-v2-mock-next[data-i="1"] { display: flex; }
#ctastep-2:checked ~ .cta-v2-mock .cta-v2-mock-step span[data-i="2"] { display: inline; }
#ctastep-2:checked ~ .cta-v2-mock .cta-v2-mock-title span[data-i="2"] { display: inline; }
#ctastep-2:checked ~ .cta-v2-mock .cta-v2-mock-panel[data-i="2"] { display: flex; }
#ctastep-2:checked ~ .cta-v2-mock .cta-v2-mock-progress-fill { width: 50%; }
#ctastep-2:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="2"] { background: var(--tertiär); color: var(--sekundär); }
#ctastep-2:checked ~ .cta-v2-mock .cta-v2-mock-back[data-i="2"] { display: block; }
#ctastep-2:checked ~ .cta-v2-mock .cta-v2-mock-next[data-i="2"] { display: flex; }
#ctastep-2:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="1"] { background: var(--sekundär); color: #fff; }
#ctastep-3:checked ~ .cta-v2-mock .cta-v2-mock-step span[data-i="3"] { display: inline; }
#ctastep-3:checked ~ .cta-v2-mock .cta-v2-mock-title span[data-i="3"] { display: inline; }
#ctastep-3:checked ~ .cta-v2-mock .cta-v2-mock-panel[data-i="3"] { display: flex; }
#ctastep-3:checked ~ .cta-v2-mock .cta-v2-mock-progress-fill { width: 75%; }
#ctastep-3:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="3"] { background: var(--tertiär); color: var(--sekundär); }
#ctastep-3:checked ~ .cta-v2-mock .cta-v2-mock-back[data-i="3"] { display: block; }
#ctastep-3:checked ~ .cta-v2-mock .cta-v2-mock-next[data-i="3"] { display: flex; }
#ctastep-3:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="1"] { background: var(--sekundär); color: #fff; }
#ctastep-3:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="2"] { background: var(--sekundär); color: #fff; }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-step span[data-i="4"] { display: inline; }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-title span[data-i="4"] { display: inline; }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-panel[data-i="4"] { display: flex; }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-progress-fill { width: 100%; }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="4"] { background: var(--tertiär); color: var(--sekundär); }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-back[data-i="4"] { display: block; }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-next[data-i="4"] { display: flex; }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="1"] { background: var(--sekundär); color: #fff; }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="2"] { background: var(--sekundär); color: #fff; }
#ctastep-4:checked ~ .cta-v2-mock .cta-v2-mock-dot[data-i="3"] { background: var(--sekundär); color: #fff; }

/* ===== Hover polish for the literal hero markup (hero CTAs, footer links,
   Recruiting job-card link) - these elements still carry their original
   scpN marker classes from the design export, reused here as hover hooks.
   (Header nav hover is handled by css/site-nav.css.) ===== */
.scp1:hover,
.scp5:hover,
.cta-v2-button:hover,
.dental-v2-cta:hover {
  filter: brightness(0.92);
}

a.scp1[style*="border: 1px solid"]:hover {
  background: #0b2c560d;
}

.scp9:hover {
  color: #fff !important;
}

.hero-v2-jobcard-link:hover,
a[style*="color: rgb(26, 86, 219)"]:hover {
  text-decoration: underline !important;
}

/* Literal hero heading (nowrap by default, matching the 1440px reference) needs to
   wrap and shrink on narrower screens so it doesn't get clipped by the hero's own
   overflow:hidden. */
@media screen and (max-width: 991px) {
  .pm-hero-h1 {
    font-size: 44px !important;
    white-space: normal !important;
  }
}

@media screen and (max-width: 479px) {
  .pm-hero-h1 {
    font-size: 32px !important;
  }
}

/* .pm-hero-mocks wraps the 3 literal mockups purely so mobile has a sized,
   positioned box to lay them out in; display:contents keeps it invisible to
   layout on desktop, so the mockups position exactly as before (against
   .pm-hero, their nearest real positioned ancestor). */
.pm-hero-mocks {
  display: contents;
}

/* Literal hero on mobile: drop the fixed 900px canvas but keep the 3 mockups
   absolutely positioned and overlapping like on desktop (just scaled down),
   instead of stacking them full-width - cropped left/right edges and a
   partially-hidden phone are intentional, it keeps the hero compact. */
@media screen and (max-width: 767px) {
  .pm-hero {
    height: auto !important;
    padding-bottom: 32px;
  }

  .pm-hero-mocks {
    display: block;
    position: relative;
    height: 150px;
    margin-top: 4px;
  }

  .pm-hero-mock {
    position: absolute !important;
    right: auto !important;
    margin-left: 0 !important;
    transform-origin: top left;
  }

  /* Scale factors are chosen per-card (not a single shared scale) so the 3
     mockups end up roughly the same visual height despite very different
     source aspect ratios (tall narrow phone vs. wide short browser card). */
  .pm-hero-mock[data-cursor-label="Social Media"] {
    left: -15px !important;
    top: 10px !important;
    transform: scale(0.2857) !important;
  }

  .pm-hero-mock[data-cursor-label="Website ansehen"] {
    left: 25px !important;
    top: 20px !important;
    transform: scale(0.3488) !important;
  }

  .pm-hero-mock[data-cursor-label="Recruiting"] {
    left: 235px !important;
    top: 15px !important;
    transform: scale(0.5714) !important;
  }
}
