/* Zertifikate (zertifikate.html): MOS-Chips, ICDL-Auszeichnung, Erfolgs-Abschnitt – baut auf css/seiten.css auf */
.zert-auszeichnung{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .9rem;border-radius:50rem;background:var(--praxis);color:#2c2517;font-weight:700;font-size:.9rem;text-decoration:none;transition:.2s}
.zert-auszeichnung b{padding:.1rem .5rem;border-radius:50rem;background:#111820;color:#fff;font:700 1rem/1.2 "Barlow Condensed",sans-serif;white-space:nowrap}
.zert-auszeichnung:hover,.zert-auszeichnung:focus-visible{background:#111820;color:#fff}
.zert-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0 .8rem;padding:0;list-style:none}
.zert-chips li{padding:.3rem .8rem;border-radius:50rem;background:#dff3ff;color:#0a4e7e;font-size:.8rem;font-weight:800}
.zert-chips .zert-chip-plan{background:#fff;border:1px dashed #9fb3c1;color:var(--text2)}

.zert-zahlen{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.zert-zahl{display:grid;gap:.3rem;padding:1.6rem;border-radius:1.5rem;background:#fff;border:1px solid var(--linie);border-top:6px solid var(--industrial)}
.zert-zahl:first-child{border-top-color:var(--gold);background:#111820;color:#fff}
.zert-zahl:first-child span{color:#cfd9e0}
.zert-zahl b{font:700 clamp(2.6rem,5vw,4rem)/.95 "Barlow Condensed",sans-serif}
.zert-zahl span{color:var(--text2);line-height:1.45}
.zert-erfolg-text{max-width:900px;margin-top:1.6rem;color:#33424d;line-height:1.7}
.zert-quelle{font-size:.85rem;color:var(--text2)}
.zert-weg{margin-top:2.4rem}
.zert-weg h3{margin-bottom:1rem;font:700 2rem/1 "Barlow Condensed",sans-serif}

@media(max-width:767.98px){.zert-zahlen{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.zert-auszeichnung{transition:none}}

/* ---------- Zertifikats-Map (#map, js/zertifikate.js) – Bildsprache wie die Wege-Karte (css/wege.css) ---------- */
.zm-sek{position:relative;overflow:hidden;background:radial-gradient(1100px 560px at 90% -10%,rgba(33,185,239,.22),transparent 60%),radial-gradient(900px 500px at -10% 110%,rgba(216,189,120,.16),transparent 60%),#071019;color:#fff}
.zm-kopf{max-width:820px;margin-bottom:2rem}
.zm-kopf .eyebrow{color:#f2d27a}
.zm-kopf h2{margin:.3rem 0 .8rem;font:700 clamp(2.4rem,5vw,4rem)/.95 "Barlow Condensed",sans-serif;color:#fff}
.zm-kopf h2 span{color:var(--cyan)}
.zm-kopf p{color:#c9dbe6;line-height:1.65}
.zm-buehne{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:1.4rem;align-items:start}
.zm-karte{position:relative;padding:1.6rem 1.4rem 1.2rem;border-radius:2rem;background:linear-gradient(150deg,#0a2f4c 0%,#081a2a 55%,#071019 100%);border:1px solid rgba(255,255,255,.1);box-shadow:0 2rem 5rem rgba(0,0,0,.35)}
.zm-karte:before{content:"";position:absolute;inset:0;border-radius:inherit;background-image:radial-gradient(rgba(255,255,255,.07) 1.1px,transparent 1.2px);background-size:24px 24px;pointer-events:none}
.zm-spur,.zm-gruppe{position:relative;margin-bottom:1.6rem}
.zm-spur-name{display:flex;align-items:baseline;gap:.5rem;margin:0 0 .9rem;color:var(--f,#f2d27a);font:700 1.5rem/1 "Barlow Condensed",sans-serif;letter-spacing:.02em}
.zm-spur-name small{color:#9fb8c7;font:600 .78rem/1.2 Inter,system-ui,sans-serif;letter-spacing:0}
.zm-gruppe .zm-spur-name{color:#f2d27a}
.zm-linie{position:relative;display:flex;margin:0;padding:0;list-style:none}
.zm-linie:before{content:"";position:absolute;left:4%;right:4%;top:21px;height:4px;border-radius:4px;background:linear-gradient(90deg,var(--f),rgba(242,210,122,.9));transform-origin:left;animation:zm-linie 1.1s cubic-bezier(.3,.7,.2,1) both}
@keyframes zm-linie{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes zm-linie-m{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.zm-linie>li{position:relative;flex:1 1 0;min-width:0;animation:zm-pop .5s ease both}
.zm-linie>li:nth-child(2){animation-delay:.08s}.zm-linie>li:nth-child(3){animation-delay:.16s}.zm-linie>li:nth-child(4){animation-delay:.24s}.zm-linie>li:nth-child(5){animation-delay:.32s}.zm-linie>li:nth-child(6){animation-delay:.4s}.zm-linie>li:nth-child(7){animation-delay:.48s}.zm-linie>li:nth-child(8){animation-delay:.56s}
@keyframes zm-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
.zm-st{display:flex;flex-direction:column;align-items:center;gap:.3rem;width:100%;padding:0 .15rem;border:0;background:none;color:#fff;text-align:center;cursor:pointer;transition:opacity .25s}
.zm-punkt{position:relative;display:grid;place-items:center;width:46px;height:46px;border:3px solid var(--f);border-radius:50%;background:#071a2a;color:var(--f);font:700 1.45rem/1 "Barlow Condensed",sans-serif;box-shadow:0 .4rem 1.2rem rgba(0,0,0,.4);transition:transform .25s,background .25s,color .25s,box-shadow .25s}
.zm-zert .zm-punkt{border-color:#f2d27a;border-radius:14px;color:#f2d27a;font-size:1.15rem;transform:rotate(45deg)}
.zm-zert .zm-punkt i{transform:rotate(-45deg)}
.zm-flex .zm-punkt{border-style:dashed}
.zm-linie>li:first-child .zm-punkt:after{content:"";position:absolute;inset:-9px;border:2px solid rgba(255,255,255,.5);border-radius:50%;animation:zm-puls 2.2s ease-out infinite}
@keyframes zm-puls{from{transform:scale(.8);opacity:1}to{transform:scale(1.5);opacity:0}}
.zm-name{max-width:100%;padding:.15rem .5rem;border-radius:50rem;background:rgba(5,14,22,.86);font-weight:750;font-size:.8rem;line-height:1.2;box-shadow:0 0 0 1px rgba(255,255,255,.08);hyphens:manual}
.zm-tag{padding:.05rem .5rem;border-radius:50rem;background:var(--f);color:#071019;font-size:.66rem;font-weight:800;line-height:1.5}
.zm-zert .zm-tag{background:rgba(242,210,122,.18);color:#f7e6b5}
.zm-st:hover .zm-punkt,.zm-st:focus-visible .zm-punkt{transform:scale(1.1);box-shadow:0 0 0 6px rgba(255,255,255,.14),0 .4rem 1.2rem rgba(0,0,0,.4)}
.zm-zert:hover .zm-punkt,.zm-zert:focus-visible .zm-punkt{transform:rotate(45deg) scale(1.1)}
.zm-st:focus-visible{outline:none}
.zm-st:focus-visible .zm-name{outline:2px solid #fff;outline-offset:2px}
.zm-karte.hat-wahl .zm-st:not(.an){opacity:.55}
.zm-st.an .zm-punkt{background:var(--f);color:#071019;box-shadow:0 0 0 7px rgba(255,255,255,.12),0 0 24px var(--f)}
.zm-zert.an .zm-punkt{background:#f2d27a;box-shadow:0 0 0 7px rgba(255,255,255,.12),0 0 24px #f2d27a}
.zm-st.an .zm-name{background:#fff;color:#071019}
.zm-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none}
.zm-chip{display:inline-flex;flex-direction:row;align-items:center;gap:.45rem;width:auto;min-height:44px;padding:.5rem 1rem;border:1px solid rgba(255,255,255,.22);border-radius:50rem;background:rgba(255,255,255,.06);font-weight:700;font-size:.88rem}
.zm-chip i{color:#f2d27a}
.zm-chip:hover,.zm-chip:focus-visible{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.5)}
.zm-chip:focus-visible{outline:2px solid #fff;outline-offset:2px}
.zm-chip.an{background:#f2d27a;border-color:#f2d27a;color:#071019}.zm-chip.an i{color:#071019}
.zm-hilfe{position:relative;margin:0;color:#8fa8b8;font-size:.78rem}
/* Detailfeld */
.zm-detail{position:sticky;top:110px;padding:1.6rem;border-radius:1.6rem;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-top:4px solid var(--f,#f2d27a);backdrop-filter:blur(6px);outline:none}
.zm-detail.neu{animation:zm-rein .4s ease}
@keyframes zm-rein{from{opacity:.2;transform:translateY(8px)}to{opacity:1;transform:none}}
.zm-nr{margin:0 0 .35rem;color:#f2d27a;font-size:.72rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.zm-d-titel{margin:0 0 .7rem;font:700 clamp(1.8rem,3vw,2.4rem)/1 "Barlow Condensed",sans-serif;color:#fff}
.zm-d-titel i{color:#f2d27a;font-size:.8em}
.zm-detail p{color:#d3e4ee;line-height:1.6}
.zm-d-logo{display:inline-grid;place-items:center;height:72px;margin-bottom:.9rem;padding:.5rem .8rem;border-radius:1rem;background:#fff}
.zm-d-logo img{max-height:56px;width:auto;max-width:220px;object-fit:contain}
.zm-fakten{display:grid;gap:.5rem;margin:1rem 0 0;padding:0;list-style:none}
.zm-fakten li{display:flex;justify-content:space-between;gap:1rem;padding:.6rem .9rem;border-radius:.9rem;background:rgba(255,255,255,.07)}
.zm-fakten b{color:#fff}.zm-fakten span{color:#b9cfdc;text-align:right}
.zm-badges{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1rem 0}
.zm-badge{padding:.85rem .9rem;border-radius:1rem;background:rgba(255,255,255,.08);border-top:3px solid var(--f,#f2d27a)}
.zm-badge small{display:flex;gap:.35rem;align-items:center;color:#9fb8c7;font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.zm-badge b{display:block;margin-top:.25rem;font:700 1.2rem/1.1 "Barlow Condensed",sans-serif;color:#fff}
.zm-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 1rem;padding:0;list-style:none}
.zm-tags li{padding:.3rem .75rem;border:1px solid rgba(255,255,255,.25);border-radius:50rem;background:rgba(255,255,255,.06);font-size:.8rem;font-weight:650}
.zm-extra{display:flex;gap:.5rem;padding:.7rem .9rem;border-radius:.9rem;background:rgba(242,210,122,.12);color:#f7e6b5!important;font-size:.9rem}
.zm-links{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:1rem 0 0}
.zm-links a{color:#7fd6ff;font-weight:750;text-decoration:none}.zm-links a:hover,.zm-links a:focus-visible{color:#fff;text-decoration:underline}

/* ---------- Zertifikate als Karten ---------- */
.zert-liste{scroll-margin-top:100px}
.zert-sprung{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1.6rem}
.zert-sprung a{padding:.45rem .95rem;border-radius:50rem;background:#fff;border:1px solid var(--linie);color:#13222d;font-size:.85rem;font-weight:750;text-decoration:none;transition:background .2s,color .2s}
.zert-sprung a:hover,.zert-sprung a:focus-visible{background:#111820;color:#fff}
.certificate-path .zert-karte{grid-template-columns:84px minmax(0,1fr) 220px;grid-template-areas:"nr inhalt logo";align-items:start;gap:1.2rem;padding:1.7rem;background:#fff;border:1px solid var(--linie);border-left:6px solid var(--f,var(--industrial));border-radius:1.4rem;box-shadow:0 .8rem 2rem rgba(11,55,79,.06);scroll-margin-top:110px}
.certificate-path>.zert-karte>.zert-nr{grid-area:nr;font:700 3.2rem/.9 "Barlow Condensed",sans-serif;color:var(--f,var(--industrial))}
.zert-inhalt{grid-area:inhalt;min-width:0}
.zert-inhalt>small{color:#75663f;font-size:.72rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.zert-kurz{margin:.3rem 0 .9rem;font-size:1.05rem;line-height:1.6;color:#22313c}
.zert-fakten{display:flex;flex-wrap:wrap;gap:.45rem;margin:.4rem 0 1rem;padding:0;list-style:none}
.zert-fakten li{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .8rem;border-radius:.8rem;background:#f2f7fa;color:#13222d;font-size:.85rem;font-weight:650}
.zert-fakten i{color:var(--f,var(--industrial))}
/* kleiner Zeitstrahl */
.zert-zeit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1.2rem 0;padding:0;list-style:none}
.zert-zeit li{position:relative;padding:1.3rem .9rem .8rem;border-radius:1rem;background:#f5f9fc;border:1px solid var(--linie)}
.zert-zeit li:before{content:"";position:absolute;left:.9rem;top:-.55rem;width:1.1rem;height:1.1rem;border:3px solid #fff;border-radius:50%;background:var(--f,var(--industrial));box-shadow:0 0 0 1px var(--linie)}
.zert-zeit b{display:block;font:700 1.25rem/1.1 "Barlow Condensed",sans-serif;color:#13222d}
.zert-zeit span{color:var(--text2);font-size:.88rem;line-height:1.45}
/* Stufen-Leiste */
.zert-stufen-titel{margin:1.2rem 0 .7rem;font:700 1.5rem/1 "Barlow Condensed",sans-serif}
.zert-stufen{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem;margin:0 0 1rem;padding:0;list-style:none}
.zert-stufen>li{position:relative;display:flex;flex-direction:column;padding:1rem;border-radius:1.1rem;background:#f5f9fc;border:1px solid var(--linie)}
.zert-stufen>li+li:before{content:"\f285";position:absolute;left:-1.2rem;top:50%;transform:translateY(-50%);font-family:bootstrap-icons;color:var(--f,var(--industrial));font-size:1rem;line-height:1}
.zert-stufe-kopf{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.3rem;margin:0 0 .6rem}
.zert-stufe-kopf b{font:700 1.5rem/1 "Barlow Condensed",sans-serif;color:#13222d}
.zert-stufe-kopf span{padding:.1rem .55rem;border-radius:50rem;background:var(--industrial);color:#fff;font-size:.72rem;font-weight:800}
.zert-module{display:flex;flex-wrap:wrap;gap:.3rem;margin:0;padding:0;list-style:none}
.zert-module li{padding:.2rem .6rem;border-radius:50rem;background:#fff;border:1px solid var(--linie);font-size:.78rem;font-weight:650;color:#22313c}
.zert-module .zert-wahl{border-style:dashed;border-color:#9fb3c1;background:transparent}
.zert-stufe-hinweis{margin:.7rem 0 0;color:var(--text2);font-size:.8rem;line-height:1.45}
.zert-stufen>.zert-stufe-top{background:#111820;border-color:#111820}
.zert-stufe-top .zert-stufe-kopf b{color:#fff}
.zert-stufe-top .zert-stufe-kopf span{background:#f2d27a;color:#111820}
.zert-stufe-top .zert-module li{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#e6eef3}
.zert-stufe-top .zert-module .zert-wahl{border-color:rgba(255,255,255,.35)}
.zert-stufe-top .zert-stufe-hinweis{color:#cfd9e0}
/* Aufklappen */
.zert-mehr{margin-top:.6rem}
.zert-mehr summary{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;padding:.45rem 1rem;border-radius:50rem;background:#edf5f9;color:#0a4e7e;font-weight:750;font-size:.9rem;cursor:pointer;list-style:none;transition:background .2s}
.zert-mehr summary::-webkit-details-marker{display:none}
.zert-mehr summary:after{content:"\f282";font-family:bootstrap-icons;font-size:.8rem;transition:transform .25s}
.zert-mehr[open] summary:after{transform:rotate(180deg)}
.zert-mehr summary:hover,.zert-mehr summary:focus-visible{background:#dff1fa}
.zert-mehr>:not(summary){margin-top:.8rem;color:#33424d;line-height:1.7}
.zert-pfad{display:flex;flex-wrap:wrap;gap:.4rem;padding:0;list-style:none;counter-reset:zp}
.zert-pfad li{counter-increment:zp;padding:.3rem .8rem;border-radius:50rem;background:#f2f7fa;font-size:.85rem;font-weight:650}
.zert-pfad li:before{content:counter(zp) ". ";color:var(--industrial);font-weight:800}
.zert-textlink a{color:#0a4e7e;font-weight:700}
/* Logos rechts – immer derselbe Kasten, ohne Logo ein neutrales Symbol */
.zert-karte .zert-logos{grid-area:logo;display:flex;flex-direction:column;align-items:stretch;gap:.6rem}
.zert-box{display:grid;place-items:center;height:116px;padding:.8rem 1rem;border-radius:1.2rem;background:#fff;border:1px solid var(--linie);box-shadow:0 .4rem 1.2rem rgba(11,55,79,.06)}
.zert-box img{max-width:100%;max-height:96px;width:auto;height:auto;object-fit:contain}
.zert-box-plan{grid-template-rows:1fr auto;height:auto;gap:.3rem;border-style:dashed;opacity:.9}
.zert-box-plan img{height:62px}
.zert-box small{color:var(--text2);font-size:.64rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;text-align:center}
.zert-box-ico{grid-template-rows:1fr auto;gap:.2rem;background:linear-gradient(160deg,#fff 40%,#f2f7fa)}
.zert-box-ico i{font-size:2.6rem;line-height:1;color:var(--f,var(--industrial))}
.zert-blitz{animation:zert-blitz 1.4s ease}
@keyframes zert-blitz{0%,100%{box-shadow:0 .8rem 2rem rgba(11,55,79,.06)}30%{box-shadow:0 0 0 6px rgba(33,185,239,.45),0 .8rem 2rem rgba(11,55,79,.12)}}

/* ---------- Größen ---------- */
@media(max-width:1199.98px){.zm-buehne{grid-template-columns:1fr}.zm-detail{position:static}}
@media(max-width:991.98px){
  .zm-name{font-size:.72rem;padding:.12rem .4rem}.zm-tag{font-size:.6rem;padding:.05rem .4rem}
  .zm-punkt{width:38px;height:38px;font-size:1.2rem}.zm-zert .zm-punkt{border-radius:11px;font-size:.95rem}.zm-linie:before{top:17px}
  .certificate-path .zert-karte{grid-template-columns:70px minmax(0,1fr) 170px}
  .zert-stufen,.zert-zeit{grid-template-columns:1fr}
  .zert-stufen>li+li:before{content:"\f282";left:50%;top:-1.2rem;transform:translateX(-50%)}
}
@media(max-width:767.98px){
  .zm-karte{padding:1.2rem 1rem 1rem;border-radius:1.4rem}
  .zm-linie{flex-direction:column;gap:.55rem}
  .zm-linie:before{left:17px;right:auto;top:.5rem;bottom:.5rem;width:4px;height:auto;background:linear-gradient(180deg,var(--f),rgba(242,210,122,.9));transform-origin:top;animation-name:zm-linie-m}
  .zm-st{flex-direction:row;gap:.6rem;padding:0;text-align:left;min-height:44px}
  .zm-punkt{flex:0 0 auto}
  .zm-name{font-size:.82rem}
  .zm-tag{margin-left:auto;font-size:.66rem;white-space:nowrap}
  .zm-detail{padding:1.2rem}
  .zm-badges{grid-template-columns:1fr}
  .certificate-path .zert-karte{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"nr logo" "inhalt inhalt";gap:.9rem;padding:1.2rem}
  .certificate-path>.zert-karte>.zert-nr{font-size:2.4rem;align-self:center}
  .zert-karte .zert-logos{flex-direction:row;justify-content:flex-end;align-items:center}
  .zert-karte .zert-logos{flex-wrap:wrap;gap:.4rem}
  .zert-box{width:140px;height:76px;padding:.5rem .7rem}
  .zert-box img{max-height:58px}
  .zert-box-plan{width:84px;height:76px;padding:.35rem}.zert-box-plan img{height:38px}.zert-box-plan small{font-size:.52rem}
  .zert-box-ico{width:auto;min-width:96px;padding:.5rem .8rem}.zert-box-ico i{font-size:1.8rem}.zert-box-ico small{font-size:.58rem}
  .zm-karte .zm-chip{padding:.5rem .9rem;text-align:left}
}
@media(prefers-reduced-motion:reduce){
  .zm-linie:before,.zm-linie>li,.zm-detail.neu,.zert-blitz{animation:none}
  .zm-linie>li:first-child .zm-punkt:after{animation:none;opacity:0}
  .zm-st,.zm-punkt,.zert-sprung a,.zert-mehr summary,.zert-mehr summary:after{transition:none}
}
/* Kontrast (WCAG 1.4.3): Cyan-Nummern auf Weiß zu hell → dunkleres Cyan */
.certificate-path>.zert-karte[style*="--cyan"]>.zert-nr{color:#0a7fae}
