:root{
  --pf-expert-deep:#123d1f;
  --pf-expert-green:#1f7a35;
  --pf-expert-mint:#e8f7ed;
  --pf-expert-ink:#0d2113;
  --pf-expert-muted:#5d6d62;
  --pf-expert-line:rgba(18,61,31,.14);
  --pf-expert-gold:#f3d67a;
  --pf-expert-red:#8a1f1f;
}
*{box-sizing:border-box}
body.pf-expert-body{
  margin:0;
  min-height:100vh;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 16% 8%,rgba(31,122,53,.24),transparent 30%),
    radial-gradient(circle at 84% 0%,rgba(243,214,122,.20),transparent 32%),
    linear-gradient(145deg,#eef8f0 0%,#f9fcf9 48%,#eef7ef 100%);
  color:var(--pf-expert-ink);
}
a{color:var(--pf-expert-green)}
.pf-expert-topbar{
  min-height:74px;
  padding:14px clamp(16px,4vw,42px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:linear-gradient(90deg,#07160d 0%,#092313 58%,#0f321b 100%);
  box-shadow:0 16px 44px rgba(7,22,13,.18);
}
.pf-expert-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
}
.pf-expert-brand img{
  border-radius:14px;
  box-shadow:0 10px 26px rgba(0,0,0,.22);
}
.pf-expert-brand span{display:grid;gap:2px}
.pf-expert-brand small{color:#cfe6d5}
.pf-expert-topbar nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.pf-expert-topbar nav a{
  color:#d7e8dc;
  text-decoration:none;
  padding:9px 11px;
  border-radius:12px;
  font-weight:800;
}
.pf-expert-topbar nav a.active,.pf-expert-topbar nav a:hover{
  background:rgba(255,255,255,.11);
  color:#fff;
}
.pf-expert-page{
  width:min(1160px,calc(100% - 32px));
  margin:34px auto 48px;
}
.pf-expert-hero{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);
  gap:24px;
  align-items:stretch;
  margin-bottom:24px;
}
.pf-expert-hero>div,.pf-expert-money-card,.pf-expert-card,.pf-expert-auth-intro{
  border:1px solid rgba(255,255,255,.48);
  background:rgba(255,255,255,.72);
  box-shadow:0 24px 70px rgba(7,22,13,.14),inset 0 1px 0 rgba(255,255,255,.55);
  backdrop-filter:blur(12px);
  border-radius:28px;
}
.pf-expert-hero>div{
  padding:44px;
  background:
    radial-gradient(circle at 12% 12%,rgba(255,255,255,.72),transparent 28%),
    linear-gradient(135deg,rgba(232,247,237,.92),rgba(255,255,255,.66));
}
.pf-expert-hero h1{
  margin:8px 0 14px;
  max-width:820px;
  font-size:clamp(2.15rem,5vw,4.8rem);
  line-height:.96;
  letter-spacing:-.06em;
  color:var(--pf-expert-deep);
}
.pf-expert-hero p{max-width:740px;color:#314b39;font-size:1.08rem;line-height:1.6}
.pf-expert-money-card{
  padding:28px;
  display:grid;
  gap:12px;
  align-content:center;
  background:
    radial-gradient(circle at 85% 18%,rgba(243,214,122,.32),transparent 36%),
    linear-gradient(145deg,#123d1f,#0a2011);
  color:#fff;
}
.pf-expert-money-card span,.pf-expert-kicker{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.75rem;
  font-weight:900;
  color:var(--pf-expert-green);
}
.pf-expert-money-card span{color:#f3d67a}
.pf-expert-money-card strong{font-size:1.75rem;line-height:1.08}
.pf-expert-money-card p{color:#d6eadb}
.pf-expert-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.pf-expert-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--pf-expert-green);
  background:#fff;
  color:var(--pf-expert-deep);
  border-radius:14px;
  padding:12px 16px;
  font-weight:900;
  font:inherit;
  text-decoration:none;
  cursor:pointer;
}
.pf-expert-button.primary{
  background:var(--pf-expert-green);
  color:#fff;
  box-shadow:0 12px 28px rgba(31,122,53,.22);
}
.pf-expert-button.small{padding:8px 11px;font-size:.88rem}
.pf-expert-grid{display:grid;gap:20px;margin:20px 0}
.pf-expert-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.pf-expert-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.pf-expert-card{
  padding:24px;
}
.pf-expert-card h1,.pf-expert-card h2,.pf-expert-card h3{
  color:var(--pf-expert-deep);
  margin-top:0;
}
.pf-expert-card p,.pf-expert-card li{color:#405246;line-height:1.56}
.pf-expert-step{
  width:42px;height:42px;border-radius:50%;
  display:grid;place-items:center;
  color:#fff;background:var(--pf-expert-deep);
  font-weight:900;margin-bottom:12px;
}
.pf-expert-note{background:#fffdf1}
.pf-expert-auth{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(340px,1fr);
  gap:24px;
  align-items:start;
}
.pf-expert-auth.compact{max-width:960px;margin-inline:auto}
.pf-expert-auth-intro{
  padding:32px;
  background:
    radial-gradient(circle at 20% 10%,rgba(255,255,255,.50),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.30),rgba(189,224,178,.22)),
    linear-gradient(135deg,#6f9d5c,#174522 58%,#092313);
}
.pf-expert-auth-intro h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1;margin:8px 0 12px;color:#07160d}
.pf-expert-auth-intro p{font-weight:700;color:#173821;line-height:1.55}
.pf-expert-form{display:grid;gap:15px}
.pf-expert-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pf-expert-form label{display:grid;gap:7px;font-weight:800;color:#334155}
.pf-expert-form input,.pf-expert-form textarea,.pf-expert-form select,.pf-expert-copy input,.pf-expert-copy textarea{
  width:100%;
  border:1px solid #cbd8cf;
  border-radius:13px;
  padding:12px 13px;
  background:#fff;
  color:#102015;
  font:inherit;
}
.pf-expert-form textarea,.pf-expert-copy textarea{
  resize:vertical;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.9rem;
}
.pf-expert-form input:focus,.pf-expert-form textarea:focus,.pf-expert-form select:focus{
  outline:3px solid rgba(31,122,53,.18);
  border-color:var(--pf-expert-green);
}
.pf-expert-form small,.pf-expert-muted{color:var(--pf-expert-muted);font-weight:500}
.pf-expert-check{display:flex!important;align-items:flex-start;gap:10px;font-weight:600!important}
.pf-expert-check input{width:auto;margin-top:4px}
.pf-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.pf-expert-alert{
  padding:13px 15px;
  border-radius:14px;
  margin:0 0 16px;
  border:1px solid transparent;
}
.pf-expert-alert.success{background:#e8f7ed;color:#0f7a3a;border-color:#bde6ca}
.pf-expert-alert.error{background:#ffe3e3;color:var(--pf-expert-red);border-color:#ffc3c8}
.pf-expert-progress-card{margin-bottom:20px}
.pf-expert-progress{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}
.pf-expert-progress span{
  background:#edf5ef;
  border:1px solid #d8e5dc;
  border-radius:999px;
  padding:9px 12px;
  text-align:center;
  color:#5f7065;
  font-weight:900;
  font-size:.9rem;
}
.pf-expert-progress span.done{
  background:var(--pf-expert-green);
  color:#fff;
  border-color:var(--pf-expert-green);
}
.pf-expert-chat{display:grid;gap:16px}
.pf-expert-bubble{
  max-width:900px;
  border-radius:22px;
  padding:20px 22px;
  box-shadow:0 16px 38px rgba(7,22,13,.10);
}
.pf-expert-bubble.bot{
  background:#fff;
  border:1px solid rgba(18,61,31,.12);
}
.pf-expert-bubble strong{color:var(--pf-expert-deep)}
.pf-expert-answer-form{max-width:900px}
.pf-expert-copy{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin-top:14px}
.pf-expert-copy span{grid-column:1/-1;font-weight:900;color:#334155}
.pf-expert-copy.block{grid-template-columns:1fr}
.pf-expert-copy code,code{background:#eef5ef;border-radius:7px;padding:2px 5px}
.pf-expert-footer{
  padding:26px;
  text-align:center;
  color:#64748b;
}
.pf-expert-footer a{color:var(--pf-expert-deep);text-decoration:none}
.pf-print-guide h2{margin-top:28px}
.pf-expert-confetti span{
  position:fixed;
  top:-10px;
  z-index:9999;
  width:8px;height:14px;
  border-radius:3px;
  pointer-events:none;
  animation:pfExpertConfetti 1.8s linear forwards;
}
@keyframes pfExpertConfetti{
  to{transform:translateY(105vh) rotate(720deg);opacity:0}
}
@media(max-width:900px){
  .pf-expert-topbar{align-items:flex-start;flex-direction:column}
  .pf-expert-topbar nav{width:100%;overflow-x:auto;flex-wrap:nowrap}
  .pf-expert-topbar nav a{white-space:nowrap}
  .pf-expert-hero,.pf-expert-auth,.pf-expert-grid.two,.pf-expert-grid.three{grid-template-columns:1fr}
  .pf-expert-hero>div{padding:30px}
  .pf-expert-progress{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .pf-expert-page{width:min(100% - 18px,1160px);margin-top:18px}
  .pf-expert-card,.pf-expert-auth-intro,.pf-expert-hero>div,.pf-expert-money-card{border-radius:20px;padding:20px}
  .pf-expert-form-grid{grid-template-columns:1fr}
  .pf-expert-button{width:100%}
  .pf-expert-copy{grid-template-columns:1fr}
}
@media print{
  .pf-expert-topbar,.pf-expert-footer,.no-print{display:none!important}
  body.pf-expert-body{background:#fff}
  .pf-expert-page{width:auto;margin:0}
  .pf-expert-card{box-shadow:none;border:0}
}


/* Julia KI-Ausbilderin */
.pf-julia-shell{
  overflow:hidden;
  background:
    radial-gradient(circle at 90% 10%,rgba(243,214,122,.22),transparent 30%),
    linear-gradient(145deg,rgba(255,255,255,.82),rgba(232,247,237,.68));
}
.pf-julia-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.pf-julia-head h2{margin-bottom:8px}
.pf-julia-avatar{
  flex:0 0 auto;
  width:68px;
  height:68px;
  border-radius:22px;
  display:grid;
  place-items:center;
  font-weight:1000;
  font-size:2rem;
  color:#fff;
  background:linear-gradient(145deg,var(--pf-expert-green),var(--pf-expert-deep));
  box-shadow:0 18px 44px rgba(18,61,31,.24);
}
.pf-julia-status{
  margin:10px 0 14px;
  padding:10px 12px;
  border-radius:14px;
  background:#edf7ef;
  border:1px solid #d6e7db;
  color:#31503b;
  font-weight:800;
}
.pf-julia-status.error{
  background:#ffe3e3;
  border-color:#ffc3c8;
  color:var(--pf-expert-red);
}
.pf-julia-messages{
  display:grid;
  gap:12px;
  max-height:560px;
  overflow:auto;
  padding:4px 4px 10px;
  scroll-behavior:smooth;
}
.pf-julia-message{
  max-width:min(840px,92%);
  border-radius:20px;
  padding:14px 16px;
  line-height:1.55;
  white-space:pre-wrap;
  box-shadow:0 12px 30px rgba(7,22,13,.08);
}
.pf-julia-message.assistant{
  justify-self:start;
  background:#fff;
  border:1px solid rgba(18,61,31,.12);
  color:#243c2c;
}
.pf-julia-message.user{
  justify-self:end;
  background:var(--pf-expert-deep);
  color:#fff;
}
.pf-julia-message small{
  display:block;
  margin-bottom:5px;
  font-weight:1000;
  letter-spacing:.02em;
  opacity:.78;
}
.pf-julia-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:end;
  margin-top:16px;
}
.pf-julia-form label{
  display:grid;
  gap:7px;
  font-weight:900;
  color:#334155;
}
.pf-julia-form textarea{
  width:100%;
  border:1px solid #cbd8cf;
  border-radius:16px;
  padding:13px 14px;
  background:#fff;
  color:#102015;
  font:inherit;
  resize:vertical;
}
.pf-julia-form textarea:focus{
  outline:3px solid rgba(31,122,53,.18);
  border-color:var(--pf-expert-green);
}
.pf-julia-passed{
  margin-top:16px;
  padding:18px;
  border-radius:18px;
  background:#e8f7ed;
  border:1px solid #bde6ca;
}
.pf-julia-passed h3{margin-top:0;color:var(--pf-expert-deep)}
.pf-julia-typing{
  opacity:.72;
  font-style:italic;
}
@media(max-width:700px){
  .pf-julia-head{align-items:flex-start}
  .pf-julia-avatar{width:54px;height:54px;border-radius:18px;font-size:1.5rem}
  .pf-julia-form{grid-template-columns:1fr}
  .pf-julia-message{max-width:100%}
}


/* Expert photo v1g */
.pf-expert-photo-hero{
  display:grid;
  grid-template-columns: minmax(150px, 220px) minmax(0,1fr);
  gap:24px;
  align-items:center;
}
.pf-expert-photo-current{
  width:min(100%,220px);
  aspect-ratio:3/4;
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(135deg,#0c2f1d,#1f7a35);
  box-shadow:0 22px 55px rgba(8,59,25,.20);
  border:1px solid rgba(255,255,255,.75);
}
.pf-expert-photo-current img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.pf-expert-photo-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:clamp(42px,8vw,76px);
  font-weight:950;
  letter-spacing:.06em;
}
.pf-expert-photo-title{
  font-weight:800;
  color:#123d1f;
  margin:.2rem 0 .5rem;
}
.pf-expert-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding:8px 12px;
  background:#f7e8b2;
  border:1px solid rgba(176,133,21,.28);
  color:#5f4512;
  font-weight:800;
  font-size:14px;
  margin:0 0 12px;
}
.pf-expert-badge::before{
  content:"✓";
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#123d1f;
  color:#fff;
  font-size:13px;
}
.pf-photo-mode-tabs,
.pf-expert-placeholder-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:12px 0;
}
.pf-photo-mode-tabs .active{
  background:#123d1f;
  color:#fff;
}
.pf-photo-video-shell{
  position:relative;
  width:min(100%,360px);
  aspect-ratio:3/4;
  border-radius:24px;
  overflow:hidden;
  background:#081f12;
  border:1px solid rgba(8,59,25,.16);
  margin:12px 0;
}
.pf-photo-video-shell video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.pf-expert-placeholder-option{
  border:1px solid rgba(8,59,25,.16);
  background:#fff;
  border-radius:16px;
  padding:8px;
  text-align:center;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(8,59,25,.08);
}
.pf-expert-placeholder-option.active{
  outline:3px solid rgba(31,122,53,.26);
  border-color:#1f7a35;
}
.pf-expert-placeholder-option img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:12px;
  display:block;
}
.pf-expert-placeholder-option span{
  display:block;
  margin-top:6px;
  font-weight:800;
  font-size:13px;
}
.pf-expert-photo-canvas-wrap{
  width:min(100%,360px);
  margin:0 auto 12px;
}
.pf-expert-photo-canvas-wrap canvas{
  width:100%;
  height:auto;
  border-radius:24px;
  box-shadow:0 22px 55px rgba(8,59,25,.18);
  background:#123d1f;
  display:block;
}
@media (max-width:760px){
  .pf-expert-photo-hero{
    grid-template-columns:1fr;
  }
  .pf-expert-photo-current{
    width:min(100%,260px);
    margin:auto;
  }
  .pf-photo-mode-tabs,
  .pf-expert-placeholder-grid{
    grid-template-columns:1fr;
  }
}


/* Expert photo v1g1 PF badge image */
.pf-expert-badge-logo{
  gap:10px;
}
.pf-expert-badge-logo::before{
  display:none;
}
.pf-expert-badge-logo img{
  width:28px;
  height:28px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.12));
}
.pf-admin-expert-badge-logo{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.pf-admin-expert-badge-logo img{
  width:26px;
  height:26px;
  object-fit:contain;
  display:inline-block;
  vertical-align:middle;
}

/* Expert start infographic v1a: integrated into hero */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pf-expert-hero-infographic{grid-template-columns:minmax(0,1fr) minmax(300px,410px);align-items:center}
.pf-expert-infographic{display:grid;justify-items:center;align-self:center;min-width:0;margin:0}
.pf-expert-infographic-link{display:block;width:min(100%,360px);border-radius:30px;text-decoration:none;outline-offset:5px}
.pf-expert-infographic-stage{position:relative;width:100%;overflow:hidden;border:1px solid rgba(255,255,255,.28);border-radius:30px;background:#0b2212;box-shadow:0 24px 70px rgba(7,22,13,.28);isolation:isolate;transition:transform .2s ease,box-shadow .2s ease}
.pf-expert-infographic-stage-de{aspect-ratio:941/1672}
.pf-expert-infographic-stage-es{aspect-ratio:2/3}
.pf-expert-infographic-media{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;animation:pfExpertInfographicSwap 12s ease-in-out infinite}
.pf-expert-infographic-media img{width:100%;height:100%;display:block;object-fit:cover}
.pf-expert-infographic-media-b{animation-delay:-6s}
.pf-expert-infographic-link:hover .pf-expert-infographic-stage{transform:translateY(-3px);box-shadow:0 30px 82px rgba(7,22,13,.34)}
.pf-expert-infographic-link:focus-visible .pf-expert-infographic-stage{outline:4px solid #74d137}
.pf-expert-money-card-wide{margin:0 0 24px;padding:24px 28px;grid-template-columns:minmax(120px,.35fr) minmax(260px,.9fr) minmax(0,1.35fr);align-items:center}
.pf-expert-start-points{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:20px}
.pf-expert-start-points .pf-expert-card{margin:0}
.pf-expert-start-points strong{display:block;color:#123d1f;font-size:1.15rem}
.pf-expert-start-points p{margin-bottom:0}
@keyframes pfExpertInfographicSwap{0%,44%{opacity:1}50%,94%{opacity:0}100%{opacity:1}}
@media(max-width:900px){
  .pf-expert-hero-infographic{grid-template-columns:1fr}
  .pf-expert-infographic{margin-top:4px}
  .pf-expert-infographic-link{width:min(100%,350px)}
  .pf-expert-money-card-wide,.pf-expert-start-points{grid-template-columns:1fr}
}
@media(max-width:560px){
  .pf-expert-infographic-link,.pf-expert-infographic-stage{border-radius:22px}
  .pf-expert-infographic-link{width:min(100%,330px)}
}
@media(prefers-reduced-motion:reduce){.pf-expert-infographic-stage{transition:none}.pf-expert-infographic-media{animation:none}.pf-expert-infographic-media-b{display:none}}
