/* DGM Akademie: header, main menu and footer (Akademie task 04, 2026-11-13).
   Loaded only by EXT:dgm/Configuration/TypoScript/Akademie/chrome.typoscript, i.e. only on the Akademie pages whose
   template imports it; markup: Resources/Private/Partials/Page/Akademie/Header.html and Footer.html.
   The DGM family: navy #003e52 text, #00abe3 for links, accents and filled buttons (white text), white and pale blue
   grounds, Theme-Font (Inter) and Heading-Font (Inter Tight), the white menu pill of dgm.de's light pages. */

:root {
    --ak-navy: #003e52;
    --ak-blue: #00abe3;
    --ak-ink: #24495a;
    --ak-mute: #4a6875;
    --ak-line: rgba(0, 62, 82, .12);
    --ak-hair: rgba(0, 62, 82, .08);
    --ak-pale: #edf7fc;
    --ak-pale-2: #e2f3fa;
    --ak-ground: #f3f8fb;
    --ak-ease: cubic-bezier(.2, .7, .2, 1);
    --ak-out: cubic-bezier(.55, 0, .85, .25);
    --ak-head-h: 76px;
    --ak-font: Theme-Font, Inter, ui-sans-serif, system-ui, sans-serif;
    --ak-display: Heading-Font, "Inter Tight", Inter, ui-sans-serif, system-ui, sans-serif;
}

/* anchors (#kurse, #themen …) land below the sticky header */
html { scroll-padding-top: calc(var(--ak-head-h) + 16px); }
html.ak-locked { overflow: hidden; }

.ak-head, .ak-sheet, .ak-foot { font-family: var(--ak-font); color: var(--ak-navy); -webkit-font-smoothing: antialiased; }
.ak-head ::selection, .ak-sheet ::selection, .ak-foot ::selection { background: rgba(0, 171, 227, .22); color: var(--ak-navy); }
.ak-head :focus-visible, .ak-sheet :focus-visible, .ak-foot :focus-visible { outline: 2px solid var(--ak-blue); outline-offset: 2px; }
.ak-sr, .ak-skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ak-arrow { width: 14px; height: 14px; flex: none; }
.ak-chev { width: 12px; height: 12px; flex: none; transition: transform 180ms var(--ak-ease); }
.ak-dl { width: 18px; height: 18px; flex: none; }

/* ─── header bar ───────────────────────────────────────────────────────── */
.ak-head {
    position: sticky; top: 0; z-index: 100; display: block; width: auto; max-width: none; margin: 0; padding: 0;
}
/* (the CDN stylesheet gives .dgm-page-shell .mainmenu its own transition: outranked here) */
header.ak-head.mainmenu { transition: transform 260ms var(--ak-ease); }
.ak-head::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--ak-hair); box-shadow: 0 10px 24px -18px rgba(0, 40, 60, .35);
    opacity: 0; transition: opacity 200ms ease;
}
.ak-head.is-scrolled::before, .ak-head.has-open::before { opacity: 1; }
/* without script the bar keeps its ground (chrome.js marks the header data-ak-ready before anything else) */
.ak-head:not([data-ak-ready])::before { opacity: 1; }
header.ak-head.mainmenu.is-hidden { transform: translateY(-100%); transition: transform 220ms var(--ak-out); }

.ak-skip { position: absolute; left: 16px; top: 8px; z-index: 2; padding: 10px 14px; border-radius: 10px; background: var(--ak-navy); color: #fff; font-weight: 600; font-size: 15px; }

.ak-head__in {
    position: relative; width: min(100% - 48px, 1280px); margin: 0 auto;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 18px 0;
    transition: padding 220ms var(--ak-ease);
}
.ak-head.is-scrolled .ak-head__in { padding: 10px 0; }
.ak-head__logo { display: inline-flex; align-items: center; justify-self: start; border-radius: 6px; }
.ak-head__logo img { display: block; height: 38px !important; width: auto !important; transition: transform 220ms var(--ak-ease); transform-origin: left center; }
.ak-head.is-scrolled .ak-head__in > .ak-head__logo img { transform: scale(.9); }

/* the white pill of dgm.de's light pages */
.ak-nav { justify-self: center; }
.ak-nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 4px; list-style: none;
    background: #fff; border: 1px solid var(--ak-hair); border-radius: 12px; box-shadow: 0 12px 30px -16px rgba(0, 40, 60, .3); }
.ak-nav__item { position: static; }
.ak-nav__top {
    position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 9px;
    background: transparent; color: var(--ak-navy); font: 600 15px/1 var(--ak-font); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color 150ms ease, color 150ms ease;
}
.ak-nav__top:hover { background: var(--ak-pale); color: var(--ak-navy); }
.ak-nav__top[aria-expanded="true"] { background: var(--ak-pale-2); }
.ak-nav__top[aria-expanded="true"] .ak-chev { transform: rotate(180deg); }
.ak-nav__top .ak-chev { color: var(--ak-blue); }
.ak-nav__top.is-current::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--ak-blue); }

.ak-head__tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; justify-self: end; }
.ak-tool {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 12px;
    border: 1px solid var(--ak-line); border-radius: 10px; background: #fff; color: var(--ak-navy);
    font: 600 14px/1 var(--ak-font); text-decoration: none; cursor: pointer; white-space: nowrap; list-style: none;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, opacity 200ms ease, transform 200ms var(--ak-ease);
}
.ak-tool::-webkit-details-marker { display: none; }
.ak-tool:hover { border-color: var(--ak-blue); color: var(--ak-navy); background: #fff; }
.ak-tool svg { width: 18px; height: 18px; color: var(--ak-blue); flex: none; }
.ak-tool--search { padding: 0 14px 0 12px; }
.ak-tool--search[aria-expanded="true"] { border-color: var(--ak-blue); background: var(--ak-pale); }
.ak-tool--burger { display: none; width: 44px; height: 44px; padding: 0; }
.ak-tool--burger svg { color: var(--ak-navy); width: 20px; height: 20px; }
/* on the home page the search waits until the hero's own search field has left the screen */
.ak-head.ak-search-later .ak-tool--search { opacity: 0; transform: translateY(-4px); pointer-events: none; visibility: hidden; transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms; }
/* calmer utilities (beauty pass T, 2026-11-13): language and Login are plain text buttons without a box; the search chip
   and the DGM.de chip keep their shape, so the bar holds two boxed objects beside the menu island instead of four */
.ak-head__tools .ak-tool--lang, .ak-head__tools > .ak-tool--login { border-color: transparent; background: transparent; padding: 0 10px; }
.ak-head__tools .ak-tool--lang:hover, .ak-head__tools > .ak-tool--login:hover { border-color: transparent; background: var(--ak-pale); }
.ak-head__tools .ak-lang[open] > .ak-tool--lang { background: var(--ak-pale-2); }
.ak-head__tools .ak-tool--lang svg, .ak-head__tools > .ak-tool--login svg { color: var(--ak-navy); opacity: .72; }
/* the logo link is a 44 px target at every width */
.ak-head__logo { min-height: 44px; }

.ak-lang { position: relative; }
.ak-lang__code { text-transform: uppercase; }
.ak-lang[open] > summary .ak-chev { transform: rotate(180deg); }
.ak-lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 3; min-width: 180px; margin: 0; padding: 6px; list-style: none;
    background: #fff; border: 1px solid var(--ak-line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0, 40, 60, .35); }
.ak-lang__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 0 12px; border-radius: 8px;
    color: var(--ak-navy); font: 500 15px/1 var(--ak-font); text-decoration: none; }
.ak-lang__item:hover { background: var(--ak-pale); color: var(--ak-navy); }
.ak-lang__item.is-active { font-weight: 700; }
.ak-lang__iso { color: var(--ak-mute); font-size: 13px; font-weight: 600; text-transform: uppercase; }

.ak-login-crm { display: inline-flex; align-items: center; }

/* the way to dgm.de: the DGM wordmark */
.ak-dgm { position: relative; display: inline-flex; align-items: baseline; height: 40px; padding: 0 12px; align-items: center;
    border: 1.5px solid var(--ak-blue); border-radius: 10px; color: var(--ak-blue); background: #fff; text-decoration: none; font-size: 18px; line-height: 1;
    transition: background-color 150ms ease, color 150ms ease; }
.ak-dgm:hover { background: var(--ak-blue); color: #fff; }
.ak-dgm__mark { display: inline-block; width: 3.13em; height: .9em; background-color: currentColor;
    -webkit-mask: url('/fileadmin/DGM/Logo/dgm-white.svg') no-repeat center / contain; mask: url('/fileadmin/DGM/Logo/dgm-white.svg') no-repeat center / contain; }
/* director, 2026-11-13: ".de" stands on the wordmark's baseline (it hung at the chip's lower edge) */
.ak-dgm__tld { position: relative; top: .27em; padding-left: .16em; font-size: .8em; font-weight: 500; line-height: 1; align-self: center; }
.ak-dgm__tip { position: absolute; right: 0; top: calc(100% + 8px); padding: 8px 12px; border-radius: 8px; background: var(--ak-navy); color: #fff;
    font: 500 13px/1 var(--ak-font); white-space: nowrap; opacity: 0; transform: translateY(-3px); pointer-events: none; transition: opacity 150ms ease, transform 150ms ease; }
.ak-dgm:hover .ak-dgm__tip, .ak-dgm:focus-visible .ak-dgm__tip { opacity: 1; transform: none; }

/* ─── panels: one mega-menu system (director, 2026-11-14) ─────────────────
   One panel on the content column (1152 px, left edge with the page's content), 28/32 px padding, radius 16, one
   hairline, one soft shadow; inside a 12-column grid; column heads 13 px semibold muted navy; rows 44 px, 16 px semibold
   names, 13 px tabular counts, hairlines between rows, a pale cyan ground and a sliding arrow on hover and focus; no box
   inside the panel. Vertical rhythm on 8 px: head 20 + 8, search 52 + 20 = one "Beliebt" row (72). */
.ak-panel {
    position: absolute; top: calc(100% - 6px); left: 50%; z-index: 2; width: min(1152px, 100vw - 48px); box-sizing: border-box;
    padding: 24px 28px; background: #fff; border: 1px solid var(--ak-line); border-radius: 16px;
    box-shadow: 0 24px 48px -24px rgba(0, 36, 54, .3);
    opacity: 0; transform: translate(-50%, 6px); transition: opacity 180ms cubic-bezier(.2, .7, .2, 1), transform 180ms cubic-bezier(.2, .7, .2, 1);
}
.ak-panel.is-open { opacity: 1; transform: translate(-50%, 0); }
.ak-panel[hidden] { display: none; }

.ak-mm { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
.ak-mm__col { min-width: 0; }
.ak-mm__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 8px; padding: 0 12px; font: 600 13px/20px var(--ak-font); letter-spacing: .005em; color: #4d6b78; }
.ak-mm__note { font-weight: 500; font-size: 12.5px; color: #6b8590; white-space: nowrap; }
.ak-mm__list { margin: 0; padding: 0; list-style: none; }
.ak-mm__list > li + li { border-top: 1px solid var(--ak-hair); }
/* single-line rows with a count stand without lines: the hover ground carries them (lighter, as the owner asked) */
.ak-panel .ak-mm__list--entries > li + li, .ak-panel .ak-mm__list--tp > li + li, .ak-panel .ak-mm__list--bp > li + li { border-top: 0; }
.ak-mm__foot { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 8px 0 0; padding: 8px 12px 0; border-top: 1px solid var(--ak-hair); }
.ak-mm--browse .ak-mm__foot { margin-top: 4px; padding-top: 4px; border-top: 0; }
.ak-mm__foot .ak-link { min-height: 24px; font-size: 14px; }

.ak-row {
    display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 8px; box-sizing: border-box;
    color: var(--ak-navy); font: 600 15px/1.25 var(--ak-font); text-decoration: none; transition: background-color 140ms ease;
}
.ak-row:hover, .ak-row:focus-visible, .ak-row.is-on { background: #eaf7fc; color: var(--ak-navy); }
.ak-row__name { min-width: 0; }
.ak-panel .ak-row__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the count: a badge with the number only (its accessible name keeps the words); no training: a muted dash */
.ak-badge { margin-left: auto; flex: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    min-width: 28px; height: 22px; padding: 0 8px; border-radius: 11px; background: #e2f3fa; color: var(--ak-navy);
    font: 600 12.5px/1 var(--ak-font); font-variant-numeric: tabular-nums; }
.ak-badge.is-zero { background: #eef2f4; color: #6b8590; }
.ak-row:hover .ak-badge, .ak-row:focus-visible .ak-badge, .ak-row.is-on .ak-badge { background: #fff; }
.ak-row__n { margin-left: auto; flex: none; color: #4d6b78; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ak-row__n.is-zero { color: #6b8590; font-weight: 400; }
.ak-row .ak-arrow { flex: none; color: var(--ak-blue); opacity: 0; transform: translateX(-6px); transition: opacity 140ms ease, transform 160ms cubic-bezier(.2, .7, .2, 1); }
.ak-row:hover .ak-arrow, .ak-row:focus-visible .ak-arrow, .ak-row.is-on .ak-arrow { opacity: 1; transform: none; }
.ak-row__name + .ak-arrow, .ak-row__text + .ak-arrow { margin-left: auto; }
.ak-badge + .ak-arrow { margin-left: -4px; }
.ak-row.is-current .ak-row__name { text-decoration: underline; text-decoration-color: var(--ak-blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ak-row--desc { min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.ak-row__text { display: grid; gap: 2px; min-width: 0; }
.ak-row__desc { font-size: 13px; font-weight: 400; line-height: 20px; color: #4d6b78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ak-link { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--ak-blue); font: 600 15px/1.3 var(--ak-font); text-decoration: none; }
.ak-link:hover { color: var(--ak-blue); text-decoration: underline; text-underline-offset: 4px; }
.ak-link .ak-arrow { transition: transform 160ms cubic-bezier(.2, .7, .2, 1); }
.ak-link:hover .ak-arrow { transform: translateX(3px); }

/* Fortbildungen: search and entries (5) · Beliebt (4) · Service (3) */
.ak-mm__col--search { grid-column: span 5; }
.ak-mm__col--pop { grid-column: span 4; }
.ak-mm__col--svc { grid-column: span 3; }
.ak-mm--kurse:not(:has(.ak-mm__col--pop)) .ak-mm__col--search { grid-column: span 9; }
.ak-mm__search { margin: 0 0 16px; }
.ak-mm__search .ak-field { height: 52px; }
.ak-mm__search .ak-btn { height: 40px; }
.ak-pop { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 9px 12px; border-radius: 8px; box-sizing: border-box; color: var(--ak-navy); text-decoration: none; transition: background-color 140ms ease; }
.ak-pop:hover, .ak-pop:focus-visible { background: #eaf7fc; color: var(--ak-navy); }
.ak-pop__pic { flex: none; width: 72px; height: 54px; border-radius: 8px; overflow: hidden; }
.ak-pop__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ak-pop__text { display: grid; gap: 2px; min-width: 0; }
.ak-pop__name { font: 600 15px/20px var(--ak-font); hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ak-pop__line { font-size: 13px; line-height: 20px; color: #4d6b78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-svc { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 9px 12px; border-radius: 8px; box-sizing: border-box; color: var(--ak-navy); text-decoration: none; transition: background-color 140ms ease; }
.ak-svc:hover, .ak-svc:focus-visible { background: #eaf7fc; color: var(--ak-navy); }
.ak-svc .ak-dl { width: 20px; height: 20px; color: var(--ak-blue); flex: none; }
.ak-svc__text { display: grid; gap: 2px; min-width: 0; }
.ak-svc__name { font: 600 16px/1.25 var(--ak-font); }
.ak-svc__meta { font-size: 13px; line-height: 20px; color: #4d6b78; }

/* Themen: seven rows (8 columns) and a small picture preview (about 280 x 190, radius 12) whose top edge is the first row's;
   Branchen: the thirteen rows in three columns, no picture (names on one line need the width) */
.ak-mm__col--rows { grid-column: span 8; }
.ak-mm__col--stage { grid-column: span 4; padding-top: 28px; justify-self: end; width: 100%; max-width: 300px; }
.ak-mm--plain .ak-mm__col--rows { grid-column: 1 / -1; }
.ak-mm__list--bp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 28px; }
.ak-mm__list--bp > li:nth-child(5n + 1) { border-top: 0; }
.ak-tp__stage { display: grid; }
.ak-tp__fig { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity 160ms ease; }
.ak-tp__fig.is-on { opacity: 1; }
.ak-tp__box { display: block; aspect-ratio: 280 / 190; border-radius: 12px; overflow: hidden; background: #eaf7fc; }
.ak-tp__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ak-tp__cap { display: grid; gap: 2px; padding: 12px 0 0; }
.ak-tp__capname { font: 600 16px/24px var(--ak-font); color: var(--ak-navy); }
.ak-tp__text { font-size: 14px; line-height: 20px; color: var(--ak-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Über uns: six rows with one line each, two columns */
.ak-mm--about { display: block; }
.ak-mm__list--about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 32px; }
.ak-mm__list--about > li:nth-child(3n + 1) { border-top: 0; }

.ak-field { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 6px 0 16px; background: #fff; box-sizing: border-box;
    border: 1px solid rgba(0, 62, 82, .2); border-radius: 12px; transition: border-color 150ms ease, box-shadow 150ms ease; }
.ak-field:focus-within { border-color: var(--ak-blue); box-shadow: 0 0 0 3px rgba(0, 171, 227, .18); }
.ak-field__icon { width: 20px; height: 20px; color: var(--ak-blue); flex: none; }
.ak-field__input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ak-navy); font: 400 16px/1 var(--ak-font); caret-color: var(--ak-blue); }
.ak-field__input::placeholder { color: #5d7a86; opacity: 1; }
.ak-field__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ak-field__input, .ak-field__input:focus, .ak-field__input:focus-visible { outline: none !important; border: 0 !important; box-shadow: none !important; padding: 0; }
.ak-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border: 0; border-radius: 9px; cursor: pointer;
    font: 700 15px/1 var(--ak-font); text-decoration: none; transition: background-color 150ms ease, transform 150ms ease; }
.ak-btn--fill { background: var(--ak-blue); color: #fff; }
.ak-btn--fill:hover { background: #0099cc; color: #fff; }
.ak-btn:active { transform: scale(.97); }
.ak-kp__label { display: block; margin: 0 0 8px; font: 700 15px/1.3 var(--ak-font); color: var(--ak-navy); }

/* ─── phone sheet ─────────────────────────────────────────────────────── */
.ak-sheet {
    position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0;
    border: 0; border-left: 1px solid var(--ak-line); background: #fff; color: var(--ak-navy);
    flex-direction: column; overflow: hidden; transform: translateX(24px); opacity: 0;
    transition: transform 220ms var(--ak-ease), opacity 180ms ease;
}
.ak-sheet[open] { display: flex; }
.ak-sheet.is-in { transform: none; opacity: 1; }
.ak-sheet::backdrop { background: rgba(0, 30, 45, .4); }
.ak-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--ak-hair); }
.ak-sheet__close { width: 44px; height: 44px; padding: 0; }
.ak-sheet__close svg { color: var(--ak-navy); }
.ak-sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 24px; }
.ak-sheet__search { margin: 0 4px 18px; }
.ak-sheet__search .ak-field { height: 56px; }
.ak-sheet__search .ak-btn { height: 44px; padding: 0 14px; }
.ak-sheet__nav { display: grid; }
.ak-grp { border-bottom: 1px solid var(--ak-hair); }
.ak-grp__sum, .ak-grp__link { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 8px; list-style: none; cursor: pointer;
    color: var(--ak-navy); font: 600 17px/1.2 var(--ak-font); text-decoration: none; border-radius: 10px; }
.ak-grp__sum::-webkit-details-marker { display: none; }
.ak-grp__sum .ak-row__n { margin-left: auto; }
.ak-grp__sum .ak-chev { width: 14px; height: 14px; color: var(--ak-blue); margin-left: auto; }
.ak-grp__sum .ak-row__n + .ak-chev { margin-left: 0; }
.ak-grp[open] > .ak-grp__sum .ak-chev { transform: rotate(180deg); }
.ak-grp__link { border-bottom: 1px solid var(--ak-hair); border-radius: 0; }
.ak-grp__link.is-current { text-decoration: underline; text-decoration-color: var(--ak-blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ak-grp__list { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 2px; }
.ak-grp__list .ak-row { font-size: 16px; font-weight: 500; min-height: 46px; }
.ak-grp__list .ak-row--more { color: var(--ak-blue); font-weight: 600; }
/* the sheet's counts may wrap ("Gerade keine Fortbildung" at 390) instead of being cut */
.ak-grp__list .ak-row__n { flex: 0 1 auto; max-width: 48%; white-space: normal; text-align: right; line-height: 1.3; }
.ak-grp__list .ak-row--more .ak-arrow { opacity: 1; transform: none; }
/* the sheet in the panels' order and wording (director, 2026-11-14): rows of 48 px, counts as badges */
.ak-sheet .ak-row, .ak-sheet .ak-grp__list .ak-row { min-height: 48px; font-size: 16px; font-weight: 600; }
.ak-sheet .ak-row__name { white-space: normal; }
.ak-grp__body { padding: 0 0 12px; }
.ak-grp__body .ak-mm__head { margin: 16px 0 4px; padding: 0 8px; }
.ak-grp__body .ak-mm__head:first-child { margin-top: 4px; }
.ak-sheet .ak-mm__list > li + li { border-top: 1px solid var(--ak-hair); }
.ak-sheet .ak-pop, .ak-sheet .ak-svc { min-height: 72px; padding-left: 8px; padding-right: 8px; }
.ak-sheet .ak-svc { min-height: 56px; }
.ak-sheet .ak-mm__foot { border-top: 0; padding: 4px 8px 0; }
.ak-sheet .ak-mm__foot .ak-link { min-height: 44px; }
.ak-row--file .ak-dl { color: var(--ak-blue); }
.ak-sheet__foot { display: grid; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ak-hair); background: var(--ak-ground); }
.ak-sheet__lang { display: flex; gap: 8px; }
.ak-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ak-line); border-radius: 999px; background: #fff;
    color: var(--ak-navy); font: 600 15px/1 var(--ak-font); text-decoration: none; }
.ak-pill.is-active { border-color: var(--ak-navy); background: var(--ak-navy); color: #fff; }
.ak-sheet__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.ak-sheet__ctas .ak-tool, .ak-sheet__ctas .ak-dgm { height: 46px; }
.ak-sheet__ctas .ak-tool--login { flex: 1; }

/* ─── widths ──────────────────────────────────────────────────────────── */
/* (beauty pass T: the search chip is an icon button with its accessible name below 1500 px, so "Fortbildungen" and
   "Fortbildung suchen" fit beside each other; the logo never shrinks) */
.ak-head__logo { min-width: max-content; }
@media (max-width: 1499px) {
    .ak-tool--search .ak-tool__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .ak-tool--search { padding: 0; width: 40px; }
    .ak-head__in { gap: 16px; }
    .ak-nav__top { padding: 0 12px; }
    .ak-nav__top.is-current::after { left: 12px; right: 12px; }
}
@media (max-width: 1279px) {
    .ak-nav__top { padding: 0 10px; }
    .ak-nav__top.is-current::after { left: 10px; right: 10px; }
}
@media (max-width: 1179px) {
    .ak-nav { display: none; }
    .ak-head__in { grid-template-columns: auto minmax(0, 1fr); }
    .ak-tool--burger { display: inline-flex; }
    .ak-tool--search { width: 44px; height: 44px; }
}
@media (max-width: 719px) {
    .ak-head__tools .ak-lang, .ak-head__tools .ak-tool--login, .ak-head__tools .ak-dgm { display: none; }
    .ak-head__in { width: calc(100% - 32px); padding: 12px 0; }
    .ak-head.is-scrolled .ak-head__in { padding: 8px 0; }
    .ak-head__logo img { height: 34px !important; }
    :root { --ak-head-h: 68px; }
}

/* ─── footer ──────────────────────────────────────────────────────────── */
.ak-foot { position: relative; margin-top: 96px; background: var(--ak-ground); border-top: 1px solid var(--ak-hair); }
.ak-foot__in { width: min(100% - 48px, 1280px); margin: 0 auto; padding: 64px 0 28px; }
.ak-foot__in a { text-decoration: none; }
.ak-foot__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 80px; align-items: start; }
.ak-foot__logo { display: inline-flex; border-radius: 6px; }
.ak-foot__logo img { display: block; height: 46px !important; width: auto !important; }
.ak-foot__claim { margin: 18px 0 0; max-width: 36ch; font-size: 17px; line-height: 1.5; color: var(--ak-ink); text-wrap: pretty; }
.ak-foot__by { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 15px; color: var(--ak-mute); }
.ak-foot__dgm { display: inline-flex; align-items: center; padding: 6px 4px; color: var(--ak-navy); border-radius: 6px; font-size: 24px; line-height: 1; transition: color 150ms ease; }
.ak-foot__dgm:hover { color: var(--ak-blue); }
.ak-foot__contact { display: grid; gap: 6px; margin-top: 24px; font-style: normal; font-size: 15px; line-height: 1.55; color: var(--ak-ink); }
.ak-foot__addr { margin-bottom: 6px; }
.ak-foot__k { display: inline-block; min-width: 4.6em; color: var(--ak-mute); }
.ak-foot__contact a { color: var(--ak-blue); font-weight: 600; }
.ak-foot__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ak-foot__contact a i { font-size: .9em; }

.ak-foot__news { padding: 28px 32px; background: #fff; border: 1px solid var(--ak-hair); border-radius: 16px; }
.ak-foot__h { margin: 0; font: 700 22px/1.25 var(--ak-display); letter-spacing: -.015em; color: var(--ak-navy); }
.ak-foot__p { margin: 8px 0 0; max-width: 52ch; font-size: 16px; line-height: 1.5; color: var(--ak-ink); text-wrap: pretty; }
.ak-foot__form { display: flex; gap: 8px; margin-top: 18px; }
.ak-foot__input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid rgba(0, 62, 82, .2); border-radius: 10px; background: #fff;
    color: var(--ak-navy); font: 400 16px/1 var(--ak-font); }
.ak-foot__input::placeholder { color: #5d7a86; opacity: 1; }
.ak-foot__input:focus { outline: none; border-color: var(--ak-blue); box-shadow: 0 0 0 3px rgba(0, 171, 227, .18); }
.ak-foot__form .ak-btn { height: 48px; padding: 0 20px; }
.ak-foot__note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--ak-mute); max-width: 60ch; text-wrap: pretty; }

.ak-foot__map { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 32px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--ak-line); }
.ak-foot__col--wide { grid-column: span 2; }
.ak-foot__ch { margin: 0 0 14px; font: 700 15px/1.3 var(--ak-font); letter-spacing: 0; }
.ak-foot__ch a { color: var(--ak-navy); }
.ak-foot__ch a:hover { color: var(--ak-blue); }
.ak-foot__map ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; align-content: start; }
.ak-foot__map li { font-size: 15px; line-height: 1.4; color: var(--ak-mute); }
.ak-foot__map li a { color: var(--ak-ink); transition: color 140ms ease; }
.ak-foot__map li a:hover { color: var(--ak-blue); text-decoration: underline; text-underline-offset: 3px; }
.ak-foot__split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 32px; }
.ak-foot__file { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ak-blue) !important; }
.ak-foot__file .ak-dl { width: 16px; height: 16px; }
.ak-foot__meta { font-size: 13px; color: var(--ak-mute); white-space: nowrap; }

.ak-foot__base { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ak-line); }
.ak-foot__social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ak-foot__soc { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ak-line);
    background: #fff; color: var(--ak-mute); font-size: 16px; transition: color 140ms ease, border-color 140ms ease; }
.ak-foot__soc:hover { color: var(--ak-blue); border-color: var(--ak-blue); }
.ak-foot__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.ak-foot__legal a { color: var(--ak-mute); padding: 6px 0; }
.ak-foot__legal a:hover { color: var(--ak-blue); }

@media (max-width: 1099px) {
    .ak-foot__top { grid-template-columns: 1fr; }
    .ak-foot__map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
    .ak-foot { margin-top: 64px; }
    .ak-foot__in { width: calc(100% - 32px); padding: 48px 0 24px; }
    .ak-foot__news { padding: 22px 18px; }
    .ak-foot__form { flex-direction: column; }
    .ak-foot__input { flex: none; }
    .ak-foot__map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
    .ak-foot__map > .ak-foot__col:nth-child(2), .ak-foot__col--wide { grid-column: 1 / -1; }
    .ak-foot__split { gap: 9px 20px; }
    .ak-foot__base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    header.ak-head.mainmenu, .ak-head *, .ak-head::before, .ak-sheet, .ak-sheet * { transition: none !important; }
    .ak-panel, .ak-panel.is-open { transition: none !important; }
}

/* ---------- fix round r3 (2026-11-14) ---------- */
/* the industries' column runs over two grid columns: its heading carries a hairline over both, so the second half does
   not read as a column without a heading */
.ak-foot__col--wide .ak-foot__ch { display: flex; align-items: center; gap: 14px; }
.ak-foot__col--wide .ak-foot__ch::after { content: ""; flex: 1; height: 1px; background: rgb(0 62 82 / .14); }
/* touch targets on phones: the DGM wordmark and the contact links of the footer at 44 px */
@media (max-width: 767.98px) {
  .ak-foot__dgm { min-height: 44px; min-width: 44px; }
  .ak-foot__contact a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* the thirteen industries keep one line down to 1180 px: a narrower gap between the three columns */
@media (max-width: 1279px) { .ak-mm__list--bp { column-gap: 12px; } }
/* the sheet: the badge at the row's right end (no reserved arrow space) */
.ak-sheet .ak-row:not(.ak-row--more) .ak-arrow { display: none; }
