/* Compact homepage: preserve every topic and scroll scene in a readable desktop grid. */
body.home-topic-journey .home-pattern-grid{background:#0b2c44;min-width:0}
body.home-topic-journey #inhalt .home-pattern-grid [data-home-story-panel]{padding-inline:var(--public-gutter);min-width:0;box-sizing:border-box}
body.home-topic-journey #coaching-einstieg .johanna-story{margin-top:24px;margin-bottom:28px}
body.home-topic-journey #coaching-einstieg .johanna-course-ticket{margin-top:20px;margin-bottom:28px}
/* Give the next heading a clear lead-in, while keeping its own copy close. */
body.home-topic-journey #coaching-einstieg>.home-pattern-keyline{margin-top:48px}
body.home-topic-journey #coaching-einstieg>#was-war-passiert{margin-top:80px}
body.home-topic-journey #coaching-einstieg .johanna-individual-invitation{margin-top:40px;margin-bottom:16px}
@media(max-width:650px){
 body.home-topic-journey #coaching-einstieg>.home-pattern-keyline{margin-top:40px}
 body.home-topic-journey #coaching-einstieg>#was-war-passiert{margin-top:60px}
 body.home-topic-journey #coaching-einstieg .johanna-individual-invitation{margin-top:32px;padding-top:32px}
}
@media(min-width:1200px){
 body.home-topic-journey #inhalt .home-pattern-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:0 var(--public-gutter) 36px}
 body.home-topic-journey #inhalt .home-pattern-grid [data-home-story-panel]{padding:24px 22px 20px;border:1px solid #a1cde13b;border-radius:22px;scroll-margin-top:24px}
 body.life-home-flow.home-topic-journey #inhalt .home-pattern-grid [data-home-story-panel]>.pattern-category{font-size:28px!important;line-height:1.16!important;min-height:65px;margin:0 0 8px;text-wrap:balance}
 body.life-home-flow.home-topic-journey #inhalt .home-pattern-grid [data-home-story-panel]>.pattern-example-title{font-size:21px!important;line-height:1.25!important;min-height:53px;margin:0 0 18px}
 body.home-topic-journey #inhalt .home-pattern-grid :is(.transformation-stage,.emotional-pattern-stage,.fear-pattern-stage,.phobia-pattern-stage,.social-pattern-stage,.relationship-pattern-stage){width:100%!important;height:clamp(440px,calc(100svh - 330px),530px)!important;min-height:0!important;max-width:none;aspect-ratio:auto;border-radius:16px;grid-template-rows:minmax(170px,1fr) auto}
 body.home-topic-journey #inhalt .home-pattern-grid :is(.transformation-stage,.phobia-pattern-stage){grid-template-rows:auto minmax(170px,1fr) auto}
 body.home-topic-journey #inhalt .home-pattern-row{min-width:0;position:relative;scroll-margin-top:12px}
 body.home-topic-journey #inhalt .home-pattern-row-frame{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}
 body.home-topic-journey #inhalt .home-pattern-row-ready:not(.home-pattern-row-compact):not(.home-pattern-row-still){height:calc(var(--home-row-height) + var(--home-row-travel))}
 body.home-topic-journey #inhalt .home-pattern-row-ready:not(.home-pattern-row-compact):not(.home-pattern-row-still)>.home-pattern-row-frame{position:sticky;top:var(--home-row-top,12px)}
 body.home-topic-journey #inhalt .home-pattern-grid .udo-scroll-track{margin:0;height:auto!important}
 body.home-topic-journey #inhalt .home-pattern-grid .udo-scroll-frame{position:relative!important;top:auto!important}
 body.home-topic-journey #inhalt .home-pattern-grid .phobia-new-image{left:38%;right:4%;font-size:15px;gap:4px}
 body.home-topic-journey #inhalt .home-pattern-grid .phobia-original span{font-size:13px}
 body.home-topic-journey #inhalt .home-pattern-grid :is(.transformation-status,.emotional-pattern-caption,.fear-pattern-caption,.phobia-pattern-caption,.social-pattern-caption,.relationship-pattern-caption){font-size:16px;line-height:1.45;padding:16px;min-height:190px}
 body.home-topic-journey #inhalt .home-pattern-grid :is(.transformation-status,.emotional-pattern-caption,.fear-pattern-caption,.phobia-pattern-caption,.relationship-pattern-caption)>strong{font-size:19px;line-height:1.3}
 body.home-topic-journey #inhalt .home-pattern-grid .social-pattern-caption h3{font-size:19px;line-height:1.3}
 body.home-topic-journey #inhalt .home-pattern-grid .social-pattern-caption p{font-size:16px;line-height:1.45}
 body.home-topic-journey #inhalt .home-pattern-grid .relationship-pattern-stage[data-beat="inner-wish"] .relationship-pattern-caption span{font-size:18px}
 body.home-topic-journey #inhalt .home-pattern-grid .coaching-scene-booking{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 0}
 body.home-topic-journey #inhalt .home-pattern-grid .coaching-scene-booking .public-action{padding:12px 10px;min-width:0;min-height:66px;font-size:14px!important}
 body.home-topic-journey #inhalt .home-pattern-grid :is(.emotional-pattern-dialogue,.fear-pattern-dialogue,.relationship-pattern-dialogue){font-size:15px;max-width:90%}
 body.home-topic-journey #inhalt .home-pattern-grid :is(.emotional-pattern-brain,.fear-pattern-brain){width:48%}
 body.home-topic-journey #dein-thema .home-topic-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 body.home-topic-journey #dein-thema .home-topic-card{min-height:140px;padding:15px;border-radius:17px}
 body.home-topic-journey #dein-thema .home-topic-card span{font-size:17px}
 body.home-topic-journey #coaching-einstieg .johanna-scene{grid-template-columns:1.08fr 1fr;grid-template-rows:auto;gap:24px;align-items:center}
 body.home-topic-journey #coaching-einstieg .johanna-picture{aspect-ratio:16/9;border-radius:12px}
 body.home-topic-journey #coaching-einstieg .johanna-caption{padding:8px 0;align-self:center}
 body.home-topic-journey #coaching-einstieg .johanna-caption h4{font-size:28px;line-height:1.2}
 body.home-topic-journey #coaching-einstieg .johanna-caption p:last-child{font-size:17px;line-height:1.5}
 body.home-topic-journey #coaching-einstieg .johanna-image-signature{font-size:23px;max-width:48%;top:16px;right:16px}
 body.home-topic-journey #coaching-einstieg .johanna-individual-invitation{padding:36px 30px 26px}
 body.home-topic-journey #coaching-einstieg .johanna-individual-invitation h3{font-size:38px!important}
 body.home-topic-journey #coaching-einstieg .johanna-individual-invitation p{font-size:19px}
}
@media(min-width:1200px) and (prefers-reduced-motion:reduce){
 body.home-topic-journey #inhalt .home-pattern-grid :is(.transformation-stage,.emotional-pattern-stage,.fear-pattern-stage,.phobia-pattern-stage,.social-pattern-stage,.relationship-pattern-stage){height:auto!important;min-height:530px!important}
}

/* Optional step controls sit with the picture and stay keyboard-accessible. */
body.home-topic-journey .home-scene-controls{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;margin-top:10px;position:relative}
body.home-topic-journey .home-scene-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:8px 12px;border:1px solid #aacfe18a;border-radius:10px;background:linear-gradient(135deg,#123650,#194c66);color:#f1faff;font:600 14px/1.3 Arial,sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff12}
body.home-topic-journey .home-scene-controls button:hover:not(:disabled){border-color:#efdaa4;background:#1b526c}
body.home-topic-journey .home-scene-controls button:focus-visible{outline:3px solid #d8c28d;outline-offset:3px}
body.home-topic-journey .home-scene-controls button:disabled{opacity:.4;cursor:default}
body.home-topic-journey .home-scene-step{font:600 12px/1.3 Arial,sans-serif;text-align:center;white-space:nowrap;color:inherit}
body.home-topic-journey .home-scene-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:380px){body.home-topic-journey .home-scene-controls{gap:7px}body.home-topic-journey .home-scene-controls button{font-size:13px;padding-inline:8px}body.home-topic-journey .home-scene-step{font-size:11px}}
@media(forced-colors:active){body.home-topic-journey .home-scene-controls button{background:ButtonFace;color:ButtonText;border-color:ButtonText}}

/* Keep the approved opening intact; give each new decision room to begin. */
body.home-topic-journey #coaching-einstieg .johanna-story{margin-top:32px;margin-bottom:0}
body.home-topic-journey #coaching-einstieg .johanna-coaching-ticket{margin-top:40px}
body.home-topic-journey #dein-thema.home-topic-picker{padding-top:64px;padding-bottom:64px}
body.home-topic-journey #dein-thema.home-topic-picker h2{margin-bottom:32px}
@media(max-width:650px){
 body.home-topic-journey #coaching-einstieg .johanna-story{margin-top:28px}
 body.home-topic-journey #coaching-einstieg .johanna-coaching-ticket{margin-top:32px}
 body.home-topic-journey #dein-thema.home-topic-picker{padding-top:48px;padding-bottom:48px}
 body.home-topic-journey #dein-thema.home-topic-picker h2{margin-bottom:26px}
}

body.home-topic-journey #dein-thema #home-nlp-title {
  margin-top: clamp(44px, 6vw, 80px);
  margin-bottom: clamp(22px, 2.6vw, 34px);
  scroll-margin-top: 100px;
}
body.home-topic-journey #dein-thema #home-nlp-title + .home-topic-grid {
  gap: clamp(14px, 1.5vw, 22px);
}
body.home-topic-journey #dein-thema #home-nlp-title + .home-topic-grid + p {
  margin-top: clamp(24px, 3vw, 40px);
}

body.home-topic-journey #dein-thema.home-topic-picker #home-nlp-title {
  color: #123b3f !important;
  -webkit-text-fill-color: currentColor;
}
body.home-topic-journey #dein-thema.home-topic-picker #home-nlp-title::before {
  content: "";
  display: block;
  width: 4rem;
  height: 3px;
  margin-bottom: 0.75rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #123b3f, #34665e 46%, #123b3f);
}
