/* ==========================================================================
   GMA – Gesellschaft für Medizinische Ausbildung · Redesign demo
   Design tokens are derived from the GMA logo (navy, teal, mint, orange).
   Text/background pairs are checked for WCAG 2.2 AA contrast (≥ 4.5:1).
   Mobile first; breakpoints at 640, 900 and 1180 px.
   ========================================================================== */

:root {
    --ink: #1a355c; /* logo navy – headings, primary text accents */
    --ink-deep: #0f2442; /* dark surfaces */
    --text: #253246; /* body copy */
    --muted: #55606e; /* secondary text (5.8:1 on paper) */
    --teal: #036e86; /* links, focus (5.9:1 on white) */
    --teal-bright: #0587a3; /* logo teal – decorative only */
    --mint: #8bcbb8; /* logo mint – decorative, text on navy */
    --mint-soft: #e3f2ec;
    --sun: #f39a3e; /* CTA surface, navy text on top (5.4:1) */
    --sun-soft: #fff1e2;
    --sun-text: #9a4a00; /* orange as text (5.8:1) */
    --paper: #f6f4ef;
    --surface: #ffffff;
    --line: #dfe3e8;
    --line-strong: #c5ccd6;
    --de: #000000;
    --at: #c8102e;
    --ch: #da291c;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow:
        0 1px 2px rgba(15, 36, 66, 0.06),
        0 8px 24px -12px rgba(15, 36, 66, 0.18);
    --shadow-lg: 0 24px 60px -24px rgba(15, 36, 66, 0.35);
    --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --container: 1240px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --focus: 0 0 0 3px #fff, 0 0 0 6px var(--teal);
}

/* Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    font-feature-settings: "cv11", "ss01";
    text-rendering: optimizeLegibility;
}
img,
svg {
    max-width: 100%;
    height: auto;
}
h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    color: var(--ink);
    line-height: 1.15;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
    text-wrap: balance;
}
h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}
h2 {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}
h3 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}
h4 {
    font-size: 1.1rem;
}
p,
ul,
ol,
dl,
table,
blockquote,
figure {
    margin: 0 0 1.1em;
}
a {
    color: var(--teal);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}
a:hover {
    color: var(--ink);
    text-decoration-thickness: 2px;
}
:focus-visible {
    outline: none;
    box-shadow: var(--focus);
    border-radius: 4px;
}
strong {
    font-weight: 650;
    color: var(--ink);
}
hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2.5rem 0;
}
small {
    font-size: 0.85em;
}
abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}
::selection {
    background: var(--mint);
    color: var(--ink-deep);
}

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--ink);
    color: #fff;
    padding: 0.7rem 1.1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.skip:focus {
    top: 1rem;
    color: #fff;
}
.eyebrow {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0 0 0.7rem;
}
.lead {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    color: var(--text);
    max-width: 46rem;
}
.muted {
    color: var(--muted);
}
.nowrap {
    white-space: nowrap;
}
.stack > * + * {
    margin-top: 1rem;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
    --btn-bd: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 1.3rem;
    border-radius: 999px;
    border: 2px solid var(--btn-bd);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: 600 1rem/1.2 var(--sans);
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
    white-space: nowrap;
}
.btn:hover {
    color: var(--btn-fg);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -10px rgba(15, 36, 66, 0.5);
}
.btn svg {
    flex: none;
}
.btn--sun {
    --btn-bg: var(--sun);
    --btn-fg: var(--ink-deep);
    --btn-bd: var(--sun);
}
.btn--teal {
    --btn-bg: var(--teal);
    --btn-bd: var(--teal);
}
.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-bd: var(--line-strong);
}
.btn--ghost:hover {
    --btn-bd: var(--ink);
}
.btn--white {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
    --btn-bd: #fff;
}
.btn--outline-light {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-bd: rgba(255, 255, 255, 0.55);
}
.btn--sm {
    padding: 0.5rem 0.95rem;
    font-size: 0.9rem;
}
.btn--lg {
    padding: 1rem 1.6rem;
    font-size: 1.05rem;
}
.btn--block {
    width: 100%;
}
.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    text-decoration: none;
}
.link-arrow svg {
    transition: transform 0.15s ease;
}
.link-arrow:hover svg {
    transform: translateX(3px);
}
.iconbtn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}
.iconbtn:hover {
    background: var(--mint-soft);
    color: var(--ink);
}

/* Top bar & header -------------------------------------------------------- */
.dach-stripe {
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--ink) 0 33.33%,
        var(--teal-bright) 33.33% 66.66%,
        var(--mint) 66.66% 100%
    );
}
.topbar {
    background: var(--ink-deep);
    color: #dfe8f3;
    font-size: 0.82rem;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 38px;
}
.topbar__note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--mint);
}
.topbar__nav {
    display: none;
    gap: 1.2rem;
}
.topbar a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.topbar a:hover {
    text-decoration: underline;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    /* No backdrop-filter here: it would make the header the containing block of the fixed off-canvas nav. */
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
}
.brand {
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--ink);
    margin-right: auto;
}
.brand__logo {
    width: 50px;
    height: auto;
}
.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand__name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}
.brand__sub {
    font-size: 0.72rem;
    color: var(--muted);
    max-width: 11.5rem;
}
.header__actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.header__cta {
    display: none;
}
.header__member {
    display: none;
}
.burger {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}
.burger .icon-close {
    display: none;
}
.burger[aria-expanded="true"] .icon-close {
    display: block;
}
.burger[aria-expanded="true"] .icon-menu {
    display: none;
}

/* Primary navigation: off-canvas on mobile, mega menu on desktop */
.nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(420px, 100%);
    background: #fff;
    z-index: 60;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    padding: 5.5rem 1.25rem 2rem;
    box-shadow: var(--shadow-lg);
    visibility: hidden;
}
.nav.is-open {
    transform: none;
    visibility: visible;
}
.nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__item {
    border-bottom: 1px solid var(--line);
    position: relative;
}
.nav__row {
    display: flex;
    align-items: center;
}
.nav__link {
    flex: 1;
    display: block;
    white-space: nowrap;
    padding: 0.95rem 0.25rem;
    font-weight: 650;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.05rem;
}
.nav__item.is-active > .nav__row .nav__link {
    color: var(--teal);
}
.nav__toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    border-radius: 10px;
}
.nav__toggle svg {
    transition: transform 0.2s ease;
}
.nav__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.mega {
    display: none;
    padding: 0 0 1rem 0.25rem;
}
.nav__item.is-open .mega {
    display: block;
}
.mega__intro {
    display: none;
}
.mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.1rem;
}
.mega__list a {
    display: block;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
}
.mega__list a:hover,
.mega__list a[aria-current] {
    background: var(--mint-soft);
    color: var(--ink);
}
.mega__sub {
    list-style: none;
    margin: 0 0 0 0.8rem;
    padding: 0;
    font-size: 0.92rem;
}
.nav__mobile-extra {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.5rem;
}
.nav__mobile-extra .service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    font-size: 0.92rem;
}
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 66, 0.45);
    z-index: 45; /* below the sticky header (50), which contains the off-canvas nav */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 640px) {
    .topbar__nav {
        display: flex;
    }
    .header__cta {
        display: inline-flex;
    }
}
@media (min-width: 1180px) {
    .header__inner {
        min-height: 84px;
        gap: 1.5rem;
    }
    .brand {
        margin-right: 0;
    }
    .brand__logo {
        width: 56px;
    }
    .burger,
    .nav__close,
    .nav__mobile-extra {
        display: none;
    }
    .nav {
        position: static;
        transform: none;
        visibility: visible;
        width: auto;
        padding: 0;
        box-shadow: none;
        overflow: visible;
        background: none;
        margin-right: auto;
    }
    .nav__list {
        display: flex;
        gap: 0.1rem;
    }
    .nav__item {
        border: 0;
        position: static;
    }
    .nav__row {
        position: relative;
    }
    .nav__link {
        padding: 1.9rem 0.7rem;
        font-size: 0.96rem;
        font-weight: 600;
        position: relative;
    }
    .nav__link::after {
        content: "";
        position: absolute;
        left: 0.7rem;
        right: 0.7rem;
        bottom: 1.35rem;
        height: 2px;
        background: var(--teal);
        transform: scaleX(0);
        transition: transform 0.2s ease;
        transform-origin: left;
    }
    .nav__item:hover .nav__link::after,
    .nav__item.is-active .nav__link::after,
    .nav__item.is-open .nav__link::after {
        transform: none;
    }
    .nav__toggle {
        position: absolute;
        right: -0.35rem;
        width: 22px;
        height: 22px;
        opacity: 0;
    }
    .nav__toggle:focus-visible {
        opacity: 1;
    }
    .mega {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0 2.2rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition:
            opacity 0.18s ease,
            transform 0.18s ease,
            visibility 0s linear 0.18s;
    }
    .nav__item:hover .mega,
    .nav__item:focus-within .mega,
    .nav__item.is-open .mega {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }
    .nav__item.is-closed .mega {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    .mega__inner {
        width: min(100% - 2 * var(--gutter), var(--container));
        margin-inline: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 3rem;
    }
    .mega__intro {
        display: block;
        padding-right: 2rem;
        border-right: 1px solid var(--line);
    }
    .mega__title {
        font-family: var(--serif);
        font-size: 1.6rem;
        color: var(--ink);
        font-weight: 650;
        margin-bottom: 0.4rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }
    .mega__title svg {
        color: var(--teal);
    }
    .mega__intro p {
        color: var(--muted);
        font-size: 0.95rem;
    }
    .mega__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.25rem 1.5rem;
        align-content: start;
    }
    .mega__list a {
        padding: 0.6rem 0.8rem;
        font-weight: 500;
    }
    .header__member {
        display: inline-flex;
    }
    .nav-backdrop {
        display: none;
    }
}

/* Demo badge & notes ------------------------------------------------------ */
.demo-badge {
    margin: 0;
    position: fixed;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: var(--ink-deep);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}
.demo-badge svg {
    color: var(--sun);
}
.callout {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--mint-soft);
    border-left: 4px solid var(--teal);
    margin: 0 0 1.5rem;
    font-size: 0.96rem;
}
.callout > svg {
    flex: none;
    margin-top: 0.2rem;
    color: var(--teal);
}
.callout p:last-child {
    margin-bottom: 0;
}
.callout--demo {
    background: var(--sun-soft);
    border-left-color: var(--sun);
}
.callout--demo > svg {
    color: var(--sun-text);
}
.callout--warn {
    background: #fdecec;
    border-left-color: #b42318;
}
.callout--warn > svg {
    color: #b42318;
}
.callout--review {
    background: #f1f0fb;
    border-left-color: #5b4fc4;
}
.callout--review > svg {
    color: #5b4fc4;
}

/* Page head & layout --------------------------------------------------------- */
.page-head {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding: 2.2rem 0 3rem;
    overflow: hidden;
    isolation: isolate;
}
.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            60rem 30rem at 110% -10%,
            rgba(5, 135, 163, 0.55),
            transparent 60%
        ),
        radial-gradient(
            40rem 22rem at -10% 120%,
            rgba(139, 203, 184, 0.25),
            transparent 60%
        );
}
.page-head::after {
    content: "";
    position: absolute;
    right: -4rem;
    bottom: -6rem;
    width: 22rem;
    height: 22rem;
    z-index: -1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 3rem rgba(255, 255, 255, 0.03),
        0 0 0 6rem rgba(255, 255, 255, 0.02);
}
.page-head h1 {
    color: #fff;
    margin-bottom: 0.35em;
}
.page-head .eyebrow {
    color: var(--mint);
}
.page-head .lead {
    color: #dbe6f2;
}
.page-head a {
    color: #fff;
}
.page-head__grid {
    display: grid;
    gap: 1.5rem;
    align-items: end;
}
@media (min-width: 900px) {
    .page-head__grid {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .page-head {
        padding: 2.6rem 0 3.6rem;
    }
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0;
    margin: 0 0 1.6rem;
    font-size: 0.85rem;
    color: #c3d2e3;
}
.breadcrumb li + li::before {
    content: "/";
    margin-right: 0.3rem;
    opacity: 0.6;
}
.breadcrumb a {
    color: #fff;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.page-body {
    display: grid;
    gap: 2.5rem;
    padding-block: 2.5rem 4.5rem;
}
@media (min-width: 1000px) {
    .page-body {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 3.5rem;
        padding-block: 3.5rem 5.5rem;
    }
    .page-body--wide {
        grid-template-columns: minmax(0, 1fr);
    }
}
.page-content {
    min-width: 0;
}
.page-content > :first-child {
    margin-top: 0;
}
.prose {
    max-width: 48rem;
}
.prose h2 {
    margin-top: 2.2rem;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}
.prose h3 {
    margin-top: 1.8rem;
    font-size: 1.2rem;
}
.prose ul,
.prose ol {
    padding-left: 1.3rem;
}
.prose li {
    margin-bottom: 0.35rem;
}
.prose li::marker {
    color: var(--teal);
}
.prose blockquote {
    margin-left: 0;
    padding: 1rem 1.4rem;
    border-left: 4px solid var(--mint);
    background: #fff;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
}
.prose th,
.prose td {
    text-align: left;
    padding: 0.6rem 0.7rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.document h2 {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.document h3 {
    color: var(--teal);
    font-family: var(--sans);
    font-size: 1.02rem;
    font-weight: 700;
    margin-top: 1.6rem;
}

/* Sub navigation (sidebar) */
.subnav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.5rem;
    font-size: 0.95rem;
}
.subnav__toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.8rem;
    border: 0;
    background: none;
    font: 600 1rem var(--sans);
    color: var(--ink);
    cursor: pointer;
    border-radius: 10px;
}
.subnav__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.subnav__title {
    display: none;
    margin: 0.4rem 0.8rem 0.6rem;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 650;
}
.subnav__title a {
    color: var(--ink);
    text-decoration: none;
}
.subnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.subnav > ul {
    display: none;
    padding-bottom: 0.3rem;
}
.subnav.is-open > ul {
    display: block;
}
.subnav a {
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    line-height: 1.35;
}
.subnav a:hover {
    background: var(--paper);
    color: var(--ink);
}
.subnav li.is-active > a {
    background: var(--mint-soft);
    color: var(--ink);
    font-weight: 650;
    box-shadow: inset 3px 0 0 var(--teal);
}
.subnav ul ul {
    margin-left: 0.8rem;
    font-size: 0.9rem;
}
@media (min-width: 1000px) {
    .page-aside {
        position: sticky;
        top: 7rem;
        align-self: start;
        display: grid;
        gap: 1.25rem;
    }
    .subnav__toggle {
        display: none;
    }
    .subnav__title {
        display: block;
    }
    .subnav > ul {
        display: block;
    }
}

.aside-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    font-size: 0.93rem;
}
.aside-box h2,
.aside-box .aside-box__title {
    font-size: 1.05rem;
    font-family: var(--sans);
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--ink);
}
.aside-box p:last-child {
    margin-bottom: 0;
}
.aside-box--ink {
    background: var(--ink);
    color: #dbe6f2;
    border-color: var(--ink);
}
.aside-box--ink .aside-box__title,
.aside-box--ink h2,
.aside-box--ink strong {
    color: #fff;
}
.aside-box--ink a {
    color: var(--mint);
}

/* Sections (home) --------------------------------------------------------- */
.section {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}
.section--white {
    background: #fff;
}
.section--ink {
    background: var(--ink);
    color: #dbe6f2;
}
.section--ink h2,
.section--ink h3 {
    color: #fff;
}
.section--ink .eyebrow {
    color: var(--mint);
}
.section--mint {
    background: var(--mint-soft);
}
.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 2.2rem;
}
.section__head h2 {
    margin: 0;
}
.section__head p {
    margin: 0.6rem 0 0;
    max-width: 40rem;
    color: var(--muted);
}
.section--ink .section__head p {
    color: #c3d2e3;
}

/* Hero */
.hero {
    position: relative;
    background: var(--ink-deep);
    color: #e4edf7;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            55rem 35rem at 85% 10%,
            rgba(5, 135, 163, 0.45),
            transparent 60%
        ),
        radial-gradient(
            40rem 30rem at 0% 100%,
            rgba(139, 203, 184, 0.18),
            transparent 60%
        ),
        linear-gradient(180deg, #11284a 0%, var(--ink-deep) 100%);
}
.hero__grid {
    display: grid;
    gap: 2.5rem;
    padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 6vw, 5rem);
    align-items: center;
}
@media (min-width: 1000px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 3rem;
    }
}
.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.2vw, 3.45rem);
    margin-bottom: 0.45em;
}
.hero h1 em {
    font-style: italic;
    color: var(--mint);
    font-weight: 500;
}
.hero .lead {
    color: #c9d8ea;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}
.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.5rem 0.35rem 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 1.4rem;
    text-decoration: none;
}
.hero__kicker:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}
.hero__kicker .pill {
    background: var(--sun);
    color: var(--ink-deep);
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-weight: 700;
    font-size: 0.75rem;
}
.dach-flags {
    display: inline-flex;
    gap: 0.35rem;
}
.flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    border-radius: 6px;
    font: 700 0.7rem/1 var(--sans);
    letter-spacing: 0.06em;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.flag i {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    margin-right: 0.3rem;
}

/* D-A-CH map card */
.mapcard {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    padding: 1.3rem;
    backdrop-filter: blur(4px);
}
.mapcard__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    color: #b8c9dc;
}
.dach-map {
    display: block;
    width: 100%;
    max-height: 460px;
}
.dach-map .country {
    fill: rgba(255, 255, 255, 0.06);
    stroke: rgba(139, 203, 184, 0.55);
    stroke-width: 1.2;
    stroke-linejoin: round;
    transition: fill 0.2s ease;
}
.dach-map .country--li {
    fill: rgba(255, 255, 255, 0.06);
}
.dach-map a:hover .country,
.dach-map a:focus .country,
.dach-map .country.is-hot {
    fill: rgba(5, 135, 163, 0.35);
}
.dach-map .country-label {
    font: 700 22px var(--sans);
    fill: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    pointer-events: none;
}
.dach-map .city {
    fill: var(--mint);
    stroke: var(--ink-deep);
    stroke-width: 1.5;
}
.dach-map .city--future {
    fill: var(--sun);
}
.dach-map .city--next {
    fill: var(--sun);
}
.dach-map .pulse {
    fill: none;
    stroke: var(--sun);
    stroke-width: 2;
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse 2.4s ease-out infinite;
}
.dach-map .city-label {
    font: 600 12px var(--sans);
    fill: #fff;
    paint-order: stroke;
    stroke: var(--ink-deep);
    stroke-width: 3px;
    stroke-linejoin: round;
}
.dach-map--light .country {
    fill: #eef3f7;
    stroke: #9fb3c8;
}
.dach-map--light a:hover .country,
.dach-map--light a:focus .country,
.dach-map--light .country.is-hot {
    fill: #cfe8e0;
}
.dach-map--light .country-label {
    fill: rgba(26, 53, 92, 0.28);
}
.dach-map--light .city {
    stroke: #fff;
    fill: var(--teal);
}
.dach-map--light .city--future,
.dach-map--light .city--next {
    fill: var(--sun);
    stroke: var(--ink);
}
.dach-map--light .city-label {
    fill: var(--ink);
    stroke: #fff;
}
@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}
.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    font-size: 0.8rem;
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
    color: inherit;
}
.map-legend li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.map-legend i {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    display: inline-block;
    background: var(--mint);
}
.map-legend i.is-future {
    background: var(--sun);
}
.countdown {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}
.countdown div {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.6rem 0.3rem;
}
.countdown strong {
    display: block;
    font: 650 1.6rem/1.1 var(--serif);
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.countdown span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b8c9dc;
}

/* Facts band */
.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}
@media (min-width: 900px) {
    .facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.fact {
    background: #fff;
    padding: 1.4rem 1.3rem;
}
.fact dt {
    font-size: 0.85rem;
    color: var(--muted);
    order: 2;
}
.fact dd {
    margin: 0;
    font: 650 clamp(1.8rem, 3vw, 2.5rem) / 1.05 var(--serif);
    color: var(--ink);
}
.fact small {
    display: block;
    font-family: var(--sans);
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 400;
    margin-top: 0.35rem;
}
.facts-wrap {
    margin-top: -2.2rem;
    position: relative;
    z-index: 2;
}

/* Audience shortcuts */
.audiences {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.audience {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.4rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
    transition:
        border-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.audience:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--text);
}
.audience__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--mint-soft);
    color: var(--teal);
}
.audience h3 {
    margin: 0.3rem 0 0;
    font-size: 1.2rem;
}
.audience p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--muted);
}
.audience ul {
    margin: 0.3rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}
.audience li::before {
    content: "→ ";
    color: var(--teal);
}

/* Cards & grids --------------------------------------------------------------- */
.grid {
    display: grid;
    gap: 1.25rem;
}
.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1.4rem 1.3rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}
.card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}
.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
}
.card h3 a {
    color: var(--ink);
    text-decoration: none;
}
.card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.card h3 a:focus-visible {
    box-shadow: none;
}
.card:focus-within {
    box-shadow: var(--focus);
}
.card p {
    font-size: 0.96rem;
}
.card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.8rem;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 0.7rem;
}
.card__foot {
    margin-top: auto;
    padding-top: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--muted);
}
.card--feature {
    background: var(--ink);
    border-color: var(--ink);
    color: #dbe6f2;
}
.card--feature h3,
.card--feature h3 a {
    color: #fff;
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    background: var(--mint-soft);
    color: var(--ink);
    white-space: nowrap;
}
.tag--sun {
    background: var(--sun-soft);
    color: var(--sun-text);
}
.tag--ink {
    background: var(--ink);
    color: #fff;
}
.tag--line {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--muted);
}
.tag--de {
    background: #f0f0f0;
    color: #111;
}
.tag--at,
.tag--ch {
    background: #fdecee;
    color: #8d0f22;
}
.country-dot {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
}

/* Journal block */
.journal {
    display: grid;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1000px) {
    .journal {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 3.5rem;
    }
}
.journal__cover {
    position: relative;
    border-radius: 20px;
    padding: 2rem;
    background: linear-gradient(150deg, #fff 0%, var(--mint-soft) 100%);
    border: 1px solid var(--line);
    overflow: hidden;
}
.journal__cover::after {
    content: "JME";
    position: absolute;
    right: -1rem;
    bottom: -3.5rem;
    font: 800 9rem/1 var(--serif);
    color: rgba(5, 135, 163, 0.08);
    letter-spacing: -0.04em;
}
.if-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    margin: 1rem 0;
}
.if-badge strong {
    color: #fff;
    font: 650 2.2rem/1 var(--serif);
}
.if-badge span {
    font-size: 0.8rem;
    color: #c3d2e3;
}
.issue-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}
.issue-list a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
}
.issue-list a:hover {
    border-color: var(--teal);
    color: var(--text);
}
.issue-list time {
    font: 650 0.85rem var(--sans);
    color: var(--teal);
    white-space: nowrap;
}
.issue-list strong {
    display: block;
    font-weight: 600;
    line-height: 1.35;
}

/* Committees */
.finder {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.finder__search {
    position: relative;
}
.finder__search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.finder__search input {
    padding-left: 2.9rem !important;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--ink);
    font: 500 0.9rem var(--sans);
    text-decoration: none;
    cursor: pointer;
}
.chip:hover {
    border-color: var(--ink);
    color: var(--ink);
}
.chip[aria-pressed="true"],
.chip[aria-current="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.chip .count {
    font-size: 0.75rem;
    opacity: 0.75;
}
.committee-card .monogram {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font: 650 1.15rem var(--serif);
    margin-bottom: 0.9rem;
}
.committee-card:nth-child(3n + 2) .monogram {
    background: var(--teal);
}
.committee-card:nth-child(3n + 3) .monogram {
    background: var(--mint);
    color: var(--ink-deep);
}
.committee-card .chairs {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}
.committee-card .card__foot {
    flex-wrap: wrap;
    justify-content: flex-start;
}
.committee-card .card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
.finder__empty {
    padding: 2rem;
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}
.finder__status {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

/* People */
.people {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}
.person {
    overflow-wrap: anywhere;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 1rem;
    align-content: start;
}
.person__img {
    grid-row: span 3;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    background: var(--mint-soft);
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--line);
}
.person__img--initials {
    display: grid;
    place-items: center;
    font: 650 1.4rem var(--serif);
    color: var(--ink);
}
.person__role {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
}
.person__name {
    font: 650 1.12rem/1.25 var(--serif);
    color: var(--ink);
    margin: 0.1rem 0 0.15rem;
}
.person__inst {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}
.person details {
    grid-column: 1 / -1;
    margin-top: 0.8rem;
    border-top: 1px solid var(--line);
    padding-top: 0.6rem;
    font-size: 0.9rem;
}
.person summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--teal);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.person summary::-webkit-details-marker {
    display: none;
}
.person summary::after {
    content: "+";
    font-weight: 700;
    margin-left: auto;
}
.person details[open] summary::after {
    content: "–";
}
.person address {
    font-style: normal;
    margin: 0.6rem 0;
    line-height: 1.5;
}
.person--lead {
    grid-template-columns: auto 1fr;
    padding: 1.6rem;
    background: linear-gradient(140deg, #fff 0%, var(--mint-soft) 120%);
}
.person--lead .person__img {
    width: 120px;
    height: 120px;
}
.flagline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--muted);
}

/* Events */
.event-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}
.event {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: relative;
}
.event:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}
.event__date {
    text-align: center;
    border-radius: 12px;
    background: var(--paper);
    padding: 0.55rem 0.2rem;
    line-height: 1.05;
}
.event__date .d {
    display: block;
    font: 650 1.65rem var(--serif);
    color: var(--ink);
}
.event__date .m {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal);
}
.event__date .y {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
}
.event h3 {
    font-size: 1.08rem;
    margin: 0.1rem 0 0.35rem;
    font-family: var(--sans);
    font-weight: 650;
    line-height: 1.35;
}
.event h3 a {
    color: var(--ink);
    text-decoration: none;
}
.event h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.event p {
    margin: 0;
}
.event__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.9rem;
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}
.event__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.event__actions {
    position: relative;
    z-index: 1;
    margin-top: 0.55rem;
    display: flex;
    gap: 0.8rem;
    font-size: 0.85rem;
}
.event--gma-conference {
    border-left: 4px solid var(--sun);
}
.event--section {
    border-left: 4px solid var(--teal-bright);
}
.event--committee {
    border-left: 4px solid var(--ink);
}
.event--partner {
    border-left: 4px solid var(--mint);
}
.month {
    margin-top: 2rem;
}
.month h2 {
    font-size: 1.15rem;
    font-family: var(--sans);
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}
.on-dark .event {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}
.on-dark .event h3 a {
    color: #fff;
}
.on-dark .event__date {
    background: rgba(255, 255, 255, 0.08);
}
.on-dark .event__date .d {
    color: #fff;
}
.on-dark .event__date .m {
    color: var(--mint);
}
.on-dark .event__meta,
.on-dark .event__date .y {
    color: #b8c9dc;
}
.on-dark .event__actions a {
    color: var(--mint);
}
.on-dark .tag--line {
    color: #dbe6f2;
    border-color: rgba(255, 255, 255, 0.35);
}

/* Conference feature */
.conf {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 1000px) {
    .conf {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 2rem;
    }
}
.conf__main {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: clamp(1.6rem, 3vw, 2.6rem);
    background: var(--sun);
    color: var(--ink-deep);
    isolation: isolate;
}
.conf__main::after {
    content: attr(data-year);
    position: absolute;
    right: -0.5rem;
    bottom: -2.8rem;
    z-index: -1;
    font: 800 clamp(7rem, 16vw, 12rem) / 1 var(--serif);
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: -0.05em;
}
.conf__main h3 {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    color: var(--ink-deep);
    margin-bottom: 0.3rem;
}
.conf__main .eyebrow {
    color: var(--ink-deep);
}
.conf__date {
    font-size: 1.15rem;
    font-weight: 650;
}
.conf__side {
    display: grid;
    gap: 1rem;
}
.conf__mini {
    padding: 1.3rem 1.4rem;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
}
.conf__mini h3 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}
.conf__mini p {
    margin: 0;
    font-size: 0.93rem;
}
.motto {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink);
}

/* Timeline (conferences since 2004) */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 4.15rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: var(--line);
}
.timeline li {
    display: grid;
    grid-template-columns: 3.4rem 1.5rem minmax(0, 1fr);
    gap: 0.6rem;
    align-items: start;
    padding: 0.55rem 0;
}
.timeline .year {
    font: 650 1.1rem var(--serif);
    color: var(--ink);
    text-align: right;
    padding-top: 0.1rem;
}
.timeline .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--teal);
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 1px var(--teal);
    margin: 0.35rem auto 0;
    position: relative;
    z-index: 1;
}
.timeline li.is-future .dot {
    background: var(--sun);
    box-shadow: 0 0 0 1px var(--sun-text);
}
.timeline .body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem 1rem;
}
.timeline .body strong {
    font-size: 1.05rem;
}
.timeline .body a {
    text-decoration: none;
}
.timeline .body p {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Sections (D-A-CH) */
.dach {
    display: grid;
    gap: 1.2rem;
}
@media (min-width: 900px) {
    .dach {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.dach-card {
    position: relative;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 1.6rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.dach-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: var(--flag, var(--ink));
}
.dach-card__code {
    font: 800 3.4rem/1 var(--serif);
    color: var(--ink);
    letter-spacing: -0.03em;
    opacity: 0.12;
    position: absolute;
    right: 1.2rem;
    top: 0.9rem;
}
.dach-card h3 {
    font-size: 1.5rem;
    margin: 0.4rem 0 0.5rem;
}
.dach-card h3 a {
    color: var(--ink);
    text-decoration: none;
}
.dach-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.dach-card p {
    font-size: 0.95rem;
}
.dach-card .people-mini {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}
.dach-card .people-mini img,
.people-mini .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-right: -0.6rem;
    background: var(--mint-soft);
}
.dach-card .people-mini span {
    margin-left: 1.1rem;
    font-size: 0.84rem;
    color: var(--muted);
}

/* Statement / quote */
.statement {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.6rem, 4vw, 3rem);
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
}
@media (min-width: 900px) {
    .statement {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 2.5rem;
    }
}
.statement svg.q {
    color: var(--sun);
    width: 56px;
    height: 56px;
}
.statement blockquote {
    margin: 0;
    font: 500 clamp(1.25rem, 2.2vw, 1.65rem) / 1.4 var(--serif);
    color: var(--ink);
}
.statement figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Newsletter band */
.newsletter-band {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.6rem, 4vw, 2.8rem);
    border-radius: 22px;
    background: var(--ink);
    color: #dbe6f2;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.newsletter-band::after {
    content: "";
    position: absolute;
    right: -6rem;
    top: -6rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(5, 135, 163, 0.6),
        transparent 70%
    );
    z-index: -1;
}
@media (min-width: 900px) {
    .newsletter-band {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
    }
}
.newsletter-band h2 {
    color: #fff;
}
.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.inline-form input[type="email"] {
    flex: 1 1 14rem;
}
.newsletter-band label,
.newsletter-band .form-hint {
    color: #c3d2e3;
}
.newsletter-band a {
    color: var(--mint);
}

/* Forms ---------------------------------------------------------------------- */
.form {
    display: grid;
    gap: 1.2rem;
}
.form fieldset {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.3rem 0.6rem;
    margin: 0;
    background: #fff;
}
.form legend {
    font: 650 1.15rem var(--serif);
    color: var(--ink);
    padding: 0 0.4rem;
}
.field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
}
.field-row {
    display: grid;
    gap: 0 1rem;
}
@media (min-width: 640px) {
    .field-row--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .field-row--3 {
        grid-template-columns: 1fr 2fr 2fr;
    }
}
label,
.label {
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--ink);
}
.req {
    color: #b42318;
}
.form-hint {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    font: 400 1rem/1.4 var(--sans);
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--line-strong);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    min-height: 48px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    border-color: var(--teal);
}
textarea {
    min-height: 9rem;
    resize: vertical;
}
.choice {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
    margin-bottom: 0.6rem;
}
.choice input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    accent-color: var(--teal);
    flex: none;
}
.choice-cards {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    margin-bottom: 1rem;
}
.choice-card {
    position: relative;
    display: block;
    padding: 1rem 1rem 1rem 2.9rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    font-weight: 400;
}
.choice-card input {
    position: absolute;
    left: 1rem;
    top: 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--teal);
}
.choice-card strong {
    display: block;
}
.choice-card span {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.2rem;
}
.choice-card:has(input:checked) {
    border-color: var(--teal);
    background: var(--mint-soft);
    box-shadow: inset 0 0 0 1px var(--teal);
}
.choice-card:has(input:focus-visible) {
    box-shadow: var(--focus);
}
.errors {
    border: 2px solid #b42318;
    background: #fdecec;
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
}
.errors h2 {
    font-size: 1.05rem;
    font-family: var(--sans);
    color: #8a1a12;
    margin-bottom: 0.4rem;
}
.errors ul {
    margin: 0;
    padding-left: 1.2rem;
}
.field-error {
    color: #b42318;
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
}
[aria-invalid="true"] {
    border-color: #b42318 !important;
}
.hp {
    position: absolute;
    left: -9999px;
}

/* Stepper (registration/application) */
.stepper {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    gap: 0.4rem;
    counter-reset: step;
    overflow-x: auto;
}
.stepper li {
    flex: 1 0 auto;
    counter-increment: step;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
    white-space: nowrap;
}
.stepper li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--paper);
    font-weight: 700;
    color: var(--ink);
}
.stepper li[aria-current="step"] {
    border-color: var(--teal);
    color: var(--ink);
    font-weight: 600;
}
.stepper li[aria-current="step"]::before {
    background: var(--teal);
    color: #fff;
}
.stepper li.is-done::before {
    content: "✓";
    background: var(--mint);
}
.js .step[hidden] {
    display: none;
}
.step__nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}
.summary {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    font-size: 0.95rem;
}
.summary th,
.summary td {
    text-align: left;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.summary th {
    width: 38%;
    color: var(--muted);
    font-weight: 600;
}
.summary tr:last-child th,
.summary tr:last-child td {
    border-bottom: 0;
}

/* Fee table */
.fees {
    display: grid;
    align-items: start;
    gap: 1rem;
}
@media (min-width: 900px) {
    .fees {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.fee-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}
.fee-table caption {
    text-align: left;
    font: 650 1.2rem var(--serif);
    color: var(--ink);
    padding: 0 0 0.7rem;
}
.fee-table th,
.fee-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.fee-table td.amount {
    text-align: right;
    font: 650 1.15rem var(--serif);
    color: var(--ink);
    white-space: nowrap;
}
.fee-table tr:last-child th,
.fee-table tr:last-child td {
    border-bottom: 0;
}
.fee-table small {
    display: block;
    color: var(--muted);
    font-weight: 400;
}
.benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}
.benefits li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.benefits svg {
    flex: none;
    color: #fff;
    background: var(--teal);
    border-radius: 50%;
    padding: 3px;
    width: 24px;
    height: 24px;
    margin-top: 0.1rem;
}

/* Dashboard (member area concept) */
.dash {
    display: grid;
    gap: 1.2rem;
}
@media (min-width: 1000px) {
    .dash {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .dash .span-2 {
        grid-column: span 2;
    }
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
}
.panel h2 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.panel h2 svg {
    color: var(--teal);
}
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.status::before {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #1f9d6b;
}
.status--open::before {
    background: var(--sun);
}
.progress {
    height: 8px;
    border-radius: 99px;
    background: var(--paper);
    overflow: hidden;
}
.progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--mint));
}
.kv {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 1rem;
    font-size: 0.93rem;
    margin: 0;
}
.kv dt {
    color: var(--muted);
}
.kv dd {
    margin: 0;
    font-weight: 600;
    color: var(--ink);
}

/* News */
.news-list {
    display: grid;
    gap: 1rem;
}
.news-item {
    display: grid;
    gap: 0.3rem 1.5rem;
    padding: 1.3rem 1.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: relative;
}
@media (min-width: 900px) {
    .news-item {
        grid-template-columns: 9rem minmax(0, 1fr);
    }
}
.news-item time {
    font-weight: 650;
    color: var(--teal);
    font-size: 0.9rem;
}
.news-item h2,
.news-item h3 {
    font-size: 1.2rem;
    margin: 0 0 0.35rem;
}
.news-item h2 a,
.news-item h3 a {
    color: var(--ink);
    text-decoration: none;
}
.news-item h2 a::after,
.news-item h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}
.news-item:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}
.news-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}
.article {
    max-width: 46rem;
}
.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    font-size: 0.9rem;
    color: #c3d2e3;
}
.pager {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
}
@media (min-width: 700px) {
    .pager {
        grid-template-columns: 1fr 1fr;
    }
}
.pager a {
    display: block;
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
}
.pager a span {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
}
.pager .next {
    text-align: right;
}

/* Downloads / link lists */
.linklist {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.linklist a {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    padding: 0.8rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
}
.linklist a:hover {
    border-color: var(--teal);
}
.linklist svg {
    color: var(--teal);
    flex: none;
}
.linklist small {
    color: var(--muted);
    font-weight: 400;
    margin-left: auto;
    padding-left: 0.5rem;
    white-space: nowrap;
}

.source-note {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--line-strong);
    font-size: 0.82rem;
    color: var(--muted);
}
.source-note a {
    color: var(--muted);
}

/* Search */
.search-form {
    display: flex;
    gap: 0.6rem;
    max-width: 40rem;
}
.search-results {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.8rem;
}
.search-results li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem 1.2rem;
}
.search-results a {
    font: 650 1.1rem var(--serif);
    text-decoration: none;
}
.search-results p {
    margin: 0.3rem 0 0;
    font-size: 0.92rem;
    color: var(--muted);
}
mark {
    background: #ffe5bf;
    color: inherit;
    padding: 0 0.1em;
    border-radius: 3px;
}

/* Footer -------------------------------------------------------------------- */
.site-footer {
    background: var(--ink-deep);
    color: #c3d2e3;
    padding-top: 4rem;
    font-size: 0.95rem;
    position: relative;
}
.site-footer a {
    color: #fff;
    text-decoration: none;
}
.site-footer a:hover {
    text-decoration: underline;
    color: var(--mint);
}
.footer__top {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (min-width: 1000px) {
    .footer__top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 4rem;
    }
}
.footer__brand img {
    width: 64px;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 14px;
    padding: 6px;
}
.footer__brand address {
    font-style: normal;
    line-height: 1.7;
}
.footer__h {
    font: 700 0.78rem var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 0.8rem;
}
.footer__cols {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.footer__cols ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
    font-size: 0.92rem;
}
.footer__social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}
.footer__social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.footer__member {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    padding-block: 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    padding-block: 1.5rem 5rem;
    font-size: 0.85rem;
}
.footer__bottom ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.3rem;
    margin: 0;
    padding: 0;
}
.totop {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff !important;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.totop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Misc ----------------------------------------------------------------------- */
.split {
    display: grid;
    gap: 2rem;
}
@media (min-width: 1000px) {
    .split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
        align-items: start;
    }
}
.photo {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
}
.photo img {
    display: block;
    width: 100%;
}
.photo figcaption {
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
    color: var(--muted);
}
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1.6rem 1.8rem;
    border-radius: var(--radius);
    background: var(--sun-soft);
    border: 1px solid #f6d3ad;
    margin: 2rem 0;
}
.cta-band h2,
.cta-band h3 {
    margin: 0 0 0.2rem;
    font-size: 1.3rem;
}
.cta-band p {
    margin: 0;
}
.toc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    font-size: 0.92rem;
    columns: 2 14rem;
    margin-bottom: 2rem;
}
.toc ol,
.toc ul {
    margin: 0;
    padding-left: 1.1rem;
}
.notfound {
    text-align: center;
    padding-block: 5rem;
}
.notfound .code {
    font: 800 clamp(5rem, 14vw, 9rem) / 1 var(--serif);
    color: var(--mint);
}
.lang-en {
    font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .topbar,
    .site-header,
    .site-footer,
    .demo-badge,
    .totop,
    .page-aside,
    .nav-backdrop,
    .hero__actions {
        display: none !important;
    }
    body {
        background: #fff;
        font-size: 11pt;
    }
    .page-head {
        background: none;
        color: #000;
        padding: 0;
    }
    .page-head h1,
    .page-head .lead {
        color: #000;
    }
    a {
        color: #000;
    }
    .page-body {
        display: block;
        padding: 0;
    }
}

/* Long German compounds and URLs must never force horizontal scrolling (WCAG 1.4.10 Reflow). */
h1,
h2,
h3,
h4,
.prose,
.card,
.aside-box,
.linklist a,
.timeline .body,
.news-item {
    overflow-wrap: break-word;
}
h1,
h2,
h3,
h4 {
    hyphens: auto;
}
.linklist a span {
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 1179px) {
    .brand {
        flex: 0 1 auto;
        min-width: 0;
    }
}
@media (max-width: 399px) {
    .brand__sub {
        display: none;
    }
    .header__inner {
        gap: 0.4rem;
    }
    .stepper li:not([aria-current]) .stepper__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}
@media (max-width: 639px) {
    .stepper li:not([aria-current]) .stepper__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .stepper li {
        flex: 0 0 auto;
    }
    .stepper li[aria-current] {
        flex: 1 0 auto;
    }
}
fieldset {
    min-width: 0;
}
.journal > *,
.section__head > *,
.conf > *,
.split > * {
    min-width: 0;
}
.issue-list a {
    grid-template-columns: auto minmax(0, 1fr) auto;
}
.toc a,
.fee-table th {
    overflow-wrap: anywhere;
}
@media (max-width: 479px) {
    .btn {
        white-space: normal;
        text-align: center;
    }
    .fee-table th,
    .fee-table td {
        padding: 0.7rem 0.75rem;
    }
    .issue-list a {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .issue-list time {
        grid-column: 1 / -1;
    }
}
.stepper li {
    position: relative;
}
