/* ============================================================
   UMANO AG · Subpage shared styles
   ============================================================ */

.sub-hero {
  position: relative;
  padding: clamp(120px, 16vw, 200px) 0 clamp(48px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.sub-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 500px at 80% 20%, rgba(168,210,222,.40), transparent 60%),
    radial-gradient(600px 500px at 0% 90%, rgba(245,146,147,.14), transparent 60%),
    linear-gradient(180deg, #FBFCFD 0%, #F2F6F8 100%);
}
.sub-hero-grid { display: none; }
.crumbs {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.crumbs a {
  color: var(--ink-3);
  transition: color .2s var(--ease);
}
.crumbs a:hover { color: var(--u-blue); }
.crumbs span.sep { opacity: 0.5; }
.crumbs strong { color: var(--u-blue-dark); font-weight: 700; }

.sub-hero-grid-inner {
  display: grid;
  grid-template-columns: 1.15fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 980px) { .sub-hero-grid-inner { grid-template-columns: 1fr; } }

.sub-hero h1 {
  font-size: clamp(36px, 6vw, 96px);
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 16px 0 24px;
}
.sub-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--u-blue) 0%, var(--u-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sub-hero .lead { font-size: clamp(18px, 1.5vw, 22px); }

.sub-hero-photo {
  height: clamp(420px, 48vw, 640px);
  border-radius: var(--r-xl);
}

.sub-hero-visual {
  position: relative;
}
.sub-hero-illu-deco {
  position: absolute;
  right: -32px;
  bottom: -90px;
  height: 38%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
  animation: subHeroIlluFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 16px 28px rgba(0, 53, 83, 0.22));
}
@keyframes subHeroIlluFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .sub-hero-illu-deco { animation: none; }
}
@media (max-width: 720px) {
  .sub-hero-illu-deco { right: -10px; bottom: -40px; height: 30%; opacity: 0.7; }
}

/* ===== Two-column rich content ===== */
.rich {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.rich-body { padding-top: 38px; }
@media (max-width: 980px) { .rich { grid-template-columns: 1fr; } }
.rich-side { position: sticky; top: 110px; }
@media (max-width: 980px) { .rich-side { position: static; top: auto; } }
.rich-side h2 { margin-bottom: 18px; }
.rich-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 20px;
}
.rich-body p.lead-prose {
  font-size: 22px;
  line-height: 1.45;
  color: var(--u-blue-dark);
  font-weight: 600;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.rich-body h3 {
  font-size: 24px;
  margin: 36px 0 12px;
  color: var(--u-blue-dark);
}

/* ===== Step cards ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #E6EEF3;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform .8s cubic-bezier(.22,.9,.32,1), box-shadow .8s cubic-bezier(.22,.9,.32,1), background-color .8s cubic-bezier(.22,.9,.32,1), color .8s cubic-bezier(.22,.9,.32,1);
  cursor: default;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0,53,83,.18);
  background: var(--u-blue-dark);
  color: white;
}
.step:hover .step-num,
.step:hover h4,
.step:hover p { color: white; }
.step-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--u-blue);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.step h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--u-blue-dark);
  font-weight: 700;
}
.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ===== Audience cards ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .audience-grid { grid-template-columns: 1fr; } }
.audience {
  padding: 32px 28px;
  background: #E6EEF3;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  transition: transform .8s cubic-bezier(.22,.9,.32,1), box-shadow .8s cubic-bezier(.22,.9,.32,1), background-color .8s cubic-bezier(.22,.9,.32,1), color .8s cubic-bezier(.22,.9,.32,1);
}
.audience:hover {
  background: var(--u-blue-dark);
  color: white;
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0,53,83,.18);
  border-color: transparent;
}
.audience:hover h4 { color: white; }
.audience:hover p { color: rgba(234,244,248,.85); }
.audience-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 144, .1);
  color: var(--u-blue);
  margin-bottom: 18px;
  transition: all .35s var(--ease);
}
.audience:hover .audience-icon {
  background: rgba(168, 210, 222, .15);
  color: var(--u-blue-light);
}
.audience h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--u-blue-dark);
  transition: color .35s var(--ease);
}
.audience p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  transition: color .35s var(--ease);
}

/* ===== Stat cards strip ===== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
@media (max-width: 880px) { .stat-strip { grid-template-columns: 1fr; } }
.stat-strip > div {
  padding: 32px 28px;
  border-right: 0;
  background: #E6EEF3;
  border-radius: var(--r-lg);
  transition: transform .8s cubic-bezier(.22,.9,.32,1), box-shadow .8s cubic-bezier(.22,.9,.32,1), background-color .8s cubic-bezier(.22,.9,.32,1), color .8s cubic-bezier(.22,.9,.32,1);
}
.stat-strip > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0,53,83,.18);
  background: var(--u-blue-dark);
  color: white;
}
.stat-strip > div:hover .big,
.stat-strip > div:hover .desc { color: white; }
.stat-strip > div:last-child { border-right: 0; }
@media (max-width: 880px) {
  .stat-strip > div { border-right: 0; border-bottom: 0; }
}
.stat-strip .big {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  color: var(--u-blue-dark);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.stat-strip .desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ===== Bullet list ===== */
.bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bullets li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 16px;
  line-height: 1.55;
}
.bullets li::before {
  content: "";
  width: 22px; height: 22px;
  background: var(--u-blue-light);
  border-radius: 50%;
  position: relative;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003553' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== CTA card inline ===== */
.cta-card {
  background: var(--u-blue-dark);
  color: white;
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(95, 165, 147, .30), transparent 60%);
}
@media (max-width: 880px) { .cta-card { grid-template-columns: 1fr; } }
.cta-card h3 {
  color: white;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cta-card p {
  color: rgba(234,244,248,.78);
  margin: 0;
  font-size: 16px;
  position: relative;
  z-index: 1;
}
.cta-card .btn-primary {
  background: white;
  color: var(--u-blue-dark);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.cta-card .btn-primary:hover {
  background: var(--u-blue-light);
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.4);
}

/* ===== Module cards (used on Bewerbungscoaching) ===== */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 1024px) { .modules { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } }
.module {
  background: #E6EEF3;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .8s cubic-bezier(.22,.9,.32,1), box-shadow .8s cubic-bezier(.22,.9,.32,1), background-color .8s cubic-bezier(.22,.9,.32,1), color .8s cubic-bezier(.22,.9,.32,1);
}
.module:hover {
  transform: translateY(-6px);
  background: var(--u-blue-dark);
  color: white;
  box-shadow: 0 30px 60px -20px rgba(0,53,83,.18);
}
.module:hover h4,
.module:hover .module-tag,
.module:hover p { color: white; }
.module:hover .module-duration { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }
.module-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--u-blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.module h4 {
  font-size: 22px;
  margin: 4px 0 10px;
  color: var(--u-blue-dark);
}
.module p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.module-duration {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
}

/* ===== Modul-Illustration (oben in der Karte) ===== */
.module-illus {
  background: #fff;
  border-radius: 14px;
  height: clamp(228px, 15vw, 300px);
  margin-bottom: 6px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}
.module-illus .module-tag { align-self: flex-start; margin-bottom: 4px; flex: 0 0 auto; }
.module:hover .module-illus .module-tag { color: var(--u-blue); }
.module-illus img {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  display: block;
}
/* Feinabstimmung: quer-/breitformatige Motive etwas verkleinern, damit alle
   drei visuell gleich gross wirken (Job Coaching = Referenz, volle Groesse) */
.module-illus img[src*="arbeitsvermittlung"] { transform: scale(0.76); }
.module-illus img[src*="bewerbungscoaching"] { transform: scale(0.82); }

/* Breitbildschirm: Illustrationen deutlich groesser (Laptop/Mac < 1900px bleibt unveraendert) */
@media (min-width: 1900px) {
  .module-illus { height: clamp(320px, 19vw, 480px); }
}

/* ===== Verknüpfungen-Map ===== */
.verbindungen-map {
  margin: clamp(28px, 4vw, 44px) 0 0;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(14px, 1.6vw, 22px);
}
.verbindungen-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
}
/* Marktposition: Titel über die ganze Breite oben, mit klarem Abstand darunter
   (wie bei den Kachel-Sektionen). Darunter Illustration (links) und Text (rechts)
   als gleich hohes Paar: oben UND unten bündig zueinander. */
.konzept-head { margin-bottom: clamp(36px, 4.5vw, 60px); }
.konzept-head h2 { margin-top: 18px; }
#konzept .rich { align-items: stretch; }
#konzept .rich-side {
  position: static;
  display: flex;
  flex-direction: column;
}
/* Grafik-Karte füllt die volle Spaltenhöhe (= Höhe des Textes rechts),
   die Illustration selbst wird darin zentriert (nicht verzerrt/beschnitten). */
#konzept .rich-side .verbindungen-map {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#konzept .rich-side .verbindungen-map img { max-height: 100%; }
#konzept .rich-body { align-self: stretch; padding-top: 0; }
@media (max-width: 980px) {
  #konzept .rich-side .verbindungen-map { height: auto; }
  #konzept .rich-body { align-self: auto; }
}

/* ===== Other-services preview ===== */
.other-services {
  background: var(--bg-soft);
  padding-block: clamp(80px, 9vw, 120px);
}
.other-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .other-grid { grid-template-columns: 1fr 1fr; } }
.other {
  display: block;
  padding: 28px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all .25s var(--ease);
}
.other:hover {
  transform: translateY(-3px);
  border-color: var(--u-blue);
}
.other-num {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--u-blue);
  font-weight: 700;
  margin-bottom: 10px;
}
.other h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--u-blue-dark);
}
.other p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
}

/* ===== Testimonials (Stimmen) ===== */
.test-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .test-row { grid-template-columns: 1fr; } }
.test {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.test:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -24px rgba(0,53,83,.18);
}
.test::before {
  content: "\201C";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  color: var(--u-blue-light);
  margin-bottom: 8px;
  display: block;
}
.test-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-1);
  margin: 0 0 24px;
  flex: 1;
}
.test-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.test-author strong {
  font-size: 15px;
  color: var(--u-blue-dark);
  font-weight: 700;
}
.test-author span {
  font-size: 13px;
  color: var(--ink-3);
}

/* ============================================================
   Produkt-Modals (Arbeitsintegration) + "Mehr erfahren"-Link
   ============================================================ */
.module-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--u-blue);
  cursor: pointer;
  transition: color .3s var(--ease);
}
.module:hover .module-more { color: #fff; }
.module-more svg { transition: transform .25s var(--ease); }
.module-more:hover svg { transform: translateX(4px); }

.pmodal {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--r-lg);
  max-width: 680px;
  width: calc(100vw - 40px);
  max-height: calc(100vh - 60px);
  background: var(--bg);
  color: var(--ink-2);
  box-shadow: 0 40px 90px -24px rgba(0, 34, 56, .55);
  overflow: hidden;
}
.pmodal::backdrop {
  background: rgba(0, 34, 56, .55);
  backdrop-filter: blur(2px);
}
.pmodal-inner {
  padding: 34px 38px 32px;
  overflow-y: auto;
  max-height: calc(100vh - 60px);
}
.pmodal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 53, 83, .07);
  color: var(--u-blue-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.pmodal-close:hover { background: rgba(0, 53, 83, .15); }
.pm-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--u-blue);
}
.pm-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--u-blue-dark);
  margin: 8px 0 14px;
  padding-right: 40px;
}
.pmodal p { font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; }
.pm-h {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--u-blue);
  margin: 22px 0 12px;
}
.pm-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pm-steps li { position: relative; padding-left: 40px; font-size: 14px; line-height: 1.45; counter-increment: s; }
.pm-steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -1px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--u-blue-dark);
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pm-steps b { color: var(--u-blue-dark); font-weight: 700; }
.pm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pm-list li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.45; }
.pm-list li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px; border-radius: 50%;
  background-color: var(--u-blue-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23003553' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.pm-dur { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.pm-dur div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 16px; font-size: 13.5px;
  border-top: 1px solid var(--line);
}
.pm-dur div:first-child { border-top: none; }
.pm-dur .d-lab { color: var(--ink-2); font-weight: 600; }
.pm-dur .d-val { color: var(--u-blue); font-weight: 700; white-space: nowrap; }
.pm-note { font-size: 12.5px; color: var(--ink-3); margin: 10px 0 0; }
.pm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pm-cta .btn { font-size: 14px; padding: 12px 22px; }
@media (max-width: 600px) {
  .pmodal-inner { padding: 28px 22px 26px; }
  .pm-title { font-size: 22px; }
}
