/* =============================================================
   LeitArt — Use-case sub-page styles (shared, desktop)
   Look & structure mirror the Budget- & Finanzplanung page:
   asymmetric borderless content boxes with a coloured hover bar,
   coloured arrow buttons, brand "disc" numbers, CSS tablet hero.
   ============================================================= */

/* ---------- Hero ---------- */
.uc-hero {
  position: relative; padding: 36px var(--pad-x) 84px;
  display: grid; grid-template-columns: 0.92fr 1.28fr;
  align-items: center; gap: 40px; min-height: 600px;
}
.uc-hero__inner { position: relative; z-index: 2; max-width: 620px; }
.uc-hero__title {
  font-size: clamp(46px, 5.4vw, 80px); line-height: var(--lh-tight); letter-spacing: -0.02em; margin: 0;
}
.uc-hero__sub { margin-top: 22px; max-width: 470px; font-weight: 300; font-size: 18.5px; line-height: 1.62; color: rgba(255,255,255,0.82); }
.uc-hero__cta { margin-top: 32px; display: flex; align-items: center; gap: 18px; }

/* CSS tablet keyvisual — soft glow lifts it off the Ink ground */
.uc-hero__visual { position: relative; z-index: 1; justify-self: end; width: 100%; margin-top: 16px; }
.uc-hero__visual::before {
  content: ""; position: absolute; inset: 2% -8% -10% -8%;
  background: radial-gradient(56% 56% at 50% 46%, rgba(76,160,170,0.24) 0%, rgba(76,160,170,0) 70%);
  z-index: 0; pointer-events: none;
}
.uc-hero__visual .kv-tablet {
  position: relative; z-index: 1; width: 78%; margin-left: auto; margin-right: auto;
  opacity: 0; transform: translateY(22px) scale(0.985);
  animation: uc-tablet-in 1100ms var(--ease-out-expo) 200ms both;
}
@keyframes uc-tablet-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .uc-hero__visual .kv-tablet { opacity: 1; transform: none; animation: none; } }

/* ---------- Section frame ---------- */
.uc-section { position: relative; padding: 104px var(--pad-x); z-index: 1; }
.uc-section--tight { padding-top: 48px; }
.uc-chaphead { display: flex; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 64px; }
.uc-chaphead h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: var(--lh-tight); letter-spacing: -0.02em; margin: 0; }
.uc-chaphead p { margin: 0 0 6px; max-width: 420px; font-weight: 300; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.7); }

/* ---------- Content module ---------- */
.uc-mod {
  position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: stretch;
  background: rgba(58,66,72,0.42); border: 0; border-radius: 56px 0 56px 0; overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out-expo), background var(--dur-base) var(--ease-out-expo);
}
.uc-mod::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--ac, var(--la-fischerblau)); transform: scaleY(0); transform-origin: top; z-index: 3;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}
.uc-mod:hover { background: rgba(64,73,80,0.6); transform: translateY(-3px); }
.uc-mod:hover::before { transform: scaleY(1); }
.uc-mod--rev { grid-template-columns: 0.98fr 1.02fr; border-radius: 0 56px 0 56px; }
.uc-mod--rev::before { left: auto; right: 0; }
.uc-mod__text { padding: 52px 52px 52px 56px; display: flex; flex-direction: column; }
.uc-mod--rev .uc-mod__text { order: 2; padding-left: 52px; }
.uc-mod__text h3 { font-size: clamp(28px, 3vw, 44px); line-height: var(--lh-snug); letter-spacing: -0.015em; margin: 0; }
.uc-mod__text p { font-weight: 300; font-size: 17px; line-height: 1.66; color: rgba(255,255,255,0.76); margin: 20px 0 0; }

/* inline stat discs */
.uc-stats { display: flex; gap: 36px; margin: 30px 0 0; flex-wrap: wrap; }
.uc-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.uc-stat__n {
  width: 86px; height: 86px; border-radius: 999px; border: 4px solid #fff; box-sizing: border-box;
  background: var(--ac, var(--la-fischerblau)); box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  display: grid; place-items: center; font-family: var(--font-headline); font-weight: 700;
  /* One fixed size for every stat disc, regardless of content length (a
     single digit or a short string like "1 App") — the old "sm" variant
     made these wildly inconsistent from page to page since whether a given
     value counted as "long enough" for it was a manual, subjective call.
     Sized down from 24px so the longest current label ("rollierend") still
     clears the 78px inner circle without touching the border. */
  font-size: 15px; line-height: 1; letter-spacing: -0.01em; color: #fff;
  transition: opacity var(--dur-base) var(--ease-out-expo);
}
.uc-stat__n.sm { font-size: 15px; }
.uc-stat__n:hover { opacity: 0.5; }
.uc-stat__l { margin-top: 12px; font-weight: 300; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,0.66); max-width: 150px; }

.uc-mod__cta { margin-top: auto; padding-top: 34px; display: flex; align-items: center; gap: 16px; }
/* Use-case modules carry no arrow CTA (same as the Finanzplanung page) */
.uc-mod__cta { display: none; }
.uc-mod__cta .la-arrow { border-color: #fff; background: var(--ac, var(--la-fischerblau)); }

/* ---------- Image placeholder ---------- */
.uc-ph {
  position: relative; min-height: 340px; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 22px, rgba(255,255,255,0) 22px 44px), rgba(46,53,58,0.7);
  border-left: 1px solid rgba(255,255,255,0.08);
}
.uc-mod--rev .uc-ph { order: 1; border-left: 0; border-right: 1px solid rgba(255,255,255,0.08); }
/* Modules with no image at all (no photography planned for the page) drop
   the .uc-ph cell entirely — collapse back to a single full-width column. */
.uc-mod--text-only { grid-template-columns: 1fr; }
.uc-ph__frame {
  width: calc(100% - 56px); height: calc(100% - 56px); border: 1.5px dashed rgba(255,255,255,0.22);
  border-radius: 28px 0 28px 0; display: grid; place-items: center; text-align: center; color: rgba(255,255,255,0.5);
}
.uc-ph__icon { width: 52px; height: 52px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.4); display: grid; place-items: center; margin: 0 auto 16px; }
.uc-ph__icon svg { width: 22px; height: 22px; stroke: rgba(255,255,255,0.55); }
.uc-ph__label { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.uc-ph__hint { margin-top: 6px; font-weight: 300; font-size: 12px; letter-spacing: 0; color: rgba(255,255,255,0.4); }

/* ---------- Key components ---------- */
.uc-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.uc-key {
  position: relative; overflow: hidden; background: rgba(58,66,72,0.42); border: 0; border-radius: 40px 0 40px 0;
  padding: 38px 40px 40px; transition: transform var(--dur-base) var(--ease-out-expo), background var(--dur-base) var(--ease-out-expo);
}
.uc-key::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ac, var(--la-fischerblau));
  transform: scaleY(0); transform-origin: top; z-index: 2; transition: transform var(--dur-slow) var(--ease-out-expo);
}
.uc-key:hover { background: rgba(64,73,80,0.6); transform: translateY(-3px); }
.uc-key:hover::before { transform: scaleY(1); }
.uc-key__bar { width: 36px; height: 4px; border-radius: 2px; background: var(--ac, var(--la-fischerblau)); margin-bottom: 22px; }
.uc-key h3 { font-size: 22px; line-height: var(--lh-snug); margin: 0 0 12px; }
.uc-key p { font-weight: 300; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,0.74); margin: 0; }

/* ---------- Results ---------- */
.uc-results { position: relative; overflow: hidden; background: rgba(58,66,72,0.5); border-radius: 64px 0 64px 0; display: grid; grid-template-columns: 1fr 1fr; }
.uc-results__num { padding: 60px 56px; border-bottom: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; align-items: center; text-align: center; }
.uc-results__num:nth-child(2) { border-right: 0; }
.uc-results__n {
  width: 150px; height: 150px; border-radius: 999px; border: 5px solid #fff; box-sizing: border-box;
  box-shadow: 0 8px 26px rgba(0,0,0,0.38); display: grid; place-items: center;
  font-family: var(--font-headline); font-weight: 700;
  /* Same reasoning as .uc-stat__n above: one fixed size for every results
     disc regardless of content length. */
  font-size: 34px; line-height: 1; letter-spacing: -0.02em; color: #fff;
  transition: opacity var(--dur-base) var(--ease-out-expo);
}
.uc-results__n.sm { font-size: 34px; padding: 0 8px; }
.uc-results__n:hover { opacity: 0.5; }
.uc-results__num:nth-child(1) .uc-results__n { background: var(--la-kupferrot); }
.uc-results__num:nth-child(2) .uc-results__n { background: var(--la-fischerblau); }
.uc-results__l { margin-top: 20px; font-weight: 300; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,0.74); max-width: 320px; text-align: center; }
.uc-results__note { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.1); padding: 44px 56px; }
.uc-results__note p { margin: 0; max-width: 760px; font-weight: 300; font-size: 17.5px; line-height: 1.66; color: rgba(255,255,255,0.8); }

/* ---------- Contact CTA ---------- */
/* Same treatment as the homepage's "Book us!" module: plain headline above,
   full-width corporate-gray box below (no border) holding the bold intro
   copy and the two contacts, evenly spread. */
.uc-cta { position: relative; padding: 104px var(--pad-x) 130px; }
.uc-cta__inner { position: relative; z-index: 1; max-width: 1180px; }
.uc-cta__title { font-size: clamp(40px, 5.2vw, 76px); line-height: var(--lh-tight); letter-spacing: -0.02em; margin: 0; }
.uc-cta__box {
  position: relative; z-index: 1; margin-top: 48px;
  background: rgba(58,66,72,0.6);
  border-radius: 40px 0 40px 0;
  padding: 56px;
  display: flex; align-items: center; justify-content: space-evenly; gap: 48px; flex-wrap: wrap;
}
.uc-cta__copy { font-weight: 700; font-size: 26px; line-height: var(--lh-snug); color: #fff; margin: 0; max-width: 430px; }
.uc-contact h4 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 8px; font-family: var(--font-body); }
.uc-contact p { margin: 0; font-weight: 300; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.84); }
.uc-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); }
.uc-contact a:hover { border-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .uc-hero { grid-template-columns: 1fr; padding-bottom: 48px; min-height: 0; gap: 24px; }
  .uc-hero__inner { max-width: 100%; }
  .uc-hero__visual { justify-self: stretch; }
  .uc-section { padding: 56px var(--pad-x); }
  .uc-mod, .uc-mod--rev { grid-template-columns: 1fr; border-radius: 40px 0 40px 0; }
  .uc-mod__text, .uc-mod--rev .uc-mod__text { order: 1; padding: 38px 32px; }
  .uc-mod--rev .uc-ph, .uc-ph { order: 2; min-height: 240px; border-left: 0; border-right: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .uc-chaphead { flex-direction: column; align-items: flex-start; }
  .uc-chaphead p { max-width: 100%; }
  .uc-keys { grid-template-columns: 1fr; }
  .uc-results { grid-template-columns: 1fr; border-radius: 40px 0 40px 0; }
  .uc-results__num { border-right: 0 !important; padding: 40px 32px; }
  .uc-results__note { padding: 36px 32px; }
}
@media (max-width: 560px) {
  .uc-stats { gap: 28px; }
  .uc-mod__text { padding: 30px 24px; }
}
