/* Bavaria Startseite – Kursübersicht im Hero */
.hero{isolation:isolate}
.hero .hero-content{width:min(1180px,calc(100% - 48px));margin:0 auto;padding-right:500px;pointer-events:none}
.hero .hero-content a{pointer-events:auto}
.hero .hero-content h1{font-size:clamp(50px,5.4vw,78px)}
.hero .hero-content p{max-width:540px}
.hero-course-panel{position:absolute;z-index:2;right:max(24px,calc((100vw - 1180px)/2));top:50%;transform:translateY(-54%);width:450px;padding:22px 22px 20px;background:rgba(18,19,20,.76);border:1px solid rgba(255,255,255,.19);border-radius:12px;backdrop-filter:blur(7px);box-shadow:0 18px 45px rgba(0,0,0,.23)}
.hero-course-title{font-size:11px;letter-spacing:.16em;font-weight:800;color:#ffb27b;text-align:center;margin-bottom:14px}
.hero-course-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.hero-course{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:8px 3px 6px;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:rgba(255,255,255,.055);transition:background .2s,transform .2s;text-align:center;min-width:0}
.hero-course:hover,.hero-course:focus-visible{background:rgba(232,117,22,.25);border-color:#e87516;transform:translateY(-2px)}
.hero-course img{width:62px;height:62px;object-fit:contain;border-radius:7px}
.hero-course span{color:#f6f6f6;font-size:10px;font-weight:700;line-height:1.25;min-height:26px;display:flex;align-items:center;justify-content:center}
@media(max-width:1100px){.hero .hero-content{padding-right:440px}.hero-course-panel{width:405px}.hero-course img{width:53px;height:53px}.hero .hero-content h1{font-size:clamp(46px,5vw,67px)}}
@media(max-width:850px){.hero{display:block}.hero .hero-content{padding:72px 0 30px;pointer-events:auto}.hero .hero-content h1{font-size:clamp(50px,8vw,72px)}.hero-course-panel{position:relative;right:auto;top:auto;transform:none;width:min(620px,calc(100% - 48px));margin:0 auto 82px}.hero{min-height:0}}
@media(max-width:520px){.hero .hero-content{width:calc(100% - 32px);padding-top:56px}.hero-course-panel{width:calc(100% - 32px);padding:13px}.hero-course-grid{gap:6px}.hero-course{padding:6px 1px}.hero-course img{width:48px;height:48px}.hero-course span{font-size:9px}.hero .hero-content h1{font-size:52px}}

/* Slogan im Titelband */
.hero-slogan{max-width:560px;margin:0 0 18px;padding-left:15px;border-left:3px solid #f08224;color:#fff;font-weight:700;font-size:clamp(15px,1.35vw,19px);line-height:1.5}
/* Kurskacheln auf der Startseite */
.home-course-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.home-course-card{background:#fff;border:1px solid #e7e1dc;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 22px rgba(25,25,25,.045);transition:transform .2s,box-shadow .2s}
.home-course-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(25,25,25,.11)}
.home-course-icon{background:#252525;display:flex;align-items:center;justify-content:center;padding:19px 12px;min-height:140px}
.home-course-icon img{width:100px;height:100px;object-fit:contain;transition:transform .2s}
.home-course-card:hover .home-course-icon img{transform:scale(1.055)}
.home-course-body{padding:19px 20px 23px;display:flex;flex-direction:column;flex:1}
.home-course-body h3{font-size:19px;margin:0 0 9px;line-height:1.3}
.home-course-body p{font-size:14px;line-height:1.65;color:#666;flex:1;margin-bottom:13px}
.home-course-body .text-link{margin-top:auto}
@media(max-width:1050px){.home-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.home-course-grid{grid-template-columns:1fr}.home-course-icon{min-height:118px}.home-course-icon img{width:88px;height:88px}}

/* Video im Bereich Persönlich. Praxisnah. Professionell. */
.photo-block .home-practice-video{display:block;width:100%;height:100%;min-height:320px;object-fit:cover;object-position:center;border-radius:inherit}
@media(max-width:640px){.photo-block .home-practice-video{min-height:220px}}

/* Startseite: kompaktere Abstände zwischen den Inhaltsbereichen */
.section { padding-top: 62px; padding-bottom: 62px; }
.statement { padding-top: 62px; padding-bottom: 62px; }
.section-head { margin-bottom: 30px; }
@media (max-width: 800px) {
  .section { padding-top: 44px; padding-bottom: 44px; }
  .statement { padding-top: 48px; padding-bottom: 48px; }
  .section-head { margin-bottom: 24px; }
}
