/* JHB Orientierung 2026 – shared SEO knowledge pages.
   Scoped, CSS-only interactions, one asset for all four pages. */
.jhb-orient{
  --jo-green:#0e3c28;
  --jo-green-2:#174a30;
  --jo-green-soft:#e8f6ef;
  --jo-orange:#e9620b;
  --jo-orange-dark:#b74707;
  --jo-orange-soft:#fff2e8;
  --jo-blue:#246f86;
  --jo-ink:#122637;
  --jo-muted:#607384;
  --jo-line:rgba(18,38,55,.105);
  --jo-card:#fff;
  --jo-shadow:0 20px 58px rgba(29,48,40,.09);
  --jo-radius:30px;
  --jo-max:1120px;
  overflow:hidden;
  color:var(--jo-ink);
  background:#fff;
  font-family:"Nunito Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.jhb-orient *, .jhb-orient *::before, .jhb-orient *::after{box-sizing:border-box}
.jhb-orient-wrap{width:min(var(--jo-max),calc(100% - 48px));margin-inline:auto}
.jhb-orient :is(h1,h2,h3,p){margin-top:0}
.jhb-orient :is(h1,h2,h3){font-family:"Nunito",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--jo-ink);font-weight:900;letter-spacing:-.035em}
.jhb-orient h1{max-width:900px;margin:0 auto 18px;font-size:clamp(2.5rem,5vw,4.55rem);line-height:1.03;text-wrap:balance}
.jhb-orient h2{margin-bottom:15px;font-size:clamp(1.9rem,3.5vw,3rem);line-height:1.07;text-wrap:balance}
.jhb-orient h3{margin-bottom:9px;font-size:clamp(1.08rem,1.5vw,1.34rem);line-height:1.18}
.jhb-orient p{color:var(--jo-muted);font-size:1.03rem;line-height:1.62;text-wrap:pretty;overflow-wrap:break-word;hyphens:auto}
.jhb-orient a{color:inherit}

.jhb-orient-hero{position:relative;padding:clamp(58px,7vw,96px) 0 clamp(48px,6vw,74px);text-align:center;background:radial-gradient(circle at 9% 12%,rgba(233,98,11,.13),transparent 31%),radial-gradient(circle at 91% 14%,rgba(69,144,117,.15),transparent 31%),linear-gradient(116deg,#fff7f0 0%,#fffdf9 43%,#effbf8 100%)}
.jhb-orient-hero::after{content:"";position:absolute;inset:auto 8% 0;height:1px;background:linear-gradient(90deg,transparent,var(--jo-line),transparent)}
.jhb-orient-hero__inner{position:relative;z-index:1;display:grid;justify-items:center}
.jhb-orient-breadcrumb{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:0 0 24px;color:#6c7d89;font-size:.78rem;font-weight:800}
.jhb-orient-breadcrumb a{text-decoration:none}.jhb-orient-breadcrumb a:hover{color:var(--jo-orange-dark)}
.jhb-orient-eyebrow,.jhb-orient-kicker{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;margin:0 auto 18px;padding:8px 13px;border:1px solid rgba(233,98,11,.18);border-radius:999px;background:rgba(255,255,255,.76);color:var(--jo-orange-dark)!important;font-size:.78rem!important;font-weight:900;line-height:1.1!important;letter-spacing:.03em;box-shadow:0 10px 24px rgba(233,98,11,.07)}
.jhb-orient-eyebrow span{width:9px;height:9px;border-radius:50%;background:var(--jo-orange);box-shadow:0 0 0 5px rgba(233,98,11,.11)}
.jhb-orient-lead{max-width:820px;margin:0 auto 16px;font-size:clamp(1.14rem,1.7vw,1.42rem)!important;line-height:1.6!important;color:#405465!important}
.jhb-orient-note{max-width:800px;margin:0 auto 28px;font-size:.95rem!important;line-height:1.68!important;color:#6b7f8f!important}
.jhb-orient-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:0 auto 32px}
.jhb-orient-btn,.jhb-orient-btn:visited{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:13px 23px;border:1px solid transparent;border-radius:999px;font-size:.94rem;font-weight:900;line-height:1;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,color .2s ease}
.jhb-orient-btn--primary,.jhb-orient-btn--primary:visited{color:#fff!important;background:linear-gradient(135deg,var(--jo-orange),#f36b10);box-shadow:0 16px 30px rgba(233,98,11,.22)}
.jhb-orient-btn--secondary,.jhb-orient-btn--secondary:visited{color:var(--jo-ink)!important;background:rgba(255,255,255,.85);border-color:rgba(233,98,11,.24);box-shadow:0 12px 28px rgba(20,42,54,.07)}
.jhb-orient-btn:hover{transform:translateY(-2px)}
.jhb-orient-btn--primary:hover{color:#fff!important;box-shadow:0 19px 36px rgba(233,98,11,.28)}
.jhb-orient-btn--secondary:hover{color:var(--jo-orange-dark)!important;border-color:rgba(233,98,11,.38);background:#fff}

.jhb-orient-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(950px,100%)}
.jhb-orient-fact{padding:19px 18px 18px;border:1px solid rgba(18,38,55,.08);border-radius:23px;background:rgba(255,255,255,.76);box-shadow:0 14px 34px rgba(20,42,54,.06);backdrop-filter:blur(10px)}
.jhb-orient-fact span,.jhb-orient-card>span,.jhb-orient-link-card>span{display:inline-flex;width:max-content;max-width:100%;margin-bottom:9px;padding:6px 10px;border-radius:999px;background:var(--jo-orange-soft);color:var(--jo-orange-dark);font-size:.71rem;font-weight:900;line-height:1}
.jhb-orient-fact strong{display:block;margin-bottom:6px;color:var(--jo-ink);font-size:1rem}.jhb-orient-fact p{margin:0;font-size:.9rem;line-height:1.46}
.jhb-orient-jump{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;width:min(920px,100%);margin-top:26px}
.jhb-orient-jump a{display:inline-flex;align-items:center;min-height:34px;padding:9px 14px;border:1px solid rgba(233,98,11,.16);border-radius:999px;background:rgba(255,255,255,.86);box-shadow:0 8px 20px rgba(84,48,24,.045);color:var(--jo-orange-dark);font-size:.75rem;font-weight:900;line-height:1.15;text-decoration:none;transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.jhb-orient-jump a:hover{transform:translateY(-2px);border-color:rgba(233,98,11,.3);background:#fff7f0;box-shadow:0 12px 25px rgba(84,48,24,.075)}

.jhb-orient-section{position:relative;padding:clamp(60px,7vw,92px) 0;scroll-margin-top:210px}
.jhb-orient-section--white{background:linear-gradient(180deg,#fff,rgba(255,255,255,.95))}
.jhb-orient-section--warm{background:radial-gradient(circle at 10% 20%,rgba(233,98,11,.09),transparent 30%),linear-gradient(180deg,#fffaf5,#fff)}
.jhb-orient-section--mint{background:radial-gradient(circle at 90% 16%,rgba(87,147,67,.1),transparent 30%),linear-gradient(180deg,#f8fffc,#fff)}
.jhb-orient-section--law{background:linear-gradient(135deg,var(--jo-green),var(--jo-green-2));color:#fff}
.jhb-orient-section--faq{background:linear-gradient(180deg,#fff,#f8fcfa)}
.jhb-orient-section--cluster{background:linear-gradient(180deg,#fff8f1,#fff)}
.jhb-orient-section-head{max-width:760px;margin:0 auto clamp(24px,3.2vw,34px);text-align:center}.jhb-orient-section-head--left{text-align:left;margin-inline:0}.jhb-orient-section-head p:last-child{max-width:690px;margin:0 auto}.jhb-orient-section-head--left p:last-child{margin-left:0}
.jhb-orient-kicker{margin-bottom:15px;background:#fff}

.jhb-orient-grid{display:grid;gap:14px}.jhb-orient-grid--steps,.jhb-orient-grid--cards{grid-template-columns:repeat(4,minmax(0,1fr))}.jhb-orient-grid--split{grid-template-columns:repeat(2,minmax(0,1fr))}.jhb-orient-grid--links{grid-template-columns:repeat(3,minmax(0,1fr))}
.jhb-orient-card,.jhb-orient-step,.jhb-orient-link-card{position:relative;min-width:0;padding:22px;border:1px solid var(--jo-line);border-radius:23px;background:rgba(255,255,255,.9);box-shadow:0 16px 42px rgba(29,48,40,.075);text-decoration:none!important;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
.jhb-orient-card p,.jhb-orient-step p,.jhb-orient-link-card p{margin-bottom:0;font-size:.94rem;line-height:1.52;text-wrap:pretty}.jhb-orient-card:hover,.jhb-orient-step:hover{transform:translateY(-3px);border-color:rgba(233,98,11,.22);background:#fff;box-shadow:0 22px 50px rgba(29,48,40,.105)}
.jhb-orient-step>span{display:grid;place-items:center;width:38px;height:38px;margin-bottom:15px;border-radius:13px;color:#fff;background:linear-gradient(135deg,var(--jo-orange),#f67a22);font-size:.88rem;font-weight:900;box-shadow:0 9px 20px rgba(233,98,11,.18)}.jhb-orient-step h3{margin-bottom:7px}
.jhb-orient-link-card{display:block;overflow:hidden}.jhb-orient-link-card::after{content:"";position:absolute;right:-32px;bottom:-38px;width:104px;height:104px;border-radius:50%;background:radial-gradient(circle,rgba(233,98,11,.09),transparent 68%);opacity:.65;transition:transform .25s ease,opacity .25s ease}.jhb-orient-link-card:hover{transform:translateY(-4px);border-color:rgba(233,98,11,.3);background:#fff;box-shadow:0 25px 56px rgba(29,48,40,.12)}.jhb-orient-link-card:hover::after{transform:scale(1.25);opacity:1}
.jhb-orient-link-card strong{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;color:var(--jo-orange-dark);font-size:.86rem}.jhb-orient-link-card i{font-style:normal;font-size:1.1rem}

.jhb-orient-law{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:42px;align-items:center}.jhb-orient-section--law :is(h2,p){color:#fff}.jhb-orient-section--law p{color:rgba(255,255,255,.78)}.jhb-orient-law__links{display:grid;gap:10px}.jhb-orient-law__links a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid rgba(255,255,255,.15);border-radius:18px;color:#fff;text-decoration:none;background:rgba(255,255,255,.08);font-weight:900}.jhb-orient-law__links a:hover{background:rgba(255,255,255,.14)}

.jhb-orient-faq-layout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:44px;align-items:start}.jhb-orient-faq{display:grid;gap:10px}.jhb-orient-faq details{border:1px solid var(--jo-line);border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(20,42,54,.05);overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.jhb-orient-faq details:hover{transform:translateY(-2px);border-color:rgba(233,98,11,.24);box-shadow:0 18px 40px rgba(20,42,54,.085)}.jhb-orient-faq details[open]{border-color:rgba(233,98,11,.22);background:linear-gradient(135deg,#fff,#fffaf6);box-shadow:0 20px 44px rgba(20,42,54,.09)}.jhb-orient-faq summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:60px;padding:16px 18px;color:var(--jo-ink);font-weight:900;cursor:pointer;list-style:none;transition:color .18s ease}.jhb-orient-faq summary:hover{color:var(--jo-orange-dark)}.jhb-orient-faq summary::-webkit-details-marker{display:none}.jhb-orient-faq summary span{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:var(--jo-orange-soft);color:var(--jo-orange);font-size:1.1rem;box-shadow:inset 0 0 0 1px rgba(233,98,11,.06);transition:transform .22s ease,background-color .22s ease,color .22s ease}.jhb-orient-faq details:hover summary span{background:var(--jo-orange);color:#fff}.jhb-orient-faq details[open] summary span{transform:rotate(45deg);background:var(--jo-orange);color:#fff}.jhb-orient-faq details p{margin:0;padding:0 18px 18px;font-size:.94rem;line-height:1.58;text-wrap:pretty}

.jhb-orient-cluster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.jhb-orient-cluster :is(a,span){display:flex;min-height:126px;flex-direction:column;justify-content:space-between;padding:20px;border:1px solid var(--jo-line);border-radius:22px;background:#fff;color:var(--jo-ink);font-weight:900;text-decoration:none;box-shadow:0 12px 30px rgba(20,42,54,.05)}.jhb-orient-cluster a:hover{border-color:rgba(233,98,11,.28);transform:translateY(-2px)}.jhb-orient-cluster small{display:block;margin-top:18px;color:var(--jo-orange-dark);font-size:.76rem;font-weight:900}.jhb-orient-cluster .is-current{background:linear-gradient(135deg,var(--jo-green),var(--jo-green-2));color:#fff;border-color:transparent}.jhb-orient-cluster .is-current small{color:rgba(255,255,255,.74)}

.jhb-orient-closing{padding:clamp(70px,9vw,118px) 0;background:linear-gradient(180deg,#f7fcfa,#fff1e6)}.jhb-orient-closing__card{padding:clamp(34px,6vw,68px);border:1px solid rgba(18,38,55,.08);border-radius:36px;text-align:center;background:rgba(255,255,255,.86);box-shadow:0 28px 76px rgba(29,48,40,.11)}.jhb-orient-closing__card h2{max-width:760px;margin-inline:auto}.jhb-orient-closing__card>p:not(.jhb-orient-kicker){max-width:740px;margin:0 auto 28px}.jhb-orient-closing__card .jhb-orient-actions{margin-bottom:0}

@media (max-width:1024px){
  .jhb-orient-grid--steps,.jhb-orient-grid--cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jhb-orient-grid--links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jhb-orient-cluster{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jhb-orient-law,.jhb-orient-faq-layout{grid-template-columns:1fr;gap:30px}
  .jhb-orient-section-head--left{text-align:center;margin-inline:auto}
}
@media (max-width:720px){
  .jhb-orient-wrap{width:min(100% - 28px,var(--jo-max))}
  .jhb-orient h1{font-size:clamp(2.2rem,11vw,3.25rem)}
  .jhb-orient h2{font-size:clamp(1.78rem,8vw,2.42rem)}
  .jhb-orient p{font-size:1rem}
  .jhb-orient-hero{padding-top:46px}
  .jhb-orient-breadcrumb{font-size:.72rem}
  .jhb-orient-actions{width:100%;gap:10px}.jhb-orient-btn{width:100%;max-width:360px}
  .jhb-orient-facts,.jhb-orient-grid--steps,.jhb-orient-grid--cards,.jhb-orient-grid--split,.jhb-orient-grid--links,.jhb-orient-cluster{grid-template-columns:1fr}
  .jhb-orient-fact,.jhb-orient-card,.jhb-orient-step,.jhb-orient-link-card{text-align:center}
  .jhb-orient-card>span,.jhb-orient-link-card>span{margin-inline:auto}
  .jhb-orient-step>span{margin-inline:auto}
  .jhb-orient-link-card strong{justify-content:center}
  .jhb-orient-jump{border-radius:24px}.jhb-orient-jump a{flex:1 1 calc(50% - 6px)}
  .jhb-orient-law{text-align:center}.jhb-orient-law__links a{text-align:left}
  .jhb-orient-cluster :is(a,span){min-height:112px;text-align:center}
  .jhb-orient-closing__card{border-radius:28px}
}
@media (prefers-reduced-motion:reduce){.jhb-orient *{scroll-behavior:auto!important;transition:none!important}}

/* Hub /orientierung/ – navigational overview only, no duplicated topic copy. */
.jhb-orient-jump a{
  justify-content:center;
  text-align:center;
}
.jhb-orient-hub-hero .jhb-orient-note{margin-bottom:0}
.jhb-orient-hub-main{background:linear-gradient(180deg,#fff,#fffaf5)}
.jhb-orient-hub-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  width:min(1000px,100%);
  margin-inline:auto;
}
.jhb-orient-hub-card,
.jhb-orient-hub-knowledge__cards a{
  position:relative;
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:26px;
  border:1px solid var(--jo-line);
  border-radius:25px;
  background:rgba(255,255,255,.92);
  box-shadow:0 16px 42px rgba(29,48,40,.075);
  color:var(--jo-ink);
  text-decoration:none!important;
  overflow:hidden;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.jhb-orient-hub-card::after,
.jhb-orient-hub-knowledge__cards a::after{
  content:"";
  position:absolute;
  right:-34px;
  bottom:-42px;
  width:118px;
  height:118px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(233,98,11,.1),transparent 68%);
  transition:transform .25s ease,opacity .25s ease;
}
.jhb-orient-hub-card>span,
.jhb-orient-hub-knowledge__cards a>span{
  align-self:flex-start;
  margin-bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--jo-orange-soft);
  color:var(--jo-orange-dark);
  font-size:.73rem;
  font-weight:900;
  line-height:1;
  text-align:center;
}
.jhb-orient-hub-card h3,
.jhb-orient-hub-knowledge__cards h3{margin-bottom:8px}
.jhb-orient-hub-card p,
.jhb-orient-hub-knowledge__cards p{margin:0 0 20px;font-size:.96rem;line-height:1.55}
.jhb-orient-hub-card strong,
.jhb-orient-hub-knowledge__cards strong{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:auto;
  color:var(--jo-orange-dark);
  font-size:.87rem;
  font-weight:900;
}
.jhb-orient-hub-card i,
.jhb-orient-hub-knowledge__cards i{font-style:normal;font-size:1.08rem}
.jhb-orient-hub-card:hover,
.jhb-orient-hub-knowledge__cards a:hover{
  transform:translateY(-4px);
  border-color:rgba(233,98,11,.28);
  background:#fff;
  box-shadow:0 25px 56px rgba(29,48,40,.12);
}
.jhb-orient-hub-card:hover::after,
.jhb-orient-hub-knowledge__cards a:hover::after{transform:scale(1.2)}
.jhb-orient-hub-knowledge{
  background:radial-gradient(circle at 90% 15%,rgba(87,147,67,.11),transparent 30%),linear-gradient(180deg,#f8fffc,#fff);
}
.jhb-orient-hub-knowledge__layout{
  display:grid;
  grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);
  gap:44px;
  align-items:center;
}
.jhb-orient-hub-knowledge__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}

@media (max-width:1024px){
  .jhb-orient-hub-knowledge__layout{grid-template-columns:1fr;gap:30px}
}
@media (max-width:720px){
  .jhb-orient-jump a{justify-content:center;text-align:center}
  .jhb-orient-hub-grid,.jhb-orient-hub-knowledge__cards{grid-template-columns:1fr}
  .jhb-orient-hub-card,.jhb-orient-hub-knowledge__cards a{text-align:center}
  .jhb-orient-hub-card>span,.jhb-orient-hub-knowledge__cards a>span{align-self:center}
  .jhb-orient-hub-card strong,.jhb-orient-hub-knowledge__cards strong{justify-content:center}
}
