/* Academy v4 – dashboard, ordered training, separate alphabetical reference. */
.hub-nav{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #d5e0e6;border-radius:11px;margin:0 0 17px;padding:6px;box-shadow:0 3px 18px #21374709}
.hub-nav-links{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.hub-nav-link{display:inline-flex;align-items:center;gap:7px;border-radius:7px;padding:11px 17px;color:#546d7e;font-weight:750;font-size:14px;text-decoration:none}
.hub-nav-link:hover{background:#eff4f6;color:#1a384d;text-decoration:none}
.hub-nav-link.active{background:#142b3d;color:white}
.hub-nav-link:last-child{margin-left:12px;color:#ab3841}
.hub-hero{background-image:linear-gradient(92deg,#102334 0%,rgba(15,35,52,.95) 45%,rgba(17,38,56,.38) 100%),url('/jugendfeuerwehr/bilder/hlf20.jpg');background-size:cover;background-position:center 47%;border-radius:16px;min-height:292px;color:white;padding:44px 50px;position:relative;overflow:hidden}
.hub-hero h1{font-size:clamp(33px,4.8vw,57px);line-height:1.08;letter-spacing:-.055em;margin:14px 0 14px;color:#fff}
.hub-hero p{color:#dae5ed;line-height:1.7;max-width:640px;font-size:17px;margin:0}
.hub-eyebrow{text-transform:uppercase;letter-spacing:.15em;font-weight:850;font-size:11px;color:#b33941}
.hub-hero .hub-eyebrow{color:#f4aaaa}
.hub-actions{display:flex;gap:11px;margin-top:25px;flex-wrap:wrap}
.hub-actions .btn{min-height:45px}
.hub-secondary{background:transparent;color:white;border-color:#a6bfcd}
.hub-secondary:hover{background:#2a4558;color:white}
.hub-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:15px}
.hub-stat{background:#fff;border:1px solid #dbe4e9;border-radius:10px;padding:17px 20px;min-width:0}
.hub-stat strong{display:block;font-size:30px;line-height:1.1;letter-spacing:-.05em;color:#192f40}
.hub-stat span{display:block;font-size:12px;color:#6b8090;margin-top:5px}
.hub-section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:31px 0 13px}
.hub-section-head h2{font-size:25px;color:#192f41;margin:5px 0 0}
.hub-textlink{font-size:13px;color:#a12e39;font-weight:800}
.hub-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.hub-intent{display:flex;flex-direction:column;align-items:start;background:#fff;border:1px solid #d7e3e9;border-radius:12px;padding:25px 26px;min-height:195px;text-decoration:none;color:#263c4c}
.hub-intent:hover{text-decoration:none;box-shadow:0 10px 28px #1c394515;border-color:#afc9d6;transform:translateY(-1px)}
.hub-intent .intent-index{letter-spacing:.13em;color:#ab343e;font-size:11px;font-weight:900}
.hub-intent h3{font-size:25px;color:#152e40;margin:12px 0 8px}
.hub-intent p{color:#617787;line-height:1.6;margin:0 0 16px}
.hub-intent>span:last-child{font-weight:830;color:#a82d35;margin-top:auto;font-size:13px}
.hub-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hub-course-card{display:flex;gap:15px;align-items:start;background:white;border:1px solid #dae3e8;border-radius:12px;padding:20px 19px;text-decoration:none}
.hub-course-card:hover{text-decoration:none;border-color:#a7c0cf;box-shadow:0 8px 23px #18374b12}
.hub-course-number{font-weight:900;color:#a72e35;background:#f7eaeb;border-radius:8px;font-size:16px;padding:10px 12px;min-width:48px;text-align:center}
.hub-course-text{flex:1;min-width:0}
.hub-course-text h3{font-size:18px;color:#1d3547;margin:0 0 4px}
.hub-course-text p{font-size:13px;color:#61788a;line-height:1.55;margin:0}
.hub-course-text small{color:#718797;font-size:11px}
.hub-progress{height:7px;background:#e2eaef;border-radius:50px;overflow:hidden;margin:11px 0 4px;width:100%}
.hub-progress>i{display:block;height:100%;background:#ad363e;border-radius:50px}
.hub-course-arrow{font-size:21px;color:#9d3340;align-self:center}
.hub-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hub-shortcut{display:flex;align-items:center;justify-content:space-between;padding:16px 19px;background:#fff;border:1px solid #dce5e9;border-radius:10px;min-width:0}
.hub-shortcut:hover{background:#f8fafb;text-decoration:none}
.hub-shortcut-text{display:grid;gap:3px;min-width:0}
.hub-shortcut strong{font-size:15px;color:#284255}
.hub-shortcut span:not(.shortcut-arrow){font-size:12px;color:#6a8192}
.shortcut-arrow{color:#b23b43;font-size:20px}
.hub-events{margin-top:28px}
.hub-date-list{background:#fff;border:1px solid #dce4ea;border-radius:11px;padding:9px 20px}
.hub-date-row{display:flex;align-items:center;gap:19px;padding:13px 0;border-bottom:1px solid #e8eef1}
.hub-date-row:last-child{border-bottom:0}
.hub-date-row>span{min-width:60px;background:#f1f5f7;border-radius:8px;color:#a5333c;font-weight:850;text-align:center;padding:10px;font-size:12px}
.hub-date-row strong{display:block;font-size:14px;color:#21384a}
.hub-date-row small{color:#71899b;font-size:12px}
.hub-muted{color:#6d8291;font-size:14px;margin:15px 0}
.hub-editor-shortcut{margin-top:23px;padding:17px 20px;background:#ebf4f7;border:1px solid #c5dae4;border-radius:11px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.hub-editor-shortcut strong{color:#20465b}
.hub-editor-shortcut p{margin:5px 0 0;color:#647f8e;font-size:13px}
.hub-disclaimer{margin-top:22px;color:#687f90;font-size:12px;line-height:1.7;border-top:1px solid #d6e2e8;padding-top:18px}
.hub-page-heading{padding:29px 31px;background:#fff;border:1px solid #dae4e9;border-left:4px solid #b8313b;border-radius:12px;margin-bottom:19px}
.hub-page-heading h1{font-size:clamp(29px,4vw,43px);color:#172f41;margin:9px 0 9px;letter-spacing:-.045em}
.hub-page-heading p{max-width:880px;color:#637b8a;line-height:1.7;font-size:15px;margin:0}
.hub-track-select{display:flex;gap:9px;overflow-x:auto;padding-bottom:12px;scrollbar-width:thin}
.hub-track-tab{display:flex;align-items:center;gap:9px;border:1px solid #d9e4e8;background:#fff;color:#4f6a7a;border-radius:9px;padding:12px 15px;white-space:nowrap;font-weight:770;font-size:13px;text-decoration:none}
.hub-track-tab:hover{text-decoration:none;background:#f3f7f8}
.hub-track-tab.active{background:#183347;color:#fff;border-color:#183347}
.hub-track-tab>span{color:#ac3a42;font-weight:900}
.hub-track-tab.active>span{color:#f3bbb5}
.hub-training{background:#fff;border:1px solid #d8e3e9;border-radius:13px;overflow:hidden}
.hub-training-head{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:25px 27px;border-bottom:1px solid #e1e8ed}
.hub-training-head h2{color:#1b3447;margin:8px 0}
.hub-training-head p{font-size:14px;color:#637a8b;line-height:1.65;margin:0;max-width:760px}
.hub-training-progress{min-width:170px}
.hub-training-progress strong{font-size:25px;color:#1e384b;display:block;line-height:1.15}
.hub-training-progress small{font-size:11px;color:#687f91}
.hub-training-list{padding:4px 17px}
.hub-training-step{display:flex;align-items:center;gap:18px;padding:19px 11px;border-bottom:1px solid #e9edf1;text-decoration:none;color:#253b4b}
.hub-training-step:last-child{border-bottom:none}
.hub-training-step:hover{background:#f5f9fa;text-decoration:none}
.hub-step-index{font-weight:900;font-size:17px;color:#8ca3b1;min-width:40px;text-align:center}
.hub-step-info{flex:1;min-width:0}
.hub-step-info strong{color:#203849;display:block;font-size:16px}
.hub-step-info p{font-size:13px;color:#698090;line-height:1.5;margin:4px 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hub-step-details{font-size:11px;color:#728a98}
.hub-step-tail{display:flex;align-items:center;gap:12px;white-space:nowrap;color:#8a4650}
.hub-step-state{font-weight:760;font-size:12px;background:#f4f6f8;border-radius:6px;padding:5px 9px;color:#657c8d}
.hub-step-state.complete{background:#e1f2e8;color:#227952}
.hub-next-action{margin-top:17px;border:1px solid #d6e2e9;border-radius:12px;background:#fff;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.hub-next-action strong{color:#1a3447;font-size:16px}
.hub-next-action p{color:#687d8e;font-size:13px;margin:5px 0 0}
.hub-lex-controls{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:13px 0}
.hub-lex-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:760;color:#536c7d}
.hub-lex-controls input,.hub-lex-controls select{padding:12px 13px;border:1px solid #c6d6de;border-radius:9px;background:#fff;color:#203849;width:100%;min-height:45px}
.hub-alphabet{display:flex;flex-wrap:wrap;gap:4px;padding:15px 0}
.hub-letter{border:1px solid #d8e3e8;background:#fff;border-radius:6px;font-weight:800;font-size:12px;color:#617a8b;min-width:31px;height:33px}
.hub-letter.selected{background:#20394d;border-color:#20394d;color:#fff}
.hub-lex-total{color:#687d8e;font-size:12px;margin:8px 0 12px}
.hub-lex-results{display:grid;gap:10px}
.hub-lex-row{background:#fff;border:1px solid #d8e3e9;border-radius:10px;padding:18px 23px}
.hub-lex-primary{display:flex;align-items:center;justify-content:space-between;gap:18px}
.hub-entry-category{font-size:10px;letter-spacing:.06em;color:#a43b44;font-weight:850;text-transform:uppercase}
.hub-lex-primary h3{font-size:19px;color:#1f394a;margin:5px 0}
.hub-lex-primary p{margin:0 0 7px;color:#697e8e;font-size:13px;line-height:1.55}
.hub-lex-primary small{font-size:11px;color:#8296a4}
.hub-lex-open{white-space:nowrap;border:1px solid #c7d7df;border-radius:8px;padding:10px 13px;color:#34596e;font-weight:750;font-size:12px;text-decoration:none}
.hub-lex-open:hover{background:#edf5f8;text-decoration:none}
.hub-subentries{display:grid;gap:5px;background:#f6f9fa;border-radius:8px;padding:12px;margin-top:13px}
.hub-sub-entry{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;padding:6px 9px;color:#42677b;text-decoration:none}
.hub-sub-entry:hover{text-decoration:underline}
.hub-sub-entry small{color:#93a5b2;white-space:nowrap}
.hub-empty{color:#698090;background:#fff;border-radius:10px;border:1px dashed #c8d6df;padding:25px}
.hub-reader-origin{display:flex;gap:11px;align-items:center;font-size:13px;color:#738899}
.hub-reader-origin a{color:#284d65;font-weight:800}
@media(max-width:900px){.hub-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-courses{grid-template-columns:1fr}.hub-nav-links{overflow-x:auto;flex-wrap:nowrap}.hub-nav-link{white-space:nowrap}}
@media(max-width:640px){.hub-nav{padding:5px;margin-bottom:12px}.hub-nav-link{font-size:12px;padding:10px 12px}.hub-nav-link:last-child{margin-left:0}.hub-hero{min-height:320px;padding:29px 23px;background-image:linear-gradient(92deg,#102334ee,rgba(17,38,56,.76)),url('/jugendfeuerwehr/bilder/hlf20.jpg')}.hub-hero h1{font-size:38px}.hub-hero p{font-size:15px}.hub-two,.hub-shortcuts{grid-template-columns:1fr}.hub-intent{min-height:160px;padding:19px 21px}.hub-stats{gap:8px}.hub-stat{padding:14px}.hub-stat strong{font-size:25px}.hub-training-head{flex-direction:column;align-items:stretch;padding:20px}.hub-training-progress{min-width:auto}.hub-training-list{padding:3px 9px}.hub-training-step{gap:10px;padding:17px 5px;align-items:start}.hub-step-index{min-width:29px;font-size:14px}.hub-step-tail{gap:5px;align-self:center}.hub-step-state{font-size:10px;padding:4px 5px}.hub-step-info p{font-size:12px}.hub-next-action,.hub-editor-shortcut{flex-direction:column;align-items:stretch}.hub-page-heading{padding:23px 20px}.hub-lex-controls{grid-template-columns:1fr}.hub-lex-row{padding:15px}.hub-lex-primary{align-items:start;flex-direction:column}.hub-lex-open{width:100%;text-align:center}.hub-sub-entry{align-items:start}.hub-section-head h2{font-size:22px}}
@media print{.hub-nav,.hub-hero,.hub-actions,.hub-lex-controls,.hub-shortcuts,.hub-editor-shortcut{display:none!important}}
.hub-custom-training{margin-top:17px}
@media(max-width:640px){
 .hub-nav-link:last-child{display:none}
 .hub-hero h1{font-size:34px;max-width:100%;overflow-wrap:normal;word-break:normal;hyphens:auto}
 .hub-hero{padding:28px 22px}
}
