:root {
  --academy-ink: #14273e;
  --academy-paper: #eff3f7;
  --academy-line: #d3dde7;
  --academy-orange: #ffae75;
  --academy-night: #061528;
  --f-display: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
}
body { background: var(--academy-paper); }
html:has(#hub:not([hidden])) { font-size: 100%; }
#hub { padding-bottom: 4.5rem; }
.hb-top { background: rgba(255,255,255,.96); border-color: var(--academy-line); }
.hb-bar, .hb-wrap { max-width: 1440px; }
.hb-bar.gut, .hb-wrap.gut { padding-inline: clamp(14px, 3vw, 44px); }
.hb-bar { min-height: 66px; gap: 24px; }
.hb-wrap { gap: clamp(34px, 5vw, 64px); padding-block: 23px 32px; }
.hb-bar .brand { text-decoration: none; white-space: nowrap; }
.brand .mark { background: #142943; border-radius: 8px; }
.brand .sub { font-size: .82rem; }
.ac-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); margin-left: auto; }
.ac-nav button, .ac-nav a { color: #294057; background: none; border: 0; padding: 8px 0; font-size: .95rem; font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer; }
.ac-nav button:hover, .ac-nav a:hover { color: #8c471e; text-decoration: underline; text-underline-offset: 4px; }
.ac-hero { border-radius: 25px; overflow: hidden; position: relative; isolation: isolate; display: grid; grid-template-columns: 1.02fr 1fr; min-height: 455px; color: #fff; background: var(--academy-night); }
.ac-hero-copy { position: relative; z-index: 1; padding: clamp(24px, 4.3vw, 60px) 0 clamp(24px, 4.3vw, 60px) clamp(25px, 4.65vw, 68px); align-self: center; }
.ac-hero-kicker, .ac-kicker { font-size: .78rem; color: #8b400e; letter-spacing: .08em; font-weight: 750; text-transform: uppercase; }
.ac-hero-kicker { color: #ffbd90; display: flex; align-items: center; gap: 9px; }
.ac-hero .ac-hero-kicker::before { content: ""; height: 2px; width: 22px; background: var(--academy-orange); }
.ac-hero h1 { color: white; font-family: var(--f-display); font-size: clamp(2.875rem, 5.15vw, 5.45rem); line-height: 1.02; letter-spacing: -.065em; margin: .27em 0 .24em; }
.ac-hero h1 em { display: block; color: var(--academy-orange); font-style: normal; }
.ac-hero p { color: #c9d6e5; max-width: 43ch; font-size: clamp(1rem, 1.35vw, 1.2rem); margin: 0 0 24px; line-height: 1.55; }
.ac-hero-actions, .ac-hero-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.ac-hero-meta { color: #bdcce0; font-size: .875rem; margin-top: 20px; }
.ac-hero-meta .ico { color: #ffbd90; }
.ac-hero .btn { text-decoration: none; min-height: 44px; }
.ac-hero .or, .ac-primary { background: #ffae75 !important; border-color: #ffae75 !important; color: #19283b !important; }
.ac-hero .or:hover, .ac-primary:hover { background: #ffc397 !important; }
.ac-hero .ac-outline { color: #ecf2fa; background: #17283c; border-color: #526982; }
.ac-hero .ac-outline:hover { background: #213b59; }
.ac-hero-visual { position: relative; min-width: 0; }
.ac-hero-visual img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; display: block; }
.ac-hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--academy-night), transparent 28%); pointer-events: none; }
.ac-pathway { margin-top: calc(clamp(34px, 5vw, 64px) * -.63); overflow: hidden; background: white; border: 1px solid var(--academy-line); border-radius: 14px; }
.ac-pathway-head { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; padding: 13px 20px; background: #f8fafc; border-bottom: 1px solid var(--academy-line); }
.ac-pathway-head h2 { font-size: 1rem; margin: 0; font-weight: 780; }
.ac-pathway-head > span { color: #52667d; font-size: .875rem; }
.ac-pathway-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); list-style: none; margin: 0; padding: 0; }
.ac-pathway-list li + li { border-left: 1px solid var(--academy-line); }
.ac-pathway-list a { display: flex; height: 100%; align-items: center; gap: 13px; padding: 19px 20px; color: var(--academy-ink); text-decoration: none; line-height: 1.3; }
.ac-pathway-list a:hover { background: #f0f5fb; }
.ac-pathway-list a:focus-visible { outline-offset: -4px; }
.ac-pathway-list small { display: block; color: #516275; font-size: .875rem; margin-top: .25rem; }
.ac-pathway-icon, .ac-case-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border-radius: 9px; color: #275681; background: #e8eff8; }
.ac-pathway-icon .ico, .ac-case-icon .ico { width: 22px; height: 22px; }
.ac-rowtitle { display: flex; justify-content: space-between; align-items: end; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 17px; }
.ac-rowtitle h2 { font-family: var(--f-display); color: var(--academy-ink); font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.08; letter-spacing: -.048em; margin: 0; }
.ac-rowtitle p { color: #516275; margin: .45rem 0 0; max-width: 64ch; }
.ac-formats, .ac-library, .ac-feature, #sysb { scroll-margin-top: 88px; }
.ac-formats:focus, .ac-library:focus, .ac-feature:focus, #sysb:focus, #hauptinhalt:focus { outline: none; }
.ac-format-tabs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-bottom: 10px; }
.ac-format-tab { border: 1px solid var(--academy-line); background: #fff; color: var(--academy-ink); border-radius: 10px; padding: 14px 16px; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.ac-format-tab:hover { border-color: #a56a42; }
.ac-format-tab .ico { font-size: 1.2rem; color: #984614; }
.ac-format-tab b { font-size: 1rem; }
.ac-format-tab small { display: block; color: #516275; font-size: .83rem; }
.ac-format-tab[aria-pressed="true"] { color: #fff; background: #142943; border-color: #142943; }
.ac-format-tab[aria-pressed="true"] .ico { color: var(--academy-orange); }
.ac-format-tab[aria-pressed="true"] small { color: #c6d3e3; }
.ac-format-panel { background: #fff; border: 1px solid var(--academy-line); border-radius: 15px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; padding: clamp(16px,3vw,32px); }
.ac-format-panel h3 { font-size: clamp(1.4rem,2.25vw,2.1rem); letter-spacing: -.037em; line-height: 1.08; margin: 7px 0 10px; color: var(--academy-ink); }
.ac-format-panel p { color: #465970; max-width: 51ch; margin: 0 0 14px; }
.ac-format-panel .btn { margin: 3px 5px 3px 0; min-height: 43px; white-space: normal; }
.ac-format-panel ol { list-style: none; margin: 0; padding: 0; align-self: center; }
.ac-format-panel li { display: grid; grid-template-columns: 4.3rem minmax(0,1fr); gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid #e6ebf1; }
.ac-format-panel li:last-child { border: 0; }
.ac-format-panel time { font: 650 .84rem var(--f-mono); color: #884115; }
.ac-format-panel li span { color: #233a55; font-size: .94rem; font-weight: 640; }
.ac-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.ac-feature-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--academy-line); border-radius: 14px; background: #fff; padding: clamp(14px,2vw,23px); color: var(--academy-ink); }
.ac-feature-card h3 { margin: .18rem 0 0; font-size: 1.24rem; letter-spacing: -.025em; line-height: 1.22; }
.ac-feature-card p { margin: 0 0 9px; color: #516275; line-height: 1.45; }
.ac-case-actions { display: flex; margin-top: auto; gap: 6px; flex-wrap: wrap; }
.ac-case-actions .btn { min-height: 40px; padding-inline: .7rem; font-size: .85rem; }
.ac-library .filters { position: relative; display: grid; gap: 10px; padding: 15px; background: #fff; border: 1px solid var(--academy-line); border-radius: 12px; }
.ac-library .hb-search { display: block; width: min(100%,33rem); max-width: none; margin: 0 0 4px; }
.ac-library .hb-search input { min-height: 44px; }
.ac-library .fbtn { min-height: 36px; }
.ac-text-link { width: fit-content; padding: 0; color: #234b72; background: transparent; border: 0; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.ac-count { color: #4f6178; font-size: .9rem; margin: 14px 0 8px; }
.ac-library .catsec { border: 1px solid var(--academy-line); border-radius: 12px; background: #fff; margin-bottom: 8px; }
.ac-library .catsec summary { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 12px; align-items: center; padding: .85rem 1rem; list-style: none; cursor: pointer; }
.ac-library .catsec summary:hover { background: #f3f7fb; border-radius: 12px; }
.ac-library .catsec summary::-webkit-details-marker { display: none; }
.ac-library .catsec summary::after { content: ""; width: .52rem; height: .52rem; border: solid #476078; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.ac-library .catsec[open] summary::after { transform: translateY(2px) rotate(225deg); }
.ac-library .catsec summary b, .ac-library .catsec summary small { display: block; }
.ac-library .catsec summary small { color: #516275; font-size: .84rem; margin-top: .12rem; }
.ac-category-count { font-size: .85rem; font-weight: 750; color: #365878; background: #e9f0f8; padding: .16rem .48rem; border-radius: 7px; font-variant-numeric: tabular-nums; }
.ac-library .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%,17rem),1fr)); padding: 0 .85rem .85rem; }
.ac-library .card { cursor: auto; background: #f7f9fc; border-color: var(--academy-line); border-radius: 10px; }
.ac-library .card:hover { transform: none; box-shadow: none; border-color: #93abc3; }
.ac-library .card p { font-size: .9rem; }
.ac-library .card .c-ic { border-radius: 8px; }
.ac-module-title { padding: 0; border: 0; background: none; color: #20496f; text-align: left; font: inherit; text-decoration: underline; text-underline-offset: .17em; cursor: pointer; }
.ac-module-title:hover { color: #8a4316; }
.ac-library .addbtn { width: 40px; height: 40px; }
.ac-more { margin-top: 18px; }
.ac-more > summary { color: #234b72; font-weight: 750; cursor: pointer; margin-bottom: 12px; }
.ac-more .path { background: #17314c; }
.ac-more .path.pitch { background: #733b16; }
.ac-footer { border-top: 1px solid var(--academy-line); padding-top: 16px; color: #526276; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.ac-footer a { color: #164777; }
.sysb { border-radius: 20px; }
.sysb h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); letter-spacing: -.04em; line-height: 1.08; }
.sysb-b .btn { min-height: 43px; }
.p-top,.p-foot {padding-inline:max(16px,env(safe-area-inset-left));background:#f9faf9}
.p-top {border-bottom:1px solid #e0e4e7}
.p-foot {border-top:1px solid #e0e4e7}
.p-main {padding-inline:max(16px,env(safe-area-inset-left))}
.p-text,.viz {border:1px solid #dfe4eb;border-radius:14px}
.p-text h2 {letter-spacing:-.035em}
.p-steps button {height:1.05rem;border-block:4px solid #f9faf9}
.p-top .btn,.p-foot .btn {min-height:40px}
.p-steps button[aria-current="step"] {background:#d4691e}
#player.ac-stage-focus .p-main {grid-template-columns:minmax(0,1fr)}
#player.ac-stage-focus .p-text {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#player.ac-stage-focus .viz {grid-column:1}
.ac-stage {justify-content:safe center;--ac-stage-ink:#17314e}
.ac-stage h3 {font:750 clamp(1.45rem,2.6vw,2.6rem)/1.08 var(--f-display);letter-spacing:-.038em;color:var(--ac-stage-ink);margin:0 0 .15em;text-wrap:balance}
.ac-stage p {margin:.25em 0}
.ac-stage p,.ac-stage li {max-width:76ch}
.ac-stage .ac-hero-kicker {margin-bottom:.2em}
.ac-stage .ac-caption {color:#52667d;font-size:.79rem}
.ac-stage .ac-highlight {background:#fff1e2;border-left:4px solid #e4772a;padding:.65rem .85rem;border-radius:0 9px 9px 0;font-weight:650;color:#563812}
.ac-stage .ac-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.ac-stage .ac-tile {padding:.75rem .85rem;background:#f1f5f8;border:1px solid #d7e1e9;border-radius:9px;color:#243f5c;min-width:0}
.ac-stage .ac-tile b {display:block;font-weight:800;color:#162c49;margin-bottom:.2em}
.ac-stage .ac-flow {list-style:none;margin:0;padding:0;display:grid;gap:.48rem}
.ac-stage .ac-flow li {display:grid;grid-template-columns:9.5rem minmax(0,1fr);gap:.75rem;align-items:baseline;border-bottom:1px solid #dce4ec;padding:.52rem 0;max-width:none}
.ac-stage .ac-flow strong {color:#204671}
.ac-stage .ac-flow li:last-child {border:0}
.ac-stage .ac-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}
.ac-stage .ac-stat {padding:.8rem;background:#101f35;color:#e9f1fb;border-radius:10px}
.ac-stage .ac-stat b {color:#ffc08d;font:750 clamp(1.4rem,2.7vw,2.65rem)/1 var(--f-display);display:block;letter-spacing:-.035em;overflow-wrap:anywhere;margin-bottom:.3rem}
.ac-stage .ac-stat span {font-size:.8rem}
.ac-stage .ac-controls {display:flex;gap:.45rem;flex-wrap:wrap}
.ac-stage .ac-controls .btn {white-space:normal}
.ac-stage .ac-table-wrap {overflow-x:auto}
.ac-stage table {width:100%;border-collapse:collapse;text-align:left;color:#273c53}
.ac-stage th,.ac-stage td {border-bottom:1px solid #dce3eb;padding:.4rem .55rem}
.ac-stage th {background:#f2f6f9;color:#183757;font-size:.8rem}
.ac-stage .ac-inputs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.ac-stage .ac-inputs label {font-size:.82rem;font-weight:750;color:#304a64;display:grid;gap:.25rem}
.ac-stage .ac-inputs input,.ac-stage .ac-inputs textarea {padding:.42rem .53rem;width:100%;min-width:0;border:1px solid #bccddd;border-radius:7px;color:#122b44;background:#fff}
.ac-stage textarea {resize:vertical;min-height:3.25rem}
.ac-stage .ac-output {background:#f2f6f9;border:1px solid #dce5ed;padding:.68rem .8rem;border-radius:9px;color:#213a57}
.ac-stage .ac-slider {display:grid;gap:.2rem;color:#263e55;font-weight:750}
.ac-stage input[type=range] {width:100%;accent-color:#a14915}
.ac-stage .ac-bar {display:grid;grid-template-columns:minmax(8rem,1fr) 2fr 4rem;align-items:center;gap:.5rem;margin:.35rem 0;color:#183858}
.ac-stage progress {width:100%;accent-color:#285e91;height:.75rem}
.ac-legacy {display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ac-legacy button {white-space:normal;justify-content:start;text-align:left}
@media(max-width: 880px) {
  .hb-bar { gap: 12px; }
  .ac-nav { gap: 13px; }
  .ac-hero { min-height: 385px; }
  .ac-pathway-list a { gap: 9px; padding-inline: 12px; }
}
@media(max-width: 700px) {
  .hb-bar { display: flex; flex-wrap: wrap; gap: 4px 10px; min-height: 0; padding-block: 8px; }
  .ac-nav { margin: 0; width: 100%; gap: 6px 18px; flex-wrap: wrap; }
  .ac-nav button, .ac-nav a { font-size: .91rem; padding: 5px 0; }
  .hb-wrap { padding-top: 12px; }
  .ac-hero { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .ac-hero-copy { padding: 28px 20px 0; }
  .ac-hero h1 { font-size: clamp(2.45rem,9.5vw,4rem); }
  .ac-hero p { margin-bottom: 15px; }
  .ac-hero-meta { margin-top: 12px; }
  .ac-hero-visual { min-height: clamp(155px,45vw,245px); }
  .ac-hero-visual img { object-position: 50% 55%; }
  .ac-hero-visual::after { background: linear-gradient(var(--academy-night),transparent 38%); }
  .ac-pathway-list { grid-template-columns: minmax(0,1fr); }
  .ac-pathway-list li + li { border-left: 0; border-top: 1px solid var(--academy-line); }
  .ac-pathway-list a { padding: 11px 16px; }
  .ac-pathway-head { padding-inline: 16px; }
  .ac-format-panel, .ac-feature-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .ac-format-tab { justify-content: center; gap: 5px; padding: 10px 5px; }
  .ac-format-tab b { font-size: .875rem; }
  .ac-format-tab small { display: none; }
  .ac-formats, .ac-library, .ac-feature, #sysb { scroll-margin-top: 105px; }
  .p-main { padding-inline: 8px; }
  .ac-stage .ac-metrics,.ac-stage .ac-inputs,.ac-stage .ac-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ac-stage .ac-flow li { grid-template-columns: minmax(0,1fr); gap: .12rem; }
}
@media(max-width: 420px) {
  .ac-format-tab .ico { display: none; }
  .ac-stage .ac-metrics,.ac-stage .ac-inputs,.ac-stage .ac-grid { grid-template-columns: minmax(0,1fr); }
  .ac-legacy { grid-template-columns: minmax(0,1fr); }
  .ac-case-actions .btn { flex-grow: 1; }
}
@media print {
  body {background:white}
  #player {height:auto!important}
  .p-top,.p-foot,.p-deep,.hb-top,.sbar {display:none!important}
  .p-main {display:block!important}
  .p-main .p-text,.p-main .viz,.p-main .vz {overflow:visible!important;position:static!important;height:auto!important;width:auto!important;clip-path:none!important}
  .p-main .viz {margin-top:10px}
}
dialog.src-ov {width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;color:inherit}
dialog.src-ov:not([open]) {display:none}
.ac-stage output {font-weight:750}
.ac-skip {position:fixed;top:8px;left:8px;z-index:60;padding:.55rem .8rem;background:#fff;color:#15375d;border-radius:8px;transform:translateY(-160%)}
.ac-skip:focus {transform:none}
.ac-distribution {display:flex;min-height:.65rem;overflow:hidden;border-radius:5px;background:#e7edf4}
.ac-distribution i {width:var(--share);background:#285e91}
.ac-distribution i:nth-child(2) {background:#aa4e16}
.ac-distribution i:nth-child(3) {background:#dce5ee}
.ac-legend {white-space:nowrap;margin-right:.75rem}
.ac-legend::before {content:"";display:inline-block;width:.66rem;height:.66rem;border-radius:2px;vertical-align:baseline;margin-right:.26rem;background:#285e91}
.ac-legend.ac-bad::before {background:#aa4e16}
.ac-legend.ac-manual::before {background:#dce5ee;border:1px solid #b9c7d5}
@media(max-width:560px) {
  .p-top {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;padding:7px max(10px,env(safe-area-inset-left))}
  #pback {grid-column:1;grid-row:1;justify-self:start}
  .p-tools {grid-column:2;grid-row:1}
  .p-crumb {grid-column:1/-1;grid-row:2}
  .p-crumb small {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .p-foot {padding-inline:8px;gap:5px}
  .p-foot .btn {padding-inline:.52rem}
  .p-clock {padding-inline:.35rem}
}
@media (max-width: 700px) {
  .ac-nav { column-gap: 12px; }
  .sbar-in { display: grid; grid-template-columns: minmax(0,1fr) auto auto auto; gap: .3rem .45rem; }
  .sbar-in > b { white-space: normal; line-height: 1.2; font-size: .875rem; }
  .sbar-list { grid-column: 1 / -1; grid-row: 2; }
  #sbd { white-space: nowrap; font-size: .82rem; }
  #sbclr, #sbgo { min-height: 38px; padding-inline: .5rem; font-size: .82rem; }
  #hub:has(.sbar.show) { padding-bottom: 7.5rem; }
}
@media (max-width: 350px) {
  .ac-nav { column-gap: 9px; }
  .ac-nav button, .ac-nav a { font-size: .84rem; }
}
