/*
Theme Name: ALFARI Theme 4 Greenfield 3.0
Theme URI: https://alfari.de/
Author: ALFARI
Description: Greenfield presentation layer for ALFARI Platform 4 current-capability integration.
Version: 3.0.0-alpha.20.30-draft.1
Text Domain: alfari-greenfield
*/


/* alpha.20: fail-closed finalization diagnostic trace. No decision logic. */
.assessment-platform-diagnostic{margin:12px 0 0;padding:14px 16px;border:1px solid rgba(160,56,56,.24);border-radius:14px;background:rgba(160,56,56,.055);font-size:.88rem;line-height:1.45;color:#334155;overflow-wrap:anywhere}
.assessment-platform-diagnostic strong{display:block;margin-bottom:6px;color:#7f1d1d}
.assessment-platform-diagnostic div+div{margin-top:3px}
.assessment-platform-diagnostic span{font-weight:600}
.assessment-platform-diagnostic code{font-size:.82rem;white-space:normal;word-break:break-all}

/* alpha.20.10: knowledge article presentation only. */
.knowledge-flow{margin:1rem 0;padding:1rem 1.1rem;border-left:4px solid var(--alfari-blue,#2563eb);background:rgba(37,99,235,.06);border-radius:0 12px 12px 0;font-weight:700;line-height:1.65;overflow-wrap:anywhere}
.knowledge-sources{margin-top:2.5rem}


/* alpha.20.14 Mein ALFARI training presentation closure */
.training-prescription-card{padding:16px 0;border-bottom:1px solid rgba(15,39,69,.12)}
.training-prescription-card:last-child{border-bottom:0}
.training-prescription-card__name{display:block;color:#0f2745;font-size:1.02rem;line-height:1.35;margin-bottom:5px}
.training-prescription-card__dose{font-weight:650;color:#26384c;margin-bottom:8px}
.training-prescription-card__details{margin:0;display:grid;gap:4px}
.training-prescription-card__details>div{display:grid;grid-template-columns:minmax(92px,auto) 1fr;gap:8px}
.training-prescription-card__details dt{font-weight:650;color:#536273}
.training-prescription-card__details dd{margin:0;color:#1f2937}
@media(max-width:430px){
  .training-prescription-card{padding:14px 0}
  .training-prescription-card__details>div{grid-template-columns:1fr;gap:1px}
}

/* Exercise Intelligence: same materialized source at every presentation depth. */
.exercise-detail video { display:block; width:100%; max-width:27rem; max-height:80vh; object-fit:contain; margin-inline:auto; background:#080b09; }
.technique-content details { border:1px solid currentColor; border-radius:.5rem; padding:1rem; margin-block:1rem; }
.technique-content summary { cursor:pointer; font-weight:700; min-height:2.75rem; }
.technique-content li p { margin-top:.3rem; }

[data-adaptive-assessment-app] fieldset { border:0; padding:0; display:grid; gap:.75rem; }
[data-adaptive-assessment-app] fieldset label { display:flex; gap:.75rem; align-items:center; padding:1rem; border:1px solid #c8d4df; border-radius:.6rem; min-height:2.75rem; }
[data-adaptive-assessment-app] input[type=number], [data-adaptive-assessment-app] select { max-width:100%; min-height:2.75rem; padding:.75rem; }
[data-adaptive-assessment-app] .assessment-controls { display:flex; flex-wrap:wrap; gap:.75rem; }


/* alpha.20.23 — central product-truth shop */
.shop-hero .container{max-width:1120px}.shop-jump{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.shop-jump a{display:inline-flex;align-items:center;min-height:42px;padding:8px 13px;border:1px solid rgba(255,255,255,.42);border-radius:999px;color:#fff;text-decoration:none;font-weight:800}.shop-section-head{max-width:780px;margin-bottom:28px}.shop-section-head h2{margin:.25rem 0 .55rem}.shop-product{display:grid;grid-template-columns:minmax(230px,.62fr) minmax(0,1.38fr);gap:clamp(28px,5vw,64px);align-items:center;padding:28px;border:1px solid var(--alfari-border-blue);border-radius:24px;background:#fff}.shop-product__lead{font-size:1.05rem;line-height:1.65}.shop-status{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;font-size:.78rem;font-weight:850;letter-spacing:.04em;background:#eef2ff;color:#3730a3}.shop-status--available{background:#ecfdf3;color:#166534}.shop-status--preview{background:#eff6ff;color:#1d4ed8}.shop-status--development{background:#f8fafc;color:#475569}.shop-status--premium{background:#e8f2ff;color:#174ea6}.shop-facts{display:grid;gap:10px;margin:18px 0}.shop-facts div{display:grid;grid-template-columns:120px 1fr;gap:14px;padding:11px 0;border-bottom:1px solid var(--alfari-border-blue)}.shop-facts dt{font-weight:850;color:var(--alfari-navy-900)}.shop-facts dd{margin:0;color:var(--alfari-neutral-700)}.shop-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}.shop-price{font-size:1.3rem;font-weight:900;color:var(--alfari-navy-950)}.shop-availability-note,.shop-muted{color:var(--alfari-neutral-700);font-size:.92rem}.shop-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.shop-plan-card,.shop-compare>article{padding:24px;border:1px solid var(--alfari-border-blue);border-radius:20px;background:#fff}.shop-plan-card h3,.shop-compare h3{margin:.8rem 0}.shop-secondary-action{margin-top:22px}.shop-compare{display:grid;grid-template-columns:1fr 1.25fr;gap:20px}.shop-premium-card{box-shadow:0 18px 44px rgba(18,57,94,.08)}.shop-premium-card h3{font-size:2rem}.shop-premium-card h3 small{font-size:.85rem;color:var(--alfari-neutral-700)}.shop-free-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.shop-free-grid a{display:flex;flex-direction:column;gap:8px;min-height:150px;padding:20px;border:1px solid var(--alfari-border-blue);border-radius:18px;background:#fff;text-decoration:none}.shop-free-grid strong{color:var(--alfari-navy-950);font-size:1.05rem}.shop-free-grid span{color:var(--alfari-neutral-700);line-height:1.45}
@media(max-width:900px){.shop-product,.shop-compare{grid-template-columns:1fr}.shop-free-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-plan-grid{grid-template-columns:1fr}}
@media(max-width:520px){.shop-jump{display:grid;grid-template-columns:1fr 1fr}.shop-jump a{border-radius:12px}.shop-free-grid{grid-template-columns:1fr}.shop-facts div{grid-template-columns:1fr;gap:4px}.shop-product{padding:18px}.shop-actions{display:grid}.shop-actions .btn{width:100%}}


/* alpha.20.24 Knowledge Hub */
.knowledge-portal{display:grid;gap:2.25rem}
.knowledge-portal__intro{display:flex;justify-content:space-between;align-items:end;gap:2rem}
.knowledge-portal__intro p{max-width:42rem;margin:0;color:var(--alfari-muted,#64748b)}
.knowledge-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.knowledge-topic-card{display:flex;min-height:118px;flex-direction:column;justify-content:space-between;padding:1.15rem;border:1px solid rgba(15,39,69,.12);border-radius:16px;background:#fff;text-decoration:none;box-shadow:0 8px 24px rgba(15,39,69,.05)}
.knowledge-topic-card strong{font-size:1.03rem;color:#0f2745}.knowledge-topic-card span{font-size:.86rem;font-weight:800;color:#2563eb}
.knowledge-topic-card:hover,.knowledge-topic-card:focus-visible{border-color:rgba(37,99,235,.45);transform:translateY(-1px)}
.knowledge-paths{display:grid;gap:1.5rem}
.knowledge-path{scroll-margin-top:100px;padding:1.5rem;border:1px solid rgba(15,39,69,.12);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(15,39,69,.04)}
.knowledge-path__header{margin-bottom:1rem}.knowledge-path__header h2{margin:.3rem 0 0}
.knowledge-path__primary{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:1rem;align-items:stretch}
.knowledge-entry-card{display:flex;min-height:150px;flex-direction:column;justify-content:center;gap:.55rem;padding:1.25rem;border-radius:16px;background:#0f2745;color:#fff;text-decoration:none}
.knowledge-entry-card small{font-weight:900;letter-spacing:.08em;color:#bfdbfe}.knowledge-entry-card strong{font-size:1.22rem;color:#fff}.knowledge-entry-card span{font-weight:800;color:#dbeafe}
.knowledge-resource-block{padding:1.15rem;border-radius:16px;background:#f8fafc;border:1px solid rgba(15,39,69,.08)}
.knowledge-resource-block h3,.knowledge-resource-tile h3{margin:0 0 .7rem;font-size:.95rem;color:#0f2745}
.knowledge-resource-block ul{margin:0;padding-left:1.15rem}.knowledge-resource-block li+li{margin-top:.55rem}.knowledge-resource-block a{font-weight:700}
.knowledge-path__resources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.knowledge-resource-tile{display:flex;flex-direction:column;gap:.45rem;padding:1rem;border-radius:14px;background:#f8fafc;border:1px solid rgba(15,39,69,.08)}
.knowledge-resource-tile a{font-weight:700;text-decoration:none}
.knowledge-more{margin-top:1rem;border-top:1px solid rgba(15,39,69,.1);padding-top:.85rem}.knowledge-more summary{cursor:pointer;font-weight:800;color:#0f2745}
.knowledge-more__list{display:grid;gap:.65rem;margin-top:.8rem}.knowledge-more__list a{display:flex;flex-direction:column;gap:.25rem;padding:.85rem;border-radius:12px;background:#f8fafc;text-decoration:none}.knowledge-more__list span{color:#64748b;font-size:.9rem}
.knowledge-portal__note{padding:1rem 1.15rem;border-left:4px solid #94a3b8;border-radius:0 12px 12px 0;background:#f8fafc;color:#475569}.knowledge-portal__note p{margin:.35rem 0 0}
@media(max-width:980px){.knowledge-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.knowledge-path__resources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.knowledge-portal__intro{display:block}.knowledge-portal__intro p{margin-top:.75rem}.knowledge-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledge-path__primary{grid-template-columns:1fr}.knowledge-path{padding:1.1rem}.knowledge-path__resources{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.knowledge-topic-grid,.knowledge-path__resources{grid-template-columns:1fr}.knowledge-topic-card{min-height:92px}}


/* alpha.20.25 – Startseite Marketing & Conversion */
.home30--conversion .home30-hero h1{max-width:11ch;font-size:clamp(3.05rem,5.8vw,5.75rem);line-height:.94}
.home30--conversion .home30-hero h1 strong{display:block;color:#63a8ff}
.home30--conversion .home30-hero__lead{font-size:clamp(1.12rem,1.8vw,1.38rem);max-width:700px;color:#e4edf7;line-height:1.55;margin:22px 0 0}
.home30-section--problem{background:#f7f9fc}.home30-copy-narrow{max-width:900px}.home30-copy-narrow h2{font-size:clamp(2.35rem,4.6vw,4.9rem);line-height:.98;letter-spacing:-.05em;color:#071a2f;margin:.16em 0 .35em}.home30-copy-narrow p{max-width:800px;color:#596b7f;font-size:1.02rem;line-height:1.65}.home30-problem-lead{font-size:clamp(1.2rem,2vw,1.48rem)!important;color:#17324e!important;font-weight:700}
.home30-benefits{padding:72px 0}.home30-benefits__grid--four{grid-template-columns:repeat(4,1fr)}.home30-benefits h3{margin:0 0 8px;color:#0a223a;font-size:1.16rem}.home30-benefits__grid--four article>span{font-size:.75rem;letter-spacing:.08em}
.home30-steps--three{grid-template-columns:repeat(3,1fr);max-width:980px;margin-inline:auto}.home30-inline-cta{display:flex;justify-content:center;margin-top:30px}
.home30-section--product{background:#071a2f;color:#fff}.home30-section--product .home30-kicker{color:#63a8ff}.home30-section--product .home30-heading h2{color:#fff}.home30-section--product .home30-heading>p{color:#b9c8d8}.home30-product-preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.home30-product-preview-grid a{position:relative;display:flex;flex-direction:column;min-height:210px;padding:24px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));color:#fff;text-decoration:none}.home30-product-preview-grid a>span{font-size:.7rem;font-weight:900;letter-spacing:.12em;color:#66a9ff}.home30-product-preview-grid strong{font-size:1.35rem;margin:32px 0 8px}.home30-product-preview-grid small{color:#bdcad8;line-height:1.5}.home30-product-preview-grid i{position:absolute;right:20px;bottom:18px;font-style:normal;color:#66a9ff;font-size:1.4rem}
.home30-section--difference{background:#fff}.home30-difference-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:center}.home30-difference-grid h2,.home30-trust-grid h2{font-size:clamp(2.4rem,4.5vw,4.8rem);line-height:.98;letter-spacing:-.052em;color:#071a2f;margin:.16em 0 .3em}.home30-difference-grid>div>p{color:#596b7f;line-height:1.65}.home30-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px}.home30-compare article{padding:25px;border:1px solid #dce6f1;border-radius:20px;background:#f8fafc}.home30-compare article>span{font-size:.73rem;font-weight:900;letter-spacing:.12em;color:#64748b}.home30-compare ul{padding-left:20px;color:#4f6274;line-height:1.8}.home30-compare__alfari{border-color:#9ac7ff!important;background:#eff6ff!important}.home30-compare__alfari>span{color:#1267d6!important}
.home30-section--trust{background:#eef5fd}.home30-trust-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px}.home30-trust-points{display:grid;gap:16px}.home30-trust-points p{margin:0;padding:18px 20px;border-radius:16px;background:#fff;color:#53677a;line-height:1.6}.home30-trust-points strong{color:#0a223a}
.home30-section--knowledge{background:#fff}.home30-topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.home30-topic-grid a{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:76px;padding:18px 20px;border:1px solid #dce6f1;border-radius:16px;color:#102c47;text-decoration:none;font-weight:800;background:#fff}.home30-topic-grid a:hover{border-color:#90bfff;background:#f6faff}.home30-topic-grid span{color:#1675ee}
.home30-section--paths{background:#f7f9fc}.home30-path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.home30-path-grid article{display:flex;flex-direction:column;min-height:390px;padding:28px;border-radius:22px;border:1px solid #d8e3ef;background:#fff}.home30-path-card--featured{border:2px solid #2580ff!important;box-shadow:0 18px 50px rgba(37,128,255,.11)}.home30-path-label{color:#1267d6;font-size:.72rem;font-weight:900;letter-spacing:.12em}.home30-path-grid h3{font-size:1.65rem;color:#0a223a;margin:14px 0 8px}.home30-path-grid p{color:#667085;line-height:1.6}.home30-path-actions{display:grid;gap:12px;margin-top:auto}.home30-path-actions>a:not(.btn){font-weight:800;color:#1267d6;text-decoration:none}.home30-path-price{padding-top:10px;border-top:1px solid #e3eaf2}.home30-path-price strong{color:#0a223a;font-size:1.2rem}.home30-final p{color:#c0cfde;margin:.7em 0 0;max-width:640px}
@media(max-width:1024px){.home30-benefits__grid--four,.home30-product-preview-grid,.home30-topic-grid{grid-template-columns:repeat(2,1fr)}.home30-difference-grid,.home30-trust-grid{grid-template-columns:1fr;gap:30px}}
@media(max-width:768px){.home30--conversion .home30-hero__copy{padding-bottom:235px}.home30--conversion .home30-hero h1{font-size:clamp(2.75rem,11.5vw,4.15rem);max-width:11ch}.home30-steps--three{grid-template-columns:1fr}.home30-product-preview-grid,.home30-path-grid{grid-template-columns:1fr}.home30-product-preview-grid a{min-height:160px}.home30-compare{grid-template-columns:1fr}.home30-topic-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.home30-benefits__grid--four,.home30-topic-grid{grid-template-columns:1fr}.home30-benefits{padding:52px 0}.home30-copy-narrow h2,.home30-difference-grid h2,.home30-trust-grid h2{font-size:clamp(2.2rem,10vw,3.2rem)}.home30-path-grid article{min-height:0}.home30-inline-cta .btn{width:100%}}

/* Research Brief 2026-10-16 */
.research-brief__meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}
.research-chip{display:inline-flex;align-items:center;min-height:32px;padding:6px 10px;border:1px solid rgba(15,39,69,.14);border-radius:999px;background:#fff;font-size:.84rem;font-weight:700;color:#334155}
.research-brief__notice{margin:18px 0 24px;padding:16px 18px;border-left:4px solid #2563eb;background:#eff6ff;border-radius:10px;color:#24364b}
.research-toc{margin:24px 0;padding:18px 20px;border:1px solid rgba(15,39,69,.12);border-radius:14px;background:#fff}
.research-toc ol{margin:10px 0 0;padding-left:22px}.research-toc li+li{margin-top:7px}
.research-study{scroll-margin-top:100px;padding-top:8px}
.research-status{margin:16px 0;padding:14px 16px;border-radius:12px;border:1px solid rgba(15,39,69,.12);background:#f8fafc}
.research-status strong{display:block;margin-bottom:5px}
.research-status--review{border-left:4px solid #b45309;background:#fff7ed}
.research-status--knowledge{border-left:4px solid #2563eb;background:#eff6ff}
.research-status--none{border-left:4px solid #475569;background:#f8fafc}
.research-evidence{display:inline-flex;margin:4px 0 10px;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:800;font-size:.82rem}
.research-sources{padding-left:20px}.research-sources li+li{margin-top:8px}
.research-source-links{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 20px}
.research-source-links a{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border:1px solid rgba(37,99,235,.28);border-radius:9px;background:#fff;text-decoration:none}
.research-brief__summary{margin-top:28px;padding:20px;border-radius:16px;background:#0f2745;color:#fff}
.research-brief__summary h2{color:#fff}.research-brief__summary strong{color:#fff}
.research-related{margin-top:30px}.research-related ul{padding-left:20px}.research-related li+li{margin-top:8px}
@media(max-width:640px){
  .research-brief__meta{display:grid;grid-template-columns:1fr}
  .research-chip{border-radius:10px}
  .research-toc{padding:15px}
  .research-source-links{display:grid}
}
