/* JF Akademie Editorial / technische Fachbibliothek.
   Ruhige Typografie, echte Fahrzeugfotos, klare fachliche Hierarchie. */
:root{--bg:#edf1f4;--surface:#ffffff;--surface2:#f2f5f7;--surface3:#e8eef1;--line:#d8e1e7;--txt:#152535;--muted:#617587;--red:#ba272d;--amber:#9d512b;--teal:#14725b;--green:#187555;--shadow:0 10px 34px rgba(22,40,57,.07)}
html{scroll-behavior:smooth}
body{font-family:Inter,"Aptos","Segoe UI",system-ui,-apple-system,sans-serif;background:#edf1f4;color:#192938;letter-spacing:-.006em}
.site-header{background:#101c28;border-bottom:3px solid #b7282e;box-shadow:0 6px 20px #14253720}
.topbar{min-height:76px}
.brand{color:#fff;letter-spacing:.03em}
.brand small{color:#a6b7c3}
.brand-icon{background:transparent;color:#fff;border:2px solid #ec5860;box-shadow:none;font-size:13px;font-weight:950;border-radius:9px;letter-spacing:.03em}
.head-link{color:#d9e2e9;border:1px solid #40576b;background:transparent}
.head-link:hover{background:#293e51}
#bookApp{padding-top:30px}
.label-upper,.eyebrow{color:#b7282e}
.hero{background:#101d2a;border:0;border-radius:18px;color:#fff;padding:clamp(36px,5vw,60px);min-height:350px;background-image:linear-gradient(92deg,rgba(11,24,36,.98) 0%,rgba(12,27,40,.94) 44%,rgba(12,26,40,.52) 78%,rgba(12,26,40,.25) 100%),url('/jugendfeuerwehr/bilder/hlf20.jpg');background-size:cover;background-position:center 53%;box-shadow:0 15px 32px rgba(20,36,50,.15)}
.hero:after{content:"";display:none}
.hero .label-upper{color:#f5aaa9}
.hero h1{color:white;max-width:820px;font-weight:830;letter-spacing:-.053em}
.hero p{color:#e0e9f0;max-width:750px;font-size:17px}
.btn{background:#fff;border:1px solid #bac9d2;color:#25394b;box-shadow:none;border-radius:9px;font-weight:740;transition:background-color .14s,border-color .14s}
.btn:hover{background:#edf3f6;border-color:#7b98ac}
.btn.primary{background:#b52b32;border-color:#b52b32;color:white}
.btn.primary:hover{background:#d23b43;border-color:#d23b43}
.btn.subtle{background:transparent}
.btn.success{background:#1c7159;border-color:#1c7159;color:white}
.hero .btn{background:#f9fafb;color:#1b2d3e;border-color:#f9fafb}
.hero .btn.primary{background:#c9333e;color:white;border-color:#c9333e}
.hero .btn:hover{background:#e6edf1}
.hero .btn.primary:hover{background:#e64a53}
.stats{gap:12px;margin:16px 0 29px}
.stat{background:#fff;border:1px solid #dae3e9;border-radius:12px;box-shadow:0 4px 15px #233c5310;color:#1b3243;padding:17px 19px}
.stat b{color:#14283a;font-size:32px}
.stat small{color:#657b8a}
.section-heading h2{color:#1a2b3a;font-weight:820}
.section-heading p{color:#526779}
.filters{background:#fff;border:1px solid #dce4e9;border-radius:12px;padding:13px 15px}
.control{color:#4f6576}
.control input,.control select{background:#f6f8f9;color:#1e3344;border:1px solid #c7d3da;border-radius:8px}
.control input::placeholder{color:#718a9b}
.control select option{background:#fff;color:#1d2f42}
.topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.topic-card{border:1px solid #d8e1e7;border-left:3px solid transparent;background:#fff;color:#1a2b3c;border-radius:12px;min-height:240px;box-shadow:0 5px 24px #162d3b0d;padding:23px;transition:box-shadow .15s,transform .15s,border-color .15s}
.topic-card:hover{transform:translateY(-2px);border-color:#bacbd6;border-left-color:#bc2c32;box-shadow:0 15px 34px #162d3b1c}
.topic-card .icon{background:#eaf0f3;color:#af3038;font-weight:850;border-radius:9px;font-size:25px;width:55px;height:55px}
.topic-card h3{color:#1b3042;font-weight:820;letter-spacing:-.02em}
.topic-card p{color:#65798a;line-height:1.6}
.topic-card .chip{border:1px solid #d6dfe4;background:#f3f6f8;color:#607789;font-size:10px}
.topic-card .meta{color:#687d8d}
.progress-line{background:#dbe4ea}
.progress-line>i{background:#b72a34}
.module-note{background:#fff;border:1px solid #d9e2e7;color:#586e7e;border-radius:11px}
.article{background:#fff;border:1px solid #dce5eb;color:#243648;box-shadow:0 8px 36px rgba(22,42,55,.08);border-radius:14px}
.article h1,.article h2,.article h3{color:#15283b;font-weight:800}
.article h1{letter-spacing:-.045em}
.article .lead{color:#485d6c;line-height:1.8}
.article .prose{color:#283d4d;line-height:1.9}
.article-eyebrow{color:#b72b34}
.article .prose p{color:#293c4b}
.article .safety{background:#fff6e7;border-left:4px solid #c39a53;color:#695131;border-radius:0 9px 9px 0}
.article .safety strong{color:#8a4328}
.layout{grid-template-columns:295px minmax(0,1fr)}
.sidebar{background:#fff;border:1px solid #d9e3e9;border-radius:12px;box-shadow:0 5px 19px rgba(25,42,52,.05)}
.sidebar h3{color:#1b3344}
.sidebar .tag{color:#af3038}
.sidebar .note{color:#61778a}
.chapter-nav{color:#425869;border-radius:8px;font-weight:600}
.chapter-nav:hover{background:#eef3f6}
.chapter-nav.active{background:#e5eef3;color:#133248;border-left:3px solid #b92f37}
.chapter-nav .chapter-no{border-color:#c3d2dc;color:#4a6374}
.chapter-nav.done .chapter-no{background:#1f785d;color:#fff}
.breadcrumbs{color:#526b7b}
.breadcrumbs button{color:#28495c}
.fact{background:#f3f6f8;border-color:#e0e7eb;border-radius:9px;color:#243949}
.fact span{color:#17825e}
.fact strong{color:#23384a}
.think{background:#eff4f6;border:1px solid #d7e1e7;border-radius:11px}
.think p{color:#314758}
.think .answerbox{background:#e4f5ec;color:#255942;border-color:#bce4d0}
.fig-wrap{background:#101e2c;border:1px solid #374b5b;color:#eaf0f5;border-radius:12px}
.fig-wrap .fig-title{color:#ecb5ae}
.graphic-caption,.caption-muted{color:#829bab}
.real-photo{border:1px solid #dfe5ea;background:#fff;color:#263d4d}
.real-photo img{background:#f3f5f7;object-fit:contain}
.real-photo figcaption{color:#5d7183}
.real-photo a{color:#405f78}
.fleet-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.fleet-card{background:#f6f8fa;color:#193042;border:1px solid #d9e3e9;border-radius:11px;overflow:hidden;min-width:0}
.fleet-card:first-child{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,1fr)}
.fleet-picture .learn-photo{margin:0;background:#fff;border:none;border-radius:0;height:100%;padding:9px}
.fleet-picture .learn-photo img{height:196px;max-height:none;width:100%;object-fit:cover;border-radius:7px}
.fleet-card:first-child .fleet-picture .learn-photo img{height:235px}
.fleet-picture .learn-photo figcaption{font-size:10px;line-height:1.45}
.fleet-info{padding:15px 15px 19px;display:flex;gap:13px;align-items:start}
.fleet-info h3{font-size:17px;color:#19354c;margin:0 0 7px}
.fleet-info p{margin:0;color:#5d7180;font-size:13px}
.fleet-code{background:#b92c36;color:white;min-width:45px;padding:7px 6px;text-align:center;font-weight:900;border-radius:6px;font-size:13px}
.knot-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.knot-gallery-card{border:1px solid #d9e4eb;background:#f8fafb;border-radius:10px;overflow:hidden;padding:12px;color:#203548;min-width:0}
.knot-gallery-card h3{font-size:17px;color:#203549;margin:5px 3px 10px}
.knot-gallery-card .learn-photo{border:0;padding:0;background:none}
.knot-gallery-card .learn-photo img{height:155px;object-fit:contain}
.knot-gallery-card .learn-photo figcaption{min-height:42px}
.verified-link{display:flex;align-items:center;margin-top:12px;padding:12px 14px;background:#e7f0f4;border:1px solid #bbd4df;color:#2a546a;text-decoration:none!important;border-radius:8px;font-size:13px;font-weight:750}
.verified-link:hover{background:#dae9ef}
.special-note{background:#fff5e4;border:1px solid #efd6aa;padding:15px;border-radius:9px;color:#765932;margin:17px 0;font-size:14px}
.review-card{background:#f0f4f6;border:1px solid #d9e3e8;color:#243949}
.review-card p{color:#445e70}
.review-answer{background:#e7f5eb;color:#2b6747;border-color:#63b288}
.reading-tip{background:#f0f4f7;color:#587080;border-radius:9px}
.bottom-nav .btn{border-radius:9px}
.glossary .term{background:#f5f7f9;border:1px solid #dbe6eb}
.glossary dt{color:#243d50}
.glossary dd{color:#526979}
.footer{color:#647a8b;border-color:#ccd9df}
.footer a{color:#2c5870}
.class-card{background:#e9eef2;border-color:#c4d0d8;color:#293f51}
.class-card b{color:#ae2d35}
.class-card span{color:#617a8b}
.image-modal{background:#fff;color:#1e3344}
.image-modal .fig-wrap{background:#0e2132}
@media(max-width:1100px){.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{grid-template-columns:248px minmax(0,1fr)}.fleet-card:first-child{grid-template-columns:1fr}}
@media(max-width:780px){.hero{min-height:290px;padding:31px 25px;background-position:60% 50%}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{grid-template-columns:1fr}.sidebar{position:static}.fleet-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.knot-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.hero{background-image:linear-gradient(90deg,rgba(13,28,42,.98),rgba(13,28,42,.80)),url('/jugendfeuerwehr/bilder/hlf20.jpg')}.topic-grid,.fleet-gallery,.knot-gallery{grid-template-columns:1fr}.fleet-card:first-child{grid-column:auto}.hero h1{font-size:36px}.topic-card{min-height:210px}.stat{padding:12px}.article{padding:20px 16px}.fleet-picture .learn-photo img{height:210px}.fleet-card:first-child .fleet-picture .learn-photo img{height:210px}}
@media print{body{background:#fff!important;color:#000}.article{box-shadow:none;border:0}.article h1,.article h2,.article p{color:#000}.hero{background:none}}
