:root{--bg:#050f12;--panel:#07181c;--line:rgba(115,183,188,.3);--gold:#e5b94f;--white:#f3f7f5;--muted:#a9b9b8}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white);font-family:Inter,Segoe UI,Arial,sans-serif}a{text-decoration:none;color:inherit}.topbar{position:sticky;top:0;z-index:50;height:72px;background:rgba(3,12,15,.95);border-bottom:1px solid rgba(102,183,188,.2);backdrop-filter:blur(12px)}.topbar-inner{max-width:1450px;height:100%;margin:auto;padding:0 28px;display:flex;align-items:center;gap:30px}.logo{display:flex;align-items:center;gap:12px;min-width:285px}.shield{width:45px;height:52px;border:2px solid var(--gold);display:grid;place-items:center;clip-path:polygon(50% 0,92% 15%,92% 66%,50% 100%,8% 66%,8% 15%);font-weight:900;color:var(--gold)}.logo b{display:block;font-size:17px}.logo small{font-size:8px;letter-spacing:.22em;color:#94aaa8}nav{display:flex;align-self:stretch;flex:1}nav a{display:flex;align-items:center;gap:7px;padding:0 12px;color:#d2dfde;font-size:11px;border-bottom:2px solid transparent}nav a.active,nav a:hover{color:#fff;border-bottom-color:var(--gold)}.top-actions{display:flex;gap:18px;font-size:23px}.mobile-menu{display:none;background:none;border:0;color:white;font-size:24px}
.hero{height:calc(100vh - 72px);min-height:650px;position:relative;overflow:hidden}.hero-bg{position:absolute;inset:0;background:url('../img/hero-val-security.webp') center right/cover no-repeat;transform:scale(1.03);animation:zoom 18s ease-in-out infinite alternate}.hero-vignette{position:absolute;inset:0;background:linear-gradient(90deg,#030b0d 0%,rgba(3,11,13,.94) 16%,rgba(3,11,13,.76) 38%,rgba(3,11,13,.22) 72%,rgba(3,11,13,.36) 100%),linear-gradient(0deg,rgba(3,11,13,.9),transparent 35%)}.hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(104,195,199,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(104,195,199,.06) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(to right,transparent,black 45%,transparent);pointer-events:none}@keyframes zoom{to{transform:scale(1.09)}}
.hero-grid{position:relative;z-index:2;height:100%;max-width:1450px;margin:auto;padding:0 42px;display:grid;grid-template-columns:1fr 390px;align-items:center;gap:70px}.kicker,.section-label{color:#8fd1d1;font-size:11px;letter-spacing:.22em;font-weight:800}.hero h1{font-size:clamp(70px,7.3vw,126px);line-height:.82;margin:18px 0 22px;letter-spacing:-.06em}.hero h1 strong{color:var(--gold)}.hero h2{font-size:21px;letter-spacing:.22em;margin:0 0 22px}.hero-copy>p{max-width:600px;font-size:18px;color:#d2dedc;line-height:1.5}.primary-btn,.outline-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid var(--gold);padding:16px 20px;font-size:13px;font-weight:900;letter-spacing:.06em}.primary-btn{background:linear-gradient(100deg,#ffd36b,#d99d31);color:#081214;min-width:305px}.primary-btn b,.outline-btn b{font-size:24px;font-weight:400}.outline-btn{color:#fff;background:rgba(5,18,21,.55);border-color:#4b8d91}.hero-points{display:flex;align-items:center;gap:18px;margin-top:26px;font-size:11px;color:#dce7e5}.hero-points i{width:1px;height:15px;background:#537071}.hero-monitor{align-self:end;margin-bottom:35px;background:rgba(3,16,19,.72);border:1px solid rgba(100,188,194,.38);padding:12px;backdrop-filter:blur(9px)}.monitor-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.12em;margin-bottom:10px}.monitor-top em{display:inline-block;width:7px;height:7px;background:#58d879;border-radius:50%;margin-right:5px;box-shadow:0 0 10px #58d879}.monitor-screen{height:205px;background:url('../img/leitstelle.webp') center/cover;border:1px solid rgba(255,255,255,.12);position:relative}.monitor-screen:after{content:none}.monitor-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:9px}.monitor-grid span{font-size:8px;letter-spacing:.1em;color:#aabdbc;padding:7px;background:#081c20}.monitor-grid b{float:right;color:#64d887}
.academy-section,.practice-section{max-width:1450px;margin:auto;padding:95px 42px}.section-title-row{display:flex;justify-content:space-between;gap:60px;align-items:end;margin:15px 0 40px}.section-title-row h2,.practice-head h2,.law-copy h2{font-size:48px;line-height:1.02;letter-spacing:-.04em;margin:0}.section-title-row p,.practice-head>p,.law-copy>p{max-width:470px;color:var(--muted);font-size:15px;line-height:1.7;margin:0}.course-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;max-width:1380px;margin:0 auto}.course-card{height:490px;position:relative;overflow:hidden;border:1px solid var(--line);background:#071619;transition:.35s}.course-card:hover{border-color:var(--gold);transform:translateY(-5px)}.course-image{position:absolute;inset:0 0 auto;height:64%;background-size:cover;background-position:center top;background-repeat:no-repeat;background-color:#03090b;transition:background-position .35s}.course-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(2,12,14,.2) 35%,rgba(2,11,13,.96) 88%)}.course-number{position:absolute;top:18px;right:20px;color:var(--gold);font-size:11px}.course-body{position:absolute;inset:auto 18px 20px}.course-icon{width:50px;height:50px;border:1px solid var(--gold);display:grid;place-items:center;color:var(--gold);font-size:25px;margin-bottom:15px;background:rgba(2,15,17,.65)}.course-body h3{font-size:18px;line-height:1.05;margin:0 0 12px}.course-body p{font-size:13px;color:#c2d0ce;line-height:1.6;margin:0 0 18px}.course-body>span{font-size:10px;color:#f2cc72;letter-spacing:.12em}.course-body>span b{font-size:18px;margin-left:8px}
.progress-section{min-height:560px;position:relative;overflow:hidden;border-top:1px solid rgba(104,195,199,.15);border-bottom:1px solid rgba(104,195,199,.15)}.progress-photo{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,13,15,.98) 0%,rgba(3,13,15,.90) 32%,rgba(3,13,15,.52) 62%,rgba(3,13,15,.28) 100%),url('../img/lernfortschritt-val-security.webp') center/cover no-repeat}.progress-content{position:relative;max-width:1450px;margin:auto;padding:95px 42px}.progress-content h2{font-size:48px;line-height:1.02;margin:15px 0}.progress-content>p{max-width:550px;color:#b7c8c6;line-height:1.7}.progress-board{display:flex;gap:35px;align-items:center;max-width:700px;margin:35px 0}.ring-wrap{text-align:center}.ring{width:145px;height:145px;border-radius:50%;background:conic-gradient(var(--gold) 0deg,#244047 0deg);display:grid;place-items:center;position:relative}.ring:before{content:"";position:absolute;width:115px;height:115px;background:#071619;border-radius:50%}.ring span{position:relative;font-size:28px;font-weight:800}.ring-wrap small{display:block;margin-top:8px;font-size:9px;letter-spacing:.18em;color:#8ea5a3}.bars{flex:1}.bars>div{margin:12px 0}.bars span{display:flex;justify-content:space-between;font-size:11px;color:#d6e0de;margin-bottom:5px}.bars i{display:block;height:6px;background:#1e383d}.bars em{display:block;height:100%;background:linear-gradient(90deg,#bc8a2c,#f1cc72);width:0;transition:width .7s}.progress-content .outline-btn{min-width:230px}
.law-section{display:grid;grid-template-columns:1fr 1fr;background:#08181c}.law-image{min-height:520px;background:url('../img/gesetzbuecher-val-security.webp') center/cover}.law-copy{padding:95px 7%}.law-tags{display:flex;gap:8px;margin:25px 0;flex-wrap:wrap}.law-tags span{border:1px solid #3b696c;color:#e4c067;padding:10px 17px;font-size:11px;letter-spacing:.1em}
.practice-section{background:#061316}.practice-head{display:flex;justify-content:space-between;gap:60px;align-items:end}.practice-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:50px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.practice-item{padding:32px 25px;border-right:1px solid var(--line);min-height:150px}.practice-item:last-child{border-right:0}.practice-item span{color:var(--gold);font-size:11px}.practice-item b{display:block;font-size:18px;margin:20px 0 7px}.practice-item small{color:#879d9b}
.final-banner{position:relative;min-height:460px;overflow:hidden;border-top:1px solid rgba(104,195,199,.18)}.final-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,13,15,.96),rgba(3,13,15,.7),rgba(3,13,15,.35)),url('../img/hero-security.webp') center 62%/cover}.final-content{position:relative;max-width:1450px;margin:auto;padding:90px 42px}.final-content h2{font-size:60px;line-height:.93;letter-spacing:-.04em;margin:15px 0 35px}.final-points{display:flex;gap:25px;flex-wrap:wrap;color:#d7e2e0;font-size:12px}.final-points span{padding-right:25px;border-right:1px solid #4b6263}.final-points span:last-child{border:0}footer{height:72px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#030b0d;color:#728987;font-size:10px;letter-spacing:.12em}
@media(max-width:1050px){.course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.logo{min-width:220px}.logo b{font-size:14px}nav a{padding:0 7px}.course-grid{grid-template-columns:repeat(3,1fr)}.hero-grid{grid-template-columns:1fr 300px}.practice-grid{grid-template-columns:repeat(2,1fr)}.practice-item:nth-child(2){border-right:0}.practice-item{border-bottom:1px solid var(--line)}}
@media(max-width:760px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.course-card{height:400px}.course-body{inset:auto 12px 14px}.course-body h3{font-size:15px}.course-body p{font-size:11px}.topbar{height:64px}.topbar-inner{height:64px;padding:0 15px}.logo{min-width:0}.logo b{font-size:12px}.logo small{font-size:7px}.shield{width:39px;height:45px}.mobile-menu{display:block;margin-left:auto}nav{display:none;position:absolute;top:64px;left:0;right:0;background:#041013;flex-direction:column;padding:10px 18px;height:auto}nav.open{display:flex}nav a{padding:14px 5px}.top-actions{display:none}.hero{height:auto;min-height:730px}.hero-grid{display:block;padding:75px 22px 45px}.hero h1{font-size:65px}.hero h2{font-size:15px}.hero-copy>p{font-size:15px}.hero-monitor{display:none}.hero-points{gap:9px;font-size:9px}.primary-btn{min-width:0;width:100%;max-width:310px}.academy-section,.practice-section{padding:65px 22px}.section-title-row,.practice-head{display:block}.section-title-row h2,.practice-head h2,.law-copy h2,.progress-content h2{font-size:37px}.section-title-row p,.practice-head>p{margin-top:20px}.course-grid{grid-template-columns:1fr}.course-card{height:370px}.progress-content{padding:65px 22px}.progress-board{align-items:flex-start;flex-direction:column}.progress-section{min-height:720px}.law-section{grid-template-columns:1fr}.law-image{min-height:280px}.law-copy{padding:60px 22px}.practice-grid{grid-template-columns:1fr;margin-top:30px}.practice-item{border-right:0!important}.final-content{padding:70px 22px}.final-content h2{font-size:48px}.final-points{gap:12px}.final-points span{border:0;padding:0 10px 0 0}footer{height:auto;padding:22px;display:block}footer span{display:block;margin:6px 0}}

/* HD IMAGE POLISH */
.hero-bg,.course-image,.progress-photo,.law-image,.final-bg,.monitor-screen{
  image-rendering:auto;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.hero-bg{
  background-size:cover;
  background-position:center center;
}
.course-image{
  background-size:cover;
  background-position:center;
}
.monitor-screen{
  background-size:cover;
  background-position:center;
}
.law-image{
  background-size:cover;
  background-position:center;
}
.progress-photo{
  background-size:cover;
  background-position:center;
}
.final-bg{
  background-size:cover;
  background-position:center 55%;
}
@media(min-width:1200px){
  .hero-bg{background-position:center 43%}
  .course-image{background-position:center top;background-size:contain}
}

/* FINAL IMAGE QUALITY */
.hero-bg,.course-image,.progress-photo,.law-image,.final-bg,.monitor-screen{
  background-repeat:no-repeat;
  image-rendering:auto;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.hero-bg{background-position:center 45%}
.course-image{background-position:center top;background-size:contain;background-repeat:no-repeat;background-color:#03090b}
.law-image{background-position:center center}
.progress-photo{background-position:center center}
.final-bg{background-position:center 55%}
.monitor-screen{background-position:center center}


/* MOBILE HOMEPAGE POLISH – preserve desktop layout */
@media (max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  .topbar{height:68px}
  .topbar-inner{height:68px;padding:0 16px;gap:12px}
  .logo{min-width:0;gap:9px;flex:1;overflow:hidden}
  .logo b{font-size:12px;letter-spacing:.01em;white-space:nowrap}
  .logo small{font-size:7px;letter-spacing:.18em}
  .shield{width:40px;height:46px;flex:0 0 40px}
  .mobile-menu{display:flex;width:42px;height:42px;align-items:center;justify-content:center;margin-left:auto;flex:0 0 42px}

  .hero{
    min-height:680px;
    height:auto;
    overflow:hidden;
  }
  .hero-grid{
    display:block;
    width:100%;
    max-width:none;
    padding:58px 22px 42px;
  }
  .hero-copy{
    width:100%;
    max-width:none;
    min-width:0;
  }
  .hero h1{
    font-size:44px;
    line-height:.94;
    letter-spacing:-.045em;
    margin:10px 0 23px;
    max-width:100%;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
  }
  .hero h1 strong{
    font-size:1.55em;
    letter-spacing:-.055em;
  }
  .hero h2{
    font-size:13px;
    line-height:1.35;
    letter-spacing:.16em;
    margin-bottom:24px;
    white-space:normal;
  }
  .hero-copy>p{
    font-size:15px;
    line-height:1.55;
    max-width:340px;
    margin-bottom:24px;
  }
  .primary-btn{
    width:100%;
    max-width:100%;
    min-width:0;
    min-height:58px;
    padding:15px 18px;
    font-size:14px;
  }
  .hero-points{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 10px;
    margin-top:24px;
    font-size:9px;
    line-height:1.4;
  }
  .hero-points i{height:15px}
  .hero-monitor{display:none}

  .hero-bg{
    background-position:61% center;
  }
  .hero-vignette{
    background:linear-gradient(90deg,rgba(3,14,16,.94) 0%,rgba(3,14,16,.72) 56%,rgba(3,14,16,.48) 100%),
               linear-gradient(0deg,rgba(3,14,16,.72),transparent 58%);
  }

  .academy-section,.practice-section{padding:56px 20px}
  .section-title-row h2,.practice-head h2,.law-copy h2,.progress-content h2{font-size:31px;line-height:1.08}
  .section-title-row p,.practice-head>p{font-size:13px;line-height:1.55}
  .course-card{height:330px}
  .progress-content{padding:56px 20px}
  .law-copy{padding:50px 20px}
  .final-content{padding:58px 20px}
  .final-content h2{font-size:38px;line-height:1.05}
  footer{padding:24px 20px}
}

@media (max-width:390px){
  .hero-grid{padding-left:18px;padding-right:18px}
  .hero h1{font-size:40px}
  .hero h1 strong{font-size:1.5em}
  .hero h2{font-size:12px;letter-spacing:.12em}
  .hero-copy>p{font-size:14px}
  .hero-points{font-size:8px}
}

/* Echter Bild-Icon statt dekorativem Punkt-Ring für Umgang mit Menschen */
.course-icon-image{overflow:hidden;padding:0;border:0;background:transparent}
.course-icon-image img{display:block;width:100%;height:100%;object-fit:cover;border:0}


/* VAL Security Markenlogo – ergänzt die bestehende Homepage ohne Inhaltsänderungen */
.logo{gap:10px;flex:0 0 auto}
.logo .shield{display:none}
.brand-logo{display:block;width:94px;height:62px;object-fit:contain;flex:0 0 auto}
.brand-copy{display:block;white-space:nowrap}
@media(max-width:1050px){.brand-logo{width:76px;height:54px}.logo{gap:8px}.logo b{font-size:12px}.logo small{font-size:7px}}
@media(max-width:760px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.course-card{height:400px}.course-body{inset:auto 12px 14px}.course-body h3{font-size:15px}.course-body p{font-size:11px}.topbar-inner{gap:8px}.brand-logo{width:59px;height:43px}.brand-copy{min-width:0}.logo b{font-size:10px;letter-spacing:0}.logo small{font-size:6px;letter-spacing:.12em}.logo{gap:7px;flex:1}}
@media(max-width:390px){.brand-logo{width:51px;height:38px}.logo b{font-size:9px}.logo small{font-size:5px}}


/* Premium VAL Security Footer: links to learning areas, tests and service */
.site-footer{height:auto;display:block;padding:0;background:linear-gradient(120deg,#041013 0%,#031013 55%,#06171a 100%);color:#edf2ef;letter-spacing:normal;border-top:2px solid var(--gold)}
.footer-main{max-width:1550px;margin:0 auto;padding:44px 38px 38px;display:grid;grid-template-columns:1.1fr 1.55fr 1.1fr .72fr;gap:30px;align-items:center}
.footer-column h2{font-size:15px;letter-spacing:.08em;color:var(--gold);padding-bottom:13px;margin:0 0 12px;border-bottom:1px solid rgba(229,185,79,.62);font-weight:800}
.footer-column a{display:grid;grid-template-columns:46px 1fr 14px;align-items:center;gap:12px;padding:7px 0;color:#e7eeec;font-size:13px;line-height:1.45;transition:color .2s}
.footer-column a:hover{color:var(--gold)}
.footer-column a>b{color:var(--gold);font-size:27px;font-weight:400;line-height:1}
.footer-icon{width:42px;height:42px;border:1px solid var(--gold);border-radius:5px;display:grid;place-items:center;color:var(--gold);font-size:22px}
.footer-column strong{display:block;font-size:13px;font-weight:700}
.footer-column small{display:block;color:#bdc9c7;font-size:11px;margin-top:2px}
.footer-brand{display:flex;justify-content:center;align-items:center;min-width:0}
.footer-brand img{width:min(100%,420px);height:auto;max-height:310px;object-fit:contain;display:block;filter:drop-shadow(0 0 12px rgba(229,185,79,.08))}
.footer-bottom{border-top:2px solid var(--gold);max-width:none;padding:22px 38px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:rgba(0,0,0,.16)}
.footer-legal{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#e2e9e7;line-height:1.3}
.footer-motto{display:flex;align-items:center;gap:16px;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.08em}
.footer-motto i{font-style:normal;color:#f1c75f}
@media(max-width:1100px){.footer-main{grid-template-columns:1fr 1fr;gap:28px}.footer-brand{grid-column:1 / -1;grid-row:1}.footer-brand img{width:290px;max-height:220px}.footer-learning{grid-column:1}.footer-tests{grid-column:2}.footer-service{grid-column:1 / -1}.footer-service a{display:inline-grid;width:32%;vertical-align:top}}
@media(max-width:650px){.footer-main{padding:30px 20px;grid-template-columns:1fr;gap:22px}.footer-brand{grid-column:auto;grid-row:auto}.footer-brand img{width:min(84%,300px);max-height:210px}.footer-learning,.footer-tests,.footer-service{grid-column:auto}.footer-service a{display:grid;width:100%}.footer-bottom{padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:18px}.footer-motto{gap:10px;flex-wrap:wrap;font-size:10px}.footer-column h2{font-size:14px}.footer-column a{font-size:13px}}

/* Version 17: unique VAL VAL Security banner with branded uniform */
.final-banner{min-height:0;height:auto;background:#030b0d;line-height:0;border-top:1px solid rgba(104,195,199,.18)}
.final-banner-art{display:block;width:100%;height:auto;max-width:none;object-fit:contain}
@media(max-width:760px){.final-banner-art{width:100%;height:auto;object-fit:contain}.final-banner{min-height:0}}

/* VAL SECURITY Lernfortschritt-Hintergrund: abgestimmtes Lernsetting, keine doppelten eingebrannten Texte */
.progress-photo{background-position:center center;background-size:cover}
@media(max-width:760px){.progress-photo{background-position:58% center;background-image:linear-gradient(90deg,rgba(3,13,15,.94),rgba(3,13,15,.76)),url('../img/lernfortschritt-val-security.webp')}}
/* v38: echtes Fotomotiv aus dem neuen VAL-Security-Hero, ohne eingebrannte Texte/Bedienelemente */
.hero-bg{background-image:url('../img/hero-val-security.webp')!important;background-size:cover;background-position:center 42%;}
.hero-monitor{position:relative;z-index:3;}
.monitor-screen{overflow:hidden;}
.monitor-screen:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(4,15,19,.05),rgba(4,15,19,.24));z-index:1;pointer-events:none;}
.monitor-screen:after{z-index:2;box-shadow:0 0 12px rgba(115,209,208,.35);}
@media(max-width:760px){.hero-bg{background-position:center 38%;}}

/* v39: weiter Bildausschnitt und Vorlagen-Stil für den Hero-Kicker */
.hero-bg{
  background-image:url('../img/hero-val-security-wide.webp') !important;
  background-size:cover !important;
  background-position:center center !important;
  transform:none !important;
  animation:none !important;
}
.kicker{
  display:flex;
  align-items:center;
  gap:18px;
  color:#f0c45b !important;
  font-size:13px !important;
  line-height:1.3;
  letter-spacing:.17em !important;
  font-weight:900 !important;
  text-transform:uppercase;
  margin-bottom:20px;
}
.kicker:after{
  content:"";
  display:block;
  width:clamp(55px,10vw,150px);
  height:1px;
  background:linear-gradient(90deg,#e5b94f,rgba(229,185,79,0));
  flex:0 0 auto;
}
@media(min-width:1200px){
  .hero-bg{background-position:center center !important;}
}
@media(max-width:760px){
  .hero-bg{background-position:62% center !important;}
  .kicker{font-size:10px !important;letter-spacing:.14em !important;gap:10px;margin-bottom:16px;}
  .kicker:after{width:38px;}
}


/* Einheitliche, thematisch passende Gold-Line-Icons im Hero-Bereich */
.hero-points{gap:18px}
.hero-points span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.hero-point-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:var(--gold,#e5bd58);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.hero-points{gap:10px 12px}.hero-points span{gap:5px}.hero-point-icon{width:16px;height:16px;flex-basis:16px}}

/* Premium Prüfungstraining – VAL SECURITY */
.practice-premium{position:relative;isolation:isolate;overflow:hidden;background:#061013;padding-top:88px;padding-bottom:86px}
.practice-premium .practice-backdrop{position:absolute;z-index:-2;inset:0 0 auto;height:390px;background-image:linear-gradient(90deg,rgba(3,11,13,.97) 0%,rgba(3,11,13,.84) 42%,rgba(3,11,13,.2) 100%),url('../img/pruefungstraining-premium.webp');background-size:cover;background-position:center 48%;opacity:.94}
.practice-premium:after{content:"";position:absolute;z-index:-1;inset:230px 0 0;background:linear-gradient(180deg,rgba(5,15,17,.15),#061013 190px)}
.practice-premium .practice-head{position:relative;min-height:250px;align-items:center;padding:0 0 35px}
.practice-premium .section-label{color:#e9c15d}
.practice-premium .practice-head h2{font-size:clamp(38px,4vw,58px);line-height:1.02;max-width:780px;text-wrap:balance}
.practice-premium .practice-head h2 span{color:#e9b844}
.practice-premium .practice-head>p{max-width:440px;font-size:16px}
.practice-premium .practice-grid{gap:14px;margin-top:6px;border:0}
.practice-premium .practice-item{position:relative;display:flex;align-items:center;gap:20px;min-height:180px;padding:24px 22px;border:1px solid rgba(224,174,66,.38);border-radius:5px;overflow:hidden;text-decoration:none;color:#f4f6f5;background-color:#071215;background-size:cover;background-position:center;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.practice-premium .practice-item:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,10,12,.93),rgba(3,10,12,.72) 65%,rgba(3,10,12,.84));transition:background .25s ease}
.practice-premium .practice-item>*{position:relative;z-index:1}
.practice-premium .practice-item:hover,.practice-premium .practice-item:focus-visible{transform:translateY(-4px);border-color:#efc04f;box-shadow:0 12px 32px rgba(0,0,0,.3),0 0 20px rgba(221,169,55,.09);outline:none}
.practice-premium .practice-number{position:absolute;top:18px;left:20px;color:#f1b93e;font-size:13px}
.practice-premium .practice-icon{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border:1px solid #e6b83f;border-radius:12px;background:rgba(1,9,11,.8);color:#f1bd4c;font-size:32px;font-weight:700;margin-top:25px}
.practice-premium .practice-item-copy{display:block;min-width:0;margin-top:24px}
.practice-premium .practice-item b{display:block;font-size:19px;margin:0 0 10px;color:#fff}
.practice-premium .practice-item small{display:block;color:#b9c9c9;font-size:13px;line-height:1.6}
.practice-premium .practice-arrow{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;margin-left:auto;border:1px solid #c9972d;border-radius:50%;color:#f3bf45;font-size:23px;transition:background .25s ease,color .25s ease}
.practice-premium .practice-item:hover .practice-arrow{background:#e9b844;color:#061013}
.practice-premium .practice-learn{background-image:url('../img/gesetz-4k.webp')}
.practice-premium .practice-drill{background-image:url('../img/pruefung-4k.webp')}
.practice-premium .practice-review{background-image:url('../img/monitor-hd.webp')}
.practice-premium .practice-apply{background-image:url('../img/security-team-hd.webp')}
@media(max-width:1050px){.practice-premium .practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-premium .practice-head{min-height:220px}.practice-premium .practice-item{min-height:165px}}
@media(max-width:760px){.practice-premium{padding:60px 20px}.practice-premium .practice-backdrop{height:360px;background-position:58% center}.practice-premium .practice-head{min-height:0;padding-bottom:28px}.practice-premium .practice-head h2{font-size:36px}.practice-premium .practice-head>p{font-size:14px}.practice-premium .practice-grid{grid-template-columns:1fr;gap:11px}.practice-premium .practice-item{min-height:135px;padding:20px 16px;gap:14px}.practice-premium .practice-icon{flex-basis:52px;width:52px;height:52px;font-size:27px}.practice-premium .practice-item b{font-size:17px}.practice-premium .practice-item small{font-size:12px}.practice-premium .practice-arrow{flex-basis:36px;width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.practice-premium .practice-item,.practice-premium .practice-arrow{transition:none}}

/* Version 45: hochwertiger, informativer Footer auch auf Unterseiten */
.footer-brand{flex-direction:column;gap:12px;padding:18px 8px;border-left:1px solid rgba(229,185,79,.2);border-right:1px solid rgba(229,185,79,.2)}
.footer-brand img{width:min(100%,330px);max-height:240px}
.footer-brand p{margin:0;color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.16em;text-align:center}
.site-footer .footer-main{align-items:start}
.site-footer .footer-column a{border-bottom:1px solid rgba(255,255,255,.045)}
.site-footer .footer-column a:last-child{border-bottom:0}
.site-footer .footer-bottom{border-top:1px solid rgba(229,185,79,.45);box-shadow:0 -10px 30px rgba(0,0,0,.12)}
@media(max-width:1100px){.footer-brand{border:0;border-bottom:1px solid rgba(229,185,79,.2);padding-bottom:22px}}


/* Version 47: motivierender Lernabschluss im zentralen Footer-Bereich */
.site-footer .footer-main{grid-template-columns:1.1fr 1.7fr 1.1fr .72fr;gap:26px;align-items:stretch}
.site-footer .footer-brand{position:relative;isolation:isolate;overflow:hidden;justify-content:flex-start;gap:0;padding:18px 20px 22px;border-left:1px solid rgba(229,185,79,.28);border-right:1px solid rgba(229,185,79,.28);background:radial-gradient(ellipse at 50% 10%,rgba(229,185,79,.11),transparent 48%),linear-gradient(180deg,rgba(8,23,25,.78),rgba(2,10,12,.45));text-align:center}
.footer-brand-glow{position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 50% 35%,rgba(30,78,79,.22),transparent 68%);pointer-events:none}
.site-footer .footer-brand img{width:min(100%,310px);max-height:220px;object-fit:contain;filter:drop-shadow(0 8px 20px rgba(229,185,79,.12));margin:0 auto 10px}
.footer-motivation{width:100%;padding:2px 0 17px;border-bottom:1px solid rgba(229,185,79,.42)}
.footer-eyebrow{display:block;color:var(--gold);font-size:9px;font-weight:800;letter-spacing:.2em;margin:0 0 12px}
.footer-motivation h2{margin:0;color:#f2f3ef;font-family:Georgia,serif;font-size:clamp(18px,1.5vw,25px);line-height:1.18;letter-spacing:.015em;font-weight:500}
.footer-motivation h2 strong{display:inline-block;color:var(--gold);font-weight:700;margin-top:3px}
.footer-motivation p{margin:10px 0 0;color:#cbd4d1;font-size:10px;letter-spacing:.2em;text-transform:uppercase}
.footer-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding-top:17px;width:100%}
.footer-features>div{display:flex;flex-direction:column;align-items:center;padding:0 8px;min-width:0}
.footer-features>div+div{border-left:1px solid rgba(229,185,79,.25)}
.feature-symbol{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--gold);border-radius:50%;color:var(--gold);font-size:20px;margin-bottom:8px;box-shadow:0 0 18px rgba(229,185,79,.07)}
.footer-features b{font-size:9px;letter-spacing:.07em;color:#f4f4ef;margin-bottom:5px}
.footer-features small{font-size:10px;line-height:1.45;color:#b9c7c4;max-width:120px}
@media(max-width:1100px){.site-footer .footer-main{grid-template-columns:1fr 1fr;gap:24px}.site-footer .footer-brand{grid-column:1/-1;grid-row:1;padding:25px 20px}.site-footer .footer-brand img{width:260px;max-height:180px}.footer-motivation h2{font-size:25px}.footer-features small{max-width:150px}.site-footer .footer-learning{grid-column:1;grid-row:2}.site-footer .footer-tests{grid-column:2;grid-row:2}.site-footer .footer-service{grid-column:1/-1;grid-row:3}}
@media(max-width:650px){.site-footer .footer-main{grid-template-columns:1fr;padding:28px 18px;gap:24px}.site-footer .footer-brand{grid-column:auto;grid-row:auto;padding:22px 10px}.site-footer .footer-brand img{width:min(82%,260px);max-height:175px}.footer-eyebrow{font-size:8px;letter-spacing:.14em}.footer-motivation h2{font-size:21px}.footer-motivation p{font-size:9px;letter-spacing:.12em}.footer-features{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}.footer-features>div{padding:0 8px}.footer-features>div:nth-child(3){border-left:0}.footer-features b{font-size:9px}.footer-features small{font-size:10px}.site-footer .footer-learning,.site-footer .footer-tests,.site-footer .footer-service{grid-column:auto;grid-row:auto}}

/* v87: Homepage-Kacheln nutzen die Beschriftung im Bild; doppelte HTML-Icons/Titel/Beschreibungen entfernt. */
.course-body .course-icon,.course-body h3,.course-body p{display:none!important;}
.course-body{inset:auto 18px 20px;}
@media(max-width:760px){.course-body{inset:auto 12px 14px;}}

/* v89: Alle zehn Lernkacheln gleichmäßig und vollständig mit Bildfläche füllen. */
.course-card{height:490px;isolation:isolate;background:#03090b;}
.course-image{inset:0!important;width:100%;height:100%!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;}
.course-overlay{inset:0;z-index:1;background:linear-gradient(180deg,rgba(2,8,10,.08) 0%,rgba(2,8,10,.02) 34%,rgba(2,8,10,.5) 60%,rgba(2,8,10,.96) 100%);pointer-events:none;}
.course-number{z-index:3;background:rgba(3,10,12,.88);padding:5px 8px;top:12px;right:12px;line-height:1.1;border-bottom:1px solid var(--gold);}
.course-body{z-index:3;}
@media(max-width:1050px){.course-card{height:460px;}}
@media(max-width:760px){.course-card{height:400px;}.course-image{background-position:center center!important;}}


/* v90: vollständiges Kachelmotiv ohne Verzerrung; Cover-Kopie füllt den Hintergrund */
.course-card{isolation:isolate}
.course-image{inset:0!important;height:100%!important;width:100%;background-repeat:no-repeat!important;background-size:100% 100%,contain,cover!important;background-position:center,center top,center center!important;background-color:#03090b}
.course-overlay{z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(2,12,14,.12) 36%,rgba(2,11,13,.9) 100%)}
.course-number,.course-body{z-index:3}


/* ==========================================================
   VAL SECURITY – premium redesign: "Gesetze & Vorschriften"
   Black / metallic gold, responsive, scoped to the law section
   ========================================================== */
.law-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(205, 157, 55, .075), transparent 42%),
    linear-gradient(135deg, #070909 0%, #0a1011 55%, #070909 100%);
  border-top: 1px solid rgba(215, 171, 70, .32);
  border-bottom: 1px solid rgba(215, 171, 70, .24);
}
.law-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(222, 176, 72, .7) 18%, rgba(222, 176, 72, .18) 82%, transparent);
  pointer-events: none;
}
.law-image {
  position: relative;
  min-height: 520px;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.08) 55%, rgba(5,9,10,.25) 78%, rgba(5,9,10,.65) 100%),
    linear-gradient(0deg, rgba(0,0,0,.32), transparent 46%),
    url('../img/gesetzbuecher-val-security.webp');
  background-size: cover;
  background-position: center;
  border-right: 1px solid rgba(218, 174, 72, .28);
}
.law-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(215, 169, 61, .08), transparent 35%, rgba(0,0,0,.18));
  pointer-events: none;
}
.law-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(48px, 6.2vw, 96px) clamp(28px, 5.4vw, 88px);
  background: transparent;
}
.law-copy .section-label {
  color: #dcb45a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  margin-bottom: 18px;
}
.law-copy h2 {
  max-width: 650px;
  color: #f5f2e9;
  font-size: clamp(38px, 3.5vw, 58px);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.045em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.law-copy h2::first-line {
  color: #f4f0e7;
}
.law-copy > p {
  max-width: 520px;
  color: #b9c0bd;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.8;
  margin: 0;
}
.law-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0 28px;
}
.law-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 17px;
  border: 1px solid rgba(209, 166, 68, .38);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(0,0,0,.12));
  color: #e3bd66;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .075em;
  transition: border-color .22s ease, background .22s ease, color .22s ease;
}
.law-tags span:hover {
  border-color: rgba(239, 196, 91, .88);
  background: rgba(205, 157, 55, .08);
  color: #ffdc85;
}
.law-section .outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 0 24px;
  border: 1px solid rgba(219, 174, 72, .76);
  border-radius: 2px;
  background: linear-gradient(115deg, rgba(218, 171, 65, .13), rgba(4, 8, 9, .2) 70%);
  color: #f7f1e3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.law-section .outline-btn b {
  color: #e9bd59;
  font-size: 23px;
  font-weight: 400;
  transition: transform .22s ease;
}
.law-section .outline-btn:hover {
  transform: translateY(-2px);
  border-color: #f2ca69;
  background: linear-gradient(115deg, rgba(218, 171, 65, .22), rgba(4, 8, 9, .35) 70%);
  box-shadow: 0 10px 28px rgba(0,0,0,.25), 0 0 24px rgba(218,171,65,.08);
}
.law-section .outline-btn:hover b {
  transform: translateX(4px);
}
@media (max-width: 900px) {
  .law-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .law-image { min-height: 450px; background-position: 45% center; }
  .law-copy { padding: 42px 30px; }
  .law-copy h2 { font-size: clamp(34px, 4vw, 46px); }
  .law-tags { margin: 22px 0; gap: 7px; }
  .law-tags span { padding: 9px 11px; font-size: 10px; }
}
@media (max-width: 680px) {
  .law-section { grid-template-columns: 1fr; }
  .law-section::before { display: none; }
  .law-image {
    min-height: 280px;
    height: 58vw;
    max-height: 390px;
    border-right: 0;
    border-bottom: 1px solid rgba(218, 174, 72, .42);
    background-position: center 48%;
  }
  .law-copy { padding: 36px 22px 42px; }
  .law-copy .section-label { margin-bottom: 13px; }
  .law-copy h2 { font-size: clamp(36px, 9vw, 48px); margin-bottom: 15px; }
  .law-copy > p { font-size: 14px; line-height: 1.7; }
  .law-tags { margin: 22px 0; }
  .law-tags span { min-height: 36px; }
  .law-section .outline-btn { min-height: 60px; width: 100%; padding: 0 18px; }
}


/* High-resolution legal books photo panel: crop from supplied reference artwork */
.law-image {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.02) 48%, rgba(5,9,10,.22) 78%, rgba(5,9,10,.52) 100%),
    linear-gradient(0deg, rgba(0,0,0,.18), transparent 48%),
    url('../img/gesetzbuecher-val-security.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
}


/* ============================================================
   VAL SECURITY – einheitlicher Premium-Footer
   Gemeinsame Abstände, Typografie, Rahmen und Schwarz-Gold-Look
   ============================================================ */
.site-footer {
  background: #050606 !important;
  color: #f0eee8;
  border-top: 1px solid rgba(219, 174, 72, .65);
}
.footer-main {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: clamp(28px, 3vw, 52px) clamp(20px, 3.4vw, 64px);
  display: grid;
  grid-template-columns: minmax(250px, 1.08fr) minmax(360px, 1.55fr) minmax(250px, 1.08fr) minmax(190px, .78fr);
  gap: clamp(18px, 2vw, 34px);
  align-items: stretch;
}
.footer-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.footer-column h2 {
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(219,174,72,.55);
  color: #e2b64f;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .085em;
  font-weight: 800;
}
.footer-column a {
  min-height: 58px;
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) 14px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: #e8e7e2;
  font-size: 13px;
  line-height: 1.42;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, padding .2s ease;
}
.footer-column a:last-child { border-bottom-color: transparent; }
.footer-column a:hover {
  color: #f3c85e;
  padding-left: 4px;
}
.footer-column a > span:nth-child(2) { min-width: 0; }
.footer-column a > b {
  color: #d9a83f;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}
.footer-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219,174,72,.72);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(219,174,72,.07), rgba(0,0,0,.25));
  color: #e2b64f;
  font-size: 21px;
  line-height: 1;
}
.footer-column strong {
  display: block;
  color: #f1eee6;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 750;
}
.footer-column small {
  display: block;
  margin-top: 3px;
  color: #aeb8b6;
  font-size: 11px;
  line-height: 1.4;
}
.footer-brand {
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(18px, 2vw, 30px) clamp(14px, 1.5vw, 24px);
  border-left: 1px solid rgba(219,174,72,.28);
  border-right: 1px solid rgba(219,174,72,.28);
  background:
    radial-gradient(ellipse at 50% 16%, rgba(219,174,72,.075), transparent 48%),
    linear-gradient(180deg, #080c0c 0%, #050707 100%);
  text-align: center;
}
.footer-brand-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(219,174,72,.045), transparent 65%);
}
.footer-brand img {
  display: block;
  width: min(100%, 330px);
  max-height: 210px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 10px;
  filter: drop-shadow(0 0 16px rgba(219,174,72,.12));
}
.footer-motivation { width: 100%; }
.footer-eyebrow {
  display: block;
  margin: 4px 0 14px;
  color: #d9a83f;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: .14em;
}
.footer-motivation h2 {
  margin: 0;
  color: #f1eee7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.5vw, 25px);
  line-height: 1.24;
  font-weight: 500;
}
.footer-motivation h2 strong {
  display: block;
  margin-top: 3px;
  color: #dfb14a;
  font-size: inherit;
  font-weight: 700;
}
.footer-motivation p {
  margin: 12px 0 0;
  color: #c8d0ce;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 750;
}
.footer-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  width: 100%;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(219,174,72,.34);
}
.footer-features > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0 7px;
  text-align: center;
}
.footer-features > div + div { border-left: 1px solid rgba(219,174,72,.18); }
.feature-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
  border: 1px solid rgba(219,174,72,.7);
  border-radius: 50%;
  color: #e3b64f;
  font-size: 16px;
}
.footer-features b {
  color: #f0eee8;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 800;
}
.footer-features small {
  color: #aeb8b6;
  font-size: 9px;
  line-height: 1.45;
}
.footer-bottom {
  width: 100%;
  max-width: none;
  min-height: 68px;
  padding: 18px clamp(20px, 3.4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(219,174,72,.5);
  background: #030404;
}
.footer-legal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: #aeb8b6;
  font-size: 11px;
  line-height: 1.5;
}
.footer-motto {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  color: #e2b64f;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 850;
  letter-spacing: .13em;
}
.footer-motto i { color: #f4d681; font-style: normal; }

@media (max-width: 1250px) {
  .footer-main {
    grid-template-columns: minmax(230px,1fr) minmax(320px,1.25fr) minmax(230px,1fr);
    gap: 22px;
  }
  .footer-brand { grid-column: 1 / -1; grid-row: 1; }
  .footer-brand img { width: min(100%, 290px); max-height: 180px; }
  .footer-learning { grid-column: 1; }
  .footer-tests { grid-column: 2; }
  .footer-service { grid-column: 3; }
  .footer-features { max-width: 620px; }
}
@media (max-width: 760px) {
  .footer-main {
    grid-template-columns: minmax(0,1fr);
    gap: 26px;
    padding: 28px 18px;
  }
  .footer-brand,
  .footer-learning,
  .footer-tests,
  .footer-service {
    grid-column: 1;
    grid-row: auto;
  }
  .footer-brand {
    padding: 24px 14px;
    border: 1px solid rgba(219,174,72,.28);
  }
  .footer-brand img { width: min(82%, 270px); max-height: 180px; }
  .footer-motivation h2 { font-size: 22px; }
  .footer-features { margin-top: 18px; padding-top: 14px; }
  .footer-features > div { padding: 0 4px; }
  .footer-features b { font-size: 8px; }
  .footer-features small { font-size: 8px; }
  .footer-column h2 { min-height: 0; font-size: 14px; }
  .footer-column a { min-height: 56px; font-size: 13px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    gap: 12px;
  }
  .footer-legal { flex-direction: column; gap: 3px; }
  .footer-motto { justify-content: flex-start; gap: 9px; }
}


/* VAL Security footer brand panel – match the homepage's cinematic security background */
.footer-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #061013 !important;
  background-image:
    linear-gradient(180deg, rgba(3,10,12,.76) 0%, rgba(3,9,11,.83) 46%, rgba(2,7,8,.96) 100%),
    linear-gradient(90deg, rgba(3,10,12,.56), rgba(3,10,12,.18) 50%, rgba(3,10,12,.62)),
    url('../img/hero-val-security-wide.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  border: 1px solid rgba(219,174,72,.42) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 12px 36px rgba(0,0,0,.24);
}
.footer-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 14%, rgba(229,185,79,.12), transparent 42%),
    linear-gradient(180deg, rgba(2,8,10,.18), rgba(2,8,10,.44));
}
.footer-brand-glow {
  inset: 0;
  background: radial-gradient(ellipse at 50% 28%, rgba(229,185,79,.11), transparent 58%) !important;
}
.footer-brand img {
  filter: drop-shadow(0 3px 18px rgba(0,0,0,.8)) drop-shadow(0 0 14px rgba(229,185,79,.14));
}
.footer-motivation h2 {
  text-shadow: 0 2px 12px rgba(0,0,0,.88);
}
.footer-eyebrow,
.footer-motivation p,
.footer-features b,
.footer-features small {
  text-shadow: 0 1px 8px rgba(0,0,0,.95);
}
@media (max-width: 760px) {
  .footer-brand {
    background-position: 63% center !important;
  }
}


/* VAL Security: clearer, calmer transition between homepage sections */
.law-section {
  position: relative;
  z-index: 1;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}
.law-section::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5,7,7,0) 0%,
    rgba(5,7,7,.55) 48%,
    #050707 100%
  );
}
.val-reference-menu {
  position: relative;
  z-index: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 1px solid rgba(217,168,63,.58);
  background: #050707;
  box-shadow: 0 -12px 34px rgba(0,0,0,.34);
}
.val-reference-menu::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5,7,7,.96) 0%,
    rgba(5,7,7,.58) 35%,
    rgba(5,7,7,0) 100%
  );
}
.val-reference-menu > img {
  position: relative;
  z-index: 1;
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .law-section,
  .val-reference-menu {
    scroll-margin-top: 16px;
  }
}
@media (max-width: 680px) {
  .law-section::after { height: 34px; }
  .val-reference-menu::before { height: 42px; }
}


/* Brand name update: VAL - Trainingszentrum */
.logo .brand-copy b,
.logo span b {
  letter-spacing: .01em;
}
.logo .brand-copy b {
  white-space: nowrap;
}
@media (max-width: 460px) {
  .logo .brand-copy b {
    font-size: clamp(13px, 3.6vw, 17px);
    letter-spacing: 0;
  }
}


/* VAL - Trainingszentrum: fit the updated hero brand in the existing layout */
.hero h1 .hero-title-word {
  letter-spacing: -.055em;
}
@media (min-width: 761px) and (max-width: 1250px) {
  .hero h1 { font-size: clamp(52px, 5.2vw, 74px) !important; }
}
@media (max-width: 760px) {
  .hero h1 { overflow-wrap: normal; }
  .hero h1 .hero-title-word { display: block; }
}


/* VAL Security / Trainings Zentrum – responsive hero headline */
#home > section.hero h1 strong.hero-brand-white { color: #fff !important; display:block; }
#home > section.hero h1 .hero-title-word {
  display:block;
  margin-top:.02em;
  color:#e5bd58 !important;
  font-size:.88em;
  line-height:.98;
  letter-spacing:-.045em !important;
}
@media (max-width:760px) {
  #home > section.hero h1 { font-size:clamp(40px,9.3vw,58px)!important; line-height:.96!important; }
  #home > section.hero h1 .hero-title-word { font-size:.82em; white-space:normal; margin-top:5px; }
}
@media (max-width:390px) {
  #home > section.hero h1 { font-size:clamp(36px,9.5vw,43px)!important; }
  #home > section.hero h1 .hero-title-word { font-size:.80em; }
}


/* Live-Kachel: echtes, lautloses Loop-Video; begrenzt auf den vorhandenen Monitorrahmen */
.hero-monitor .monitor-screen{position:relative;overflow:hidden;background-image:url('../img/leitstelle.webp');background-position:center;background-size:cover;isolation:isolate}
.hero-monitor .monitor-live-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;border:0;pointer-events:none}
.hero-monitor .monitor-screen:before{z-index:1;pointer-events:none}
@media(prefers-reduced-motion:reduce){.hero-monitor .monitor-live-video{visibility:hidden}.hero-monitor .monitor-screen{background-image:url('../img/leitstelle.webp')!important}}


/* VAL progress section: dog-handler photo and gold accent refinements */
#fortschritt.progress-section{min-height:610px;background:#030b0d;border-top:1px solid rgba(218,174,73,.35);border-bottom:1px solid rgba(218,174,73,.35)}
#fortschritt .progress-photo{background-image:linear-gradient(90deg,rgba(3,11,13,.12),rgba(3,11,13,.04)),url('../img/progress-diensthund-background.webp')!important;background-size:cover!important;background-position:center center!important}
#fortschritt .progress-highlight{color:#e2b94f}
#fortschritt .section-label{color:#e4bd5c!important}
#fortschritt .ring{background:conic-gradient(#e2b94f 0deg,#263a3d 0deg);box-shadow:0 0 0 1px rgba(226,185,79,.16),0 0 28px rgba(226,185,79,.08)}
#fortschritt .ring:before{background:#071114}
#fortschritt .bars i{background:rgba(18,35,38,.92);border:1px solid rgba(219,183,91,.18)}
#fortschritt .bars em{background:linear-gradient(90deg,#b98525,#f1d27c)}
#fortschritt .progress-content .outline-btn{color:#fffaf0;border-color:#d7ad48;background:rgba(3,11,13,.64)}
@media(max-width:760px){#fortschritt.progress-section{min-height:760px}#fortschritt .progress-photo{background-image:linear-gradient(180deg,rgba(3,11,13,.48),rgba(3,11,13,.96)),url('../img/progress-diensthund-background.webp')!important;background-position:72% center!important}#fortschritt .progress-content{padding:58px 20px 64px}#fortschritt .progress-board{gap:22px;margin:28px 0}}


/* Kacheln 03–10: vollständige Poster mit integrierter Beschriftung und CTA */
.course-card-poster{isolation:isolate;display:block;position:relative;overflow:hidden;background:#03090b;border:1px solid rgba(218,174,72,.35);}
.course-card-poster .course-image{position:absolute;inset:0!important;width:100%;height:100%!important;background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important;transition:transform .35s ease,filter .35s ease;}
.course-card-poster:hover .course-image{transform:scale(1.015);filter:brightness(1.06);}
.course-card-poster:focus-visible{outline:2px solid #e7bd59;outline-offset:3px;}
@media(prefers-reduced-motion:reduce){.course-card-poster .course-image{transition:none!important}.course-card-poster:hover .course-image{transform:none!important}}

/* VAL-Kachelangleichung: alle Poster einheitlich wie Lernbereich 05 (2:3, gleiche Bildfläche). */
#lernen .course-card{aspect-ratio:2 / 3 !important;}
#lernen .course-card .course-image{inset:0 !important;width:100% !important;height:100% !important;background-size:100% 100% !important;background-position:center center !important;background-repeat:no-repeat !important;}
@media(max-width:600px){#lernen .course-card{aspect-ratio:2 / 3 !important;}}
