/* ==========================================================================
   DGCH Website-Vorschau – Design System
   Berlin Bird Studios · mobile-first · no framework
   Based on the DGKiZ demo design system; palette: "OP-Grün" (surgical green)
   as a proposal – the CI colours of dgch.de could not be read (stylesheet
   blocked by robots.txt), the black-and-white seal is the DGCH logo.
   All text colours meet WCAG 2.2 AA (4.5:1) on their backgrounds.
   ========================================================================== */
:root {
    --accent: #12756c; /* buttons, active states – 5.5:1 on white */
    --accent-deep: #0c5a53;
    --accent-soft: #d7ece9;
    --accent-pale: #eef7f5;
    --brand: #0f3d3a; /* header bar, footer, headings accents */
    --brand-mid: #1d6b64; /* links – 6.3:1 on white */
    --brand-soft: #dcebe8;
    --brand-pale: #f3f8f7;
    --copper: #93541a; /* eyebrow labels – 5.9:1 on white */
    --copper-soft: #f6eadf;
    --sage-deep: #3f6b3a;
    --sage-soft: #e5efe1;
    --coral: #b23a2e;
    --coral-soft: #f9e3e0;
    --berry: #5b4a8a;
    --berry-soft: #ebe7f4;
    --ink: #15201f;
    --ink-soft: #3d4a48; /* 9:1 on white */
    --ink-mute: #5b6866; /* 5.8:1 on white */
    --cream: #fbfbf9;
    --paper: #ffffff;
    --mist: #f1f4f3;
    --line: #d9e1df;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 3px rgba(15, 61, 58, 0.08);
    --shadow: 0 8px 24px rgba(15, 61, 58, 0.1);
    --shadow-lg: 0 20px 50px rgba(15, 61, 58, 0.16);
    --font-body:
        "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto,
        sans-serif;
    --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
    --font-ui: "Source Sans 3", system-ui, sans-serif;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(0.22, 0.8, 0.36, 1);
    --dur: 0.35s;
    --header-h: 80px;
}
[hidden] {
    display: none !important;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    overflow-x: clip; /* clip, unlike hidden, keeps position: sticky working */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(
        var(--header-h) + 50px
    ); /* header + top bar are sticky */
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
    overflow-x: clip;
}
img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--brand);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
a:hover {
    color: var(--accent-deep);
    text-decoration-thickness: 2px;
}
:focus-visible {
    outline: 3px solid var(--copper);
    outline-offset: 3px;
    border-radius: 4px;
}
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.5em;
    color: var(--ink);
    letter-spacing: -0.005em;
    text-wrap: balance;
}
h1 {
    font-size: clamp(1.9rem, 4.4vw, 3rem);
}
h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}
h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}
h4 {
    font-size: 1.1rem;
}
p {
    margin: 0 0 1em;
}
.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}
.skip {
    position: absolute;
    left: 8px;
    top: -60px;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    z-index: 1000;
}
.skip:focus {
    top: 8px;
}
.eyebrow {
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--copper);
    margin: 0 0 0.5rem;
}
.lead {
    font-size: 1.2rem;
    color: var(--ink-soft);
    max-width: 62ch;
}
.muted {
    color: var(--ink-mute);
}
.small {
    font-size: 0.9rem;
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.3rem;
    border-radius: var(--radius-sm);
    min-height: 44px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s var(--ease),
        box-shadow 0.2s,
        background 0.2s,
        color 0.2s;
    line-height: 1.2;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn:active {
    transform: translateY(0);
}
.btn--accent {
    background: var(--accent);
    color: #fff;
}
.btn--accent:hover {
    background: var(--accent-deep);
    color: #fff;
}
.btn--brand {
    background: var(--brand-mid);
    color: #fff;
}
.btn--brand:hover {
    background: var(--brand);
    color: #fff;
}
.btn--ink {
    background: var(--ink);
    color: #fff;
}
.btn--ink:hover {
    color: #fff;
    background: var(--brand);
}
.btn--ghost {
    background: transparent;
    border-color: currentColor;
    color: var(--ink);
}
.btn--ghost:hover {
    background: var(--ink);
    color: #fff;
}
.btn--white {
    background: #fff;
    color: var(--brand);
    border-color: var(--line);
}
.btn--white:hover {
    color: var(--brand);
    border-color: var(--brand-mid);
}
.btn--sm {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}
.btn--lg {
    font-size: 1.1rem;
    padding: 1rem 1.8rem;
}
.btn svg {
    flex: none;
}
.iconbtn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--ink);
    background: var(--mist);
    transition: background 0.2s;
}
.iconbtn:hover {
    background: var(--brand-soft);
    color: var(--ink);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s;
}
.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
}
.topbar {
    background: var(--brand);
    color: #fff;
    font-size: 0.8rem;
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 34px;
    gap: 1rem;
}
.topbar__note {
    display: none;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.9;
}
.topbar__nav {
    display: flex;
    gap: 1.2rem;
    margin-left: auto;
}
.topbar__nav a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0.9;
}
.topbar__nav a:hover {
    opacity: 1;
    color: #fff;
    text-decoration: underline;
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-h);
    width: min(100% - 2 * var(--gutter), 1400px);
}
.brand {
    flex: none;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--ink);
    margin-right: auto;
}
.brand__logo {
    width: 54px;
    height: auto;
    transition: width 0.3s;
}
.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap;
}
.brand__abbr {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.45rem;
    letter-spacing: 0.06em;
    color: var(--brand);
}
.brand__name {
    display: none;
    font-size: 0.82rem;
    color: var(--ink-soft);
    font-weight: 600;
}
@media (min-width: 420px) {
    .brand__name {
        display: block;
    }
}
.header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.header__cta span {
    display: none;
}
.header__cta {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
}
.burger {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--mist);
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 11px;
}
.burger span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
    transition:
        transform 0.3s,
        opacity 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Nav – mobile drawer first */
.nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: calc(var(--header-h) + 34px);
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 90;
    padding: 1rem var(--gutter) 3rem;
}
.nav.is-open {
    transform: none;
}
.nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__item {
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}
.nav__link {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    text-decoration: none;
    padding: 0.9rem 0;
}
.nav__item--highlight .nav__link {
    color: var(--accent);
}
.nav__toggle {
    border: 0;
    background: var(--mist);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink);
    transition: transform 0.3s;
}
.nav__toggle[aria-expanded="true"] {
    transform: rotate(180deg);
    background: var(--accent-soft);
}
.mega {
    grid-column: 1 / -1;
    display: none;
    padding-bottom: 1rem;
}
.nav__item.is-expanded .mega {
    display: block;
}
.mega__intro {
    display: none;
}
.mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mega__list > li > a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
}
.mega__list > li > a:hover {
    background: var(--accent-pale);
    color: var(--ink);
}
.mega__sub {
    list-style: none;
    margin: 0 0 0.4rem;
    padding-left: 1.2rem;
}
.mega__sub a {
    display: block;
    padding: 0.3rem 0.75rem;
    text-decoration: none;
    color: var(--ink-mute);
    font-size: 0.95rem;
    border-radius: 8px;
}
.mega__sub a:hover {
    background: var(--accent-pale);
    color: var(--ink);
}
.nav__mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.2rem;
}
.nav__mobile-extra a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
}
body.nav-open {
    overflow: hidden;
}

@media (min-width: 1100px) {
    .topbar__note {
        display: inline-flex;
    }
    .brand__logo {
        width: 56px;
    }
    .brand__name {
        display: none;
    }
    .burger {
        display: none;
    }
    .header__inner {
        gap: 0.6rem;
    }
    .nav {
        position: static;
        transform: none;
        background: transparent;
        overflow: visible;
        padding: 0;
        margin-left: auto;
    }
    .nav__list {
        display: flex;
        gap: 0;
        flex-wrap: nowrap;
    }
    .nav__item {
        border: 0;
        display: block;
        position: relative;
    }
    .nav__link {
        font-size: 0.98rem;
        padding: 0.55rem 0.7rem;
        border-radius: var(--radius-sm);
        display: inline-block;
        position: relative;
        white-space: nowrap;
    }
    .nav__link::after {
        content: "";
        position: absolute;
        left: 0.65rem;
        right: 0.65rem;
        bottom: 0.25rem;
        height: 3px;
        border-radius: 3px;
        background: var(--accent);
        transform: scaleX(0);
        transition: transform 0.25s var(--ease);
        transform-origin: left;
    }
    .nav__item.is-active .nav__link::after,
    .nav__item:hover .nav__link::after,
    .nav__item:focus-within .nav__link::after {
        transform: scaleX(1);
    }
    .nav__item--highlight .nav__link {
        background: var(--accent-pale);
        color: var(--accent-deep);
    }
    .nav__toggle {
        display: none;
    }
    .mega {
        display: block;
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translate(-50%, 8px);
        width: min(860px, 92vw);
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--line);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.25s,
            transform 0.25s var(--ease),
            visibility 0.25s;
        padding: 0;
    }
    .nav__item:hover .mega,
    .nav__item:focus-within .mega,
    .nav__item.is-expanded .mega {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
    .nav__item:nth-last-child(-n + 2) .mega {
        left: auto;
        right: 0;
        transform: translate(0, 8px);
    }
    .nav__item:nth-last-child(-n + 2):hover .mega,
    .nav__item:nth-last-child(-n + 2):focus-within .mega {
        transform: translate(0, 0);
    }
    .mega::before {
        content: "";
        position: absolute;
        top: -8px;
        left: 0;
        right: 0;
        height: 12px;
    }
    .mega__inner {
        display: grid;
        grid-template-columns: 1.1fr 1.6fr;
    }
    .mega__intro {
        display: block;
        background: var(--brand-pale);
        border-right: 1px solid var(--line);
        padding: 1.5rem;
        border-radius: var(--radius) 0 0 var(--radius);
        font-size: 0.95rem;
        color: var(--ink-soft);
    }
    .mega__title {
        font-family: var(--font-head);
        font-size: 1.3rem;
        color: var(--ink);
        font-weight: 600;
        margin-bottom: 0.4rem;
    }
    .mega__list {
        padding: 1rem;
        columns: 2;
        column-gap: 0.5rem;
    }
    .mega__list > li {
        break-inside: avoid;
    }
    .nav__mobile-extra {
        display: none;
    }
}

@media (min-width: 1320px) {
    .header__cta span {
        display: inline;
    }
    .header__cta {
        width: auto;
        height: auto;
        padding: 0.7rem 1.2rem;
    }
    .nav__link {
        padding: 0.6rem 0.75rem;
    }
}
@media (min-width: 1500px) {
    .brand__name {
        display: block;
    }
    .brand__logo {
        width: 60px;
    }
    .nav__link {
        font-size: 1rem;
        padding: 0.6rem 0.85rem;
    }
    .header__inner {
        gap: 1rem;
    }
}

/* Page head + body */
.page-head {
    background: linear-gradient(180deg, var(--brand-pale), var(--cream));
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 0 2rem;
    position: relative;
    overflow: hidden;
}
.page-head::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(18, 117, 108, 0.1),
        transparent 70%
    );
    pointer-events: none;
}
.page-head__grid {
    display: grid;
    gap: 1.5rem;
}
.page-head__grid h1 {
    margin-bottom: 0.6rem;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0;
    margin: 0 0 1.2rem;
    font-size: 0.85rem;
    color: var(--ink-mute);
}
.breadcrumb li + li::before {
    content: "›";
    margin: 0 0.4rem;
    color: var(--ink-mute);
}
.breadcrumb a {
    color: var(--ink-soft);
    text-decoration: none;
}
.breadcrumb a:hover {
    color: var(--brand);
    text-decoration: underline;
}
.page-body {
    display: grid;
    gap: 2rem;
    padding: 1rem 0 4rem;
}
.page-content {
    min-width: 0;
}
.page-aside {
    display: contents;
}
.page-aside .subnav {
    order: 0;
}
.page-content {
    order: 1;
}
.page-aside .aside-box {
    order: 2;
    margin-top: 0;
}
.subnav__toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: 0;
    font: inherit;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.2rem 0.75rem;
    min-height: 44px;
    cursor: pointer;
    color: var(--ink);
}
.subnav__toggle svg {
    transition: transform 0.3s;
}
.subnav__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.subnav > ul {
    display: none;
}
.subnav.is-open > ul {
    display: block;
}
.subnav__title {
    display: none;
}
@media (min-width: 960px) {
    .page-head__grid {
        grid-template-columns: 1.6fr 1fr;
        align-items: end;
    }
    .page-body {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 3.5rem;
        padding-top: 2rem;
    }
    .page-aside {
        display: block;
        position: sticky;
        top: calc(var(--header-h) + 54px);
        align-self: start;
    }
    .page-content {
        order: 0;
    }
    .page-aside .aside-box {
        margin-top: 1.2rem;
    }
    .subnav__toggle {
        display: none;
    }
    .subnav > ul {
        display: block;
    }
    .subnav__title {
        display: block;
    }
    .page-body--wide {
        grid-template-columns: 1fr;
    }
}

/* Sub navigation */
.subnav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}
.subnav__title {
    font-family: var(--font-head);
    font-weight: 600;
    margin: 0 0 0.5rem;
    padding: 0 0.75rem;
    font-size: 1.05rem;
}
.subnav__title a {
    color: var(--ink);
    text-decoration: none;
}
.subnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.subnav ul ul {
    padding-left: 1rem;
    display: none;
}
.subnav li.is-open > ul,
.subnav li.is-active > ul {
    display: block;
}
.subnav a {
    display: block;
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.subnav a:hover {
    background: var(--brand-pale);
    color: var(--ink);
}
.subnav li.is-active > a {
    background: var(--accent);
    color: #fff;
}
.subnav ul ul a {
    font-weight: 500;
    font-size: 0.9rem;
}
.aside-box {
    margin-top: 1.2rem;
    background: var(--brand-pale);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    font-size: 0.95rem;
}
.aside-box h3 {
    font-size: 1.1rem;
}
.aside-box p:last-child {
    margin: 0;
}

/* Prose (ported legacy content) */
.prose {
    font-size: 1.05rem;
}
.prose > :first-child {
    margin-top: 0;
}
.prose h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 1.5em;
}
.prose h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    margin-top: 1.8em;
}
.prose h3 {
    margin-top: 1.5em;
}
.prose p + h2,
.prose ul + h2 {
    margin-top: 1.6em;
}
.prose ul,
.prose ol {
    padding-left: 1.3rem;
}
.prose li {
    margin-bottom: 0.35rem;
}
.prose li::marker {
    color: var(--accent);
}
.prose img {
    border-radius: var(--radius-sm);
    margin: 1rem 0;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin: 1rem 0;
}
.prose th,
.prose td {
    text-align: left;
    padding: 0.6rem 0.7rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.prose th {
    background: var(--mist);
    font-family: var(--font-head);
    font-weight: 600;
}
.prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 5px solid var(--accent);
    background: var(--accent-pale);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2rem 0;
}
.prose figure {
    margin: 1.5rem 0;
}
.prose figcaption {
    font-size: 0.85rem;
    color: var(--ink-mute);
    margin-top: 0.4rem;
}
.prose--legal p {
    font-size: 1rem;
}
.prose--legal h2 {
    font-size: 1.25rem;
    margin-top: 2em;
    padding-top: 1.2em;
    border-top: 1px solid var(--line);
}
.prose .float-right {
    float: right;
    max-width: 42%;
    margin: 0 0 1rem 1.5rem;
}
@media (max-width: 640px) {
    .prose .float-right {
        float: none;
        max-width: 100%;
        margin: 1rem 0;
    }
}

/* Callouts & components */
.callout {
    display: flex;
    gap: 0.9rem;
    padding: 1.1rem 1.3rem;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    align-items: flex-start;
}
.callout > svg {
    flex: none;
    margin-top: 0.15rem;
}
.callout p:last-child {
    margin: 0;
}
.callout--info {
    background: var(--brand-soft);
    color: var(--ink);
}
.callout--sun {
    background: var(--accent-soft);
}
.callout--warn {
    background: var(--coral-soft);
}
.callout--grass {
    background: var(--sage-soft);
}
.callout--demo {
    background: var(--berry-soft);
    font-size: 0.92rem;
    border: 1px dashed var(--berry);
}
.callout--demo strong {
    color: var(--berry);
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--mist);
    color: var(--ink-soft);
}
.tag--sun {
    background: var(--accent-soft);
    color: var(--accent-deep);
}
.tag--sky {
    background: var(--brand-soft);
    color: var(--brand);
}
.tag--grass {
    background: var(--sage-soft);
    color: var(--sage-deep);
}
.tag--coral {
    background: var(--coral-soft);
    color: var(--coral);
}
.tag--berry {
    background: var(--berry-soft);
    color: var(--berry);
}
.downloads {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 0.6rem;
}
.downloads li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    transition:
        border-color 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}
.downloads li a:hover {
    border-color: var(--accent);
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}
.downloads li a svg {
    color: var(--coral);
    flex: none;
}
.downloads li a .meta {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--ink-mute);
    font-weight: 600;
    white-space: nowrap;
}
.downloads li a .meta.pdf {
    color: var(--coral);
}
.card-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin: 1.5rem 0;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.card h3 {
    margin: 0.2rem 0;
    font-size: 1.2rem;
}
.card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.97rem;
}
.card .card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent-deep);
}
.card--sky .card__icon {
    background: var(--brand-soft);
    color: var(--brand);
}
.card--grass .card__icon {
    background: var(--sage-soft);
    color: var(--sage-deep);
}
.card--coral .card__icon {
    background: var(--coral-soft);
    color: var(--coral);
}
.card--berry .card__icon {
    background: var(--berry-soft);
    color: var(--berry);
}
.card__link {
    margin-top: auto;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--brand);
}
.card__link::after {
    content: "";
    position: absolute;
    inset: 0;
}
.card:hover .card__link {
    color: var(--accent-deep);
}
.card--cta {
    background: linear-gradient(150deg, var(--brand), #1b5550);
    color: #fff;
    border: 0;
}
.card--cta h3,
.card--cta p {
    color: #fff;
}
.card--cta .card__link {
    color: var(--accent);
}

/* People */
.people {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    margin: 1.5rem 0;
}
.person {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    align-items: start;
    box-shadow: var(--shadow-sm);
}
.person__img {
    width: 96px;
    height: 120px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    object-position: top;
    background: var(--mist);
}
.person__img--empty {
    display: grid;
    place-items: center;
    color: var(--ink-mute);
}
.person__role {
    color: var(--copper);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.2rem;
}
.person__name {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}
.person__meta {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin: 0;
}
.person__meta a {
    word-break: break-all;
}
.person--wide {
    grid-column: 1 / -1;
    grid-template-columns: 120px 1fr;
}
.person--wide .person__img {
    width: 120px;
    height: 120px;
}

/* Section styles (home) */
.section {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.section--tight {
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.section--mist {
    background: var(--mist);
}
.section--sky {
    background: linear-gradient(180deg, var(--brand-pale), #fff);
}
.section--sun {
    background: linear-gradient(180deg, var(--accent-pale), #fff);
}
.section--ink {
    background: var(--ink);
    color: #fff;
}
.section--ink h2,
.section--ink h3 {
    color: #fff;
}
.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
}
.section__head h2 {
    margin: 0;
}
.section__head p {
    margin: 0.3rem 0 0;
    color: var(--ink-soft);
    max-width: 60ch;
}

/* News */
.news-grid {
    display: grid;
    gap: 1.3rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s;
    position: relative;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.news-card__media {
    aspect-ratio: 16/9;
    background: var(--brand-soft);
    overflow: hidden;
    display: grid;
    place-items: center;
}
.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.news-card:hover .news-card__media img {
    transform: scale(1.04);
}
.news-card__media--pattern {
    background: linear-gradient(135deg, var(--accent-soft), var(--brand-soft));
    color: var(--accent-deep);
}
.news-card__body {
    padding: 1.2rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}
.news-card__meta {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--ink-mute);
    flex-wrap: wrap;
}
.news-card h3 {
    font-size: 1.2rem;
    margin: 0;
}
.news-card h3 a {
    color: var(--ink);
    text-decoration: none;
}
.news-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}
.news-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}
.news-card__more {
    margin-top: auto;
    padding-top: 0.5rem;
    font-weight: 700;
    color: var(--brand);
    font-size: 0.95rem;
}
.news-card--featured {
    grid-column: 1 / -1;
}
@media (min-width: 800px) {
    .news-card--featured {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
    }
    .news-card--featured .news-card__media {
        aspect-ratio: auto;
        min-height: 280px;
    }
    .news-card--featured h3 {
        font-size: 1.6rem;
    }
}
.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.article__hero {
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 0 2rem;
    background: var(--mist);
}
.article__hero img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}
.article__nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

/* Events / calendar
   Calm, editorial treatment: the category colour appears only as a 3px accent bar
   on the left edge of the card and as a small dot in the calendar filter chips. */
.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}
.event {
    --event-accent: var(--ink-mute);
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem 1rem 1.25rem;
    align-items: start;
    overflow: hidden;
    transition:
        border-color 0.2s,
        background-color 0.2s;
}
.event::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--event-accent);
}
.event:hover {
    border-color: var(--brand-mid);
    background: #fff;
}
.event--past {
    opacity: 0.68;
}
.event__date {
    background: var(--mist);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    padding: 0.45rem 0.25rem 0.4rem;
    font-family: var(--font-body);
    line-height: 1.15;
}
.event__date .d {
    font-size: 1.45rem;
    font-weight: 700;
    display: block;
    letter-spacing: -0.01em;
}
.event__date .m {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    color: var(--ink-soft);
}
.event__date .y {
    font-size: 0.66rem;
    display: block;
    color: var(--ink-mute);
    margin-top: 0.1rem;
}
.event__title {
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0 0 0.35rem;
}
.event__title a {
    color: var(--ink);
    text-decoration: none;
}
.event__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.event__meta {
    font-size: 0.86rem;
    color: var(--ink-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.1rem;
    margin: 0;
}
.event__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.event__meta svg {
    width: 14px;
    height: 14px;
    flex: none;
    color: var(--ink-mute);
}
.event__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 1.25rem;
    margin-top: 0.7rem;
    font-size: 0.88rem;
}
.event__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
}
.event__link svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s var(--ease);
}
.event__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.event__link:hover svg {
    transform: translateX(2px);
}
.event__ics {
    color: var(--ink-soft);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 3px;
}
.event__ics:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
}
.filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.2rem 0;
    align-items: center;
}
.chip {
    border: 2px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    font-family: var(--font-body);
}
.chip:hover {
    border-color: var(--accent);
    color: var(--ink);
}
.chip[aria-pressed="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.chip .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.cal-month {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    margin: 1.6rem 0 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--line);
}
.cal-month:first-child {
    margin-top: 0.4rem;
}
@media (max-width: 640px) {
    .event {
        grid-template-columns: 56px 1fr;
        gap: 0.8rem;
        padding: 0.9rem 0.9rem 0.9rem 1.05rem;
    }
    .event__date .d {
        font-size: 1.3rem;
    }
    .event__title {
        font-size: 1rem;
    }
}

/* Forms */
.form {
    display: grid;
    gap: 1rem;
}
.form label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}
.form input,
.form textarea,
.form select,
.search-input {
    width: 100%;
    font: inherit;
    padding: 0.75rem 1rem;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.form input:focus,
.form textarea:focus,
.search-input:focus {
    border-color: var(--brand-mid);
    box-shadow: 0 0 0 4px var(--brand-soft);
    outline: none;
}
.form .req {
    color: var(--coral);
}
.form__row {
    display: grid;
    gap: 1rem;
}
@media (min-width: 640px) {
    .form__row {
        grid-template-columns: 1fr 1fr;
    }
}
.form__check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.92rem;
}
.form__check input {
    width: auto;
    margin-top: 0.3rem;
}

/* Timeline */
.timeline {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0;
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: linear-gradient(var(--accent), var(--brand-mid));
    border-radius: 4px;
}
.timeline li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    padding: 0.6rem 0;
    align-items: start;
}
.timeline .tl__dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-weight: 600;
    position: relative;
    z-index: 1;
    border: 4px solid #fff;
    box-shadow: var(--shadow-sm);
}
.timeline .tl__body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
}
.timeline .tl__body strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
}
.timeline .tl__body p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--ink-soft);
}

/* Accordion (FAQ) */
.faq {
    display: grid;
    gap: 0.6rem;
    margin: 1.5rem 0;
}
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 1.2rem;
}
.faq summary {
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--accent-deep);
    transition: transform 0.3s;
    font-weight: 600;
}
.faq details[open] summary::after {
    transform: rotate(45deg);
}
.faq details > div {
    padding: 0 0 1.2rem;
    color: var(--ink-soft);
}
.faq details > div p:last-child {
    margin: 0;
}

/* Split feature */
.split {
    display: grid;
    gap: 2rem;
    align-items: center;
}
.split__media {
    position: relative;
}
.split__media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.split__media .blob {
    position: absolute;
    z-index: -1;
    inset: -20px;
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
    background: var(--accent-soft);
}
@media (min-width: 900px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    .split--rev .split__media {
        order: 2;
    }
}
.checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 0.5rem;
}
.checklist li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.checklist li svg {
    flex: none;
    color: var(--sage-deep);
    margin-top: 0.25rem;
    background: var(--sage-soft);
    border-radius: 50%;
    padding: 3px;
    width: 22px;
    height: 22px;
}

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    gap: 1.2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.cta-band h2 {
    margin: 0 0 0.4rem;
}
.cta-band h2,
.cta-band .eyebrow {
    color: #fff;
}
.cta-band p {
    margin: 0;
    color: #e4f1ee;
}
@media (min-width: 800px) {
    .cta-band {
        grid-template-columns: 1fr auto;
        padding: 2.5rem 3rem;
    }
}

/* Footer */
.site-footer {
    position: relative;
    background: var(--brand);
    color: #d3e3df;
    margin-top: 4rem;
    padding-bottom: 2rem;
    font-size: 0.95rem;
}
.site-footer a {
    color: #fff;
}
.site-footer a:hover {
    color: #fff;
    text-decoration-thickness: 2px;
}
.footer__top {
    display: grid;
    gap: 2.5rem;
    padding: 2rem 0;
}
.footer__brand img {
    width: 84px;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    margin-bottom: 1rem;
}
.footer__brand p {
    margin: 0 0 0.8rem;
}
.footer__cols {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}
.footer__h {
    font-family: var(--font-head);
    color: #fff;
    font-weight: 600;
    margin: 0 0 0.6rem;
    font-size: 1rem;
}
.footer__cols ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem;
}
.footer__cols a {
    text-decoration: none;
    color: #d3e3df;
    font-size: 0.92rem;
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.2rem;
    font-size: 0.85rem;
}
.footer__bottom ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    margin: 0;
    padding: 0;
}
.footer__bottom a {
    text-decoration: none;
}
.totop {
    position: fixed;
    right: 16px;
    bottom: 70px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.3s,
        transform 0.3s;
    z-index: 50;
}
.totop.is-visible {
    opacity: 1;
    transform: none;
}
.totop:hover {
    color: #fff;
    background: var(--accent-deep);
}
@media (min-width: 900px) {
    .footer__top {
        grid-template-columns: 1.1fr 2.4fr;
    }
    .footer__cols {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1200px) {
    .footer__cols {
        grid-template-columns: repeat(5, 1fr);
    }
}
.demo-badge {
    position: fixed;
    left: 12px;
    bottom: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink-soft);
    box-shadow: var(--shadow-sm);
    z-index: 60;
}
@media (max-width: 640px) {
    .demo-badge span {
        display: none;
    }
    .demo-badge {
        padding: 8px;
    }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
}
.reveal.is-in {
    opacity: 1;
    transform: none;
}
.reveal[data-delay="1"] {
    transition-delay: 0.1s;
}
.reveal[data-delay="2"] {
    transition-delay: 0.2s;
}
.reveal[data-delay="3"] {
    transition-delay: 0.3s;
}

/* Search page */
.search-results {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 0.8rem;
}
.search-results li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
}
.search-results h3 {
    font-size: 1.1rem;
    margin: 0 0 0.2rem;
}
.search-results p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
}
.search-results mark {
    background: var(--accent-soft);
    color: var(--ink);
    border-radius: 3px;
    padding: 0 0.1em;
}

/* Sitemap */
.sitemap {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.sitemap ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sitemap ul ul {
    padding-left: 1rem;
    font-size: 0.92rem;
}
.sitemap li {
    margin: 0.25rem 0;
}

/* Notice for empty legacy pages */
.legacy-note {
    font-size: 0.85rem;
    color: var(--ink-mute);
    border-top: 1px dashed var(--line);
    margin-top: 3rem;
    padding-top: 1rem;
}

/* ==========================================================================
   DGCH components
   ========================================================================== */

/* Links into legacy dgch.de pages, external links and file tags in ported content */
.link-ext::after {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-left: 0.25em;
    vertical-align: 0.05em;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M19 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M19 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / contain no-repeat;
}
.link-legacy {
    text-decoration-style: dotted;
}
.file-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    background: var(--coral-soft);
    color: var(--coral);
    vertical-align: 0.15em;
}
.prose .anchor {
    display: block;
    scroll-margin-top: calc(var(--header-h) + 50px);
}
.table-wrap {
    overflow-x: auto;
    margin: 1rem 0;
    -webkit-overflow-scrolling: touch;
}
.table-wrap table {
    margin: 0;
}
.prose caption {
    text-align: left;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    padding: 0.4rem 0;
}
.prose img {
    max-height: 420px;
    width: auto;
}
.source-note {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 3rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--ink-mute);
}
.source-note svg {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 0.2rem;
}
.more-links {
    margin: 1.2rem 0 2.5rem;
}
.h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}
.h4 {
    font-size: 1.1rem;
}
.error-list {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

/* News list inside ported pages (Pressemeldungen, Archiv, Passion Chirurgie) */
.prose .news-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
    display: grid;
    gap: 0.6rem;
}
.prose .news-list__item {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin: 0;
}
.news-list__date {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--copper);
}
.news-list__title {
    font-weight: 700;
    line-height: 1.35;
}
.news-list__teaser {
    font-size: 0.93rem;
    color: var(--ink-soft);
}

/* Home hero */
.hero {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(18, 117, 108, 0.12),
            transparent 45%
        ),
        linear-gradient(180deg, var(--brand-pale), var(--cream));
    padding: clamp(2rem, 6vw, 4.5rem) 0 2rem;
    border-bottom: 1px solid var(--line);
}
.hero__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}
.hero h1 {
    max-width: 18ch;
}
.hero .lead {
    max-width: 58ch;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.hero__seal {
    position: relative;
    width: min(320px, 70vw);
    aspect-ratio: 1;
    justify-self: center;
    display: grid;
    place-items: center;
}
.hero__seal img {
    width: 72%;
    height: auto;
    position: relative;
}
.hero__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: #fff;
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-dasharray: 7 6;
    filter: drop-shadow(0 12px 30px rgba(15, 61, 58, 0.12));
}
.hero__congress {
    display: flex;
    gap: 0.8rem 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 0.9rem 1.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--copper);
    border-radius: var(--radius-sm);
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.hero__congress:hover {
    border-color: var(--brand-mid);
    color: var(--ink);
}
.hero__congress strong {
    display: block;
}
.hero__congress-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper);
}
.hero__congress > svg {
    margin-left: auto;
    color: var(--brand-mid);
}
@media (min-width: 900px) {
    .hero__grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* Quick links ("Häufig gesuchte Inhalte") */
.section__kicker {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    margin: 0 0 1rem;
}
.quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.quick-links a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0.7rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    transition:
        border-color 0.2s,
        transform 0.2s var(--ease);
}
.quick-links a svg {
    color: var(--accent);
    flex: none;
}
.quick-links a:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    color: var(--ink);
}

/* Split feature image */
.split__media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 320px;
    margin-inline: auto;
}

/* Events: grid variant on the home page */
@media (min-width: 900px) {
    .event-list--grid {
        grid-template-columns: 1fr 1fr;
    }
}
.event::before {
    background: var(--accent);
}
.event__sub {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
}
.event__ics {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.event__ics svg {
    width: 15px;
    height: 15px;
}
.facts {
    display: grid;
    gap: 0.6rem 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 0 0 1.5rem;
    padding: 1.2rem;
    background: var(--brand-pale);
    border-radius: var(--radius);
}
.facts dt {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
}
.facts dt svg {
    width: 15px;
    height: 15px;
}
.facts dd {
    margin: 0.2rem 0 0;
    font-weight: 600;
}

/* Congress box */
.congress {
    background: linear-gradient(135deg, var(--brand), #17524d);
    color: #e4f1ee;
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 4vw, 2.4rem);
    margin: 0 0 2.5rem;
}
.congress .eyebrow,
.congress__title {
    color: #fff;
}
.congress__title {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
}
.congress__dates {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.4rem;
    display: grid;
    gap: 0.6rem;
}
.congress__dates li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}
.congress__dates strong {
    display: block;
    color: #fff;
}
.congress p:last-child {
    margin: 0;
}

/* News card without image */
.news-card__meta {
    font-weight: 700;
    color: var(--copper);
    margin: 0;
}
.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.news-card--featured {
    display: flex;
}
.news-card--featured h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}
@media (min-width: 800px) {
    .news-card--featured {
        display: flex;
    }
}
.article__nav a {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-width: 48%;
    text-decoration: none;
    font-weight: 600;
}

/* Board */
.people-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    margin: 1rem 0 2.5rem;
}
.person {
    grid-template-columns: 96px minmax(0, 1fr);
}
.person__name {
    font-size: 1.1rem;
    margin: 0 0 0.3rem;
}
.person__link {
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
}

/* Membership */
.join-cta {
    display: grid;
    gap: 1rem 2rem;
    align-items: center;
    padding: clamp(1.2rem, 3vw, 2rem);
    margin: 0 0 2rem;
    background: var(--accent-pale);
    border: 1px solid var(--accent-soft);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius);
}
.join-cta h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
}
.join-cta p {
    margin: 0;
}
@media (min-width: 800px) {
    .join-cta {
        grid-template-columns: 1fr auto;
    }
}
.fee-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.6rem;
}
.fee-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--line);
}
.mini-steps {
    margin: 0;
    padding-left: 1.2rem;
}
.mini-steps li {
    margin-bottom: 0.3rem;
}

/* Application form + stepper */
.form--application {
    gap: 0;
}
.form .step {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: clamp(1rem, 3vw, 1.8rem);
    margin: 0 0 1.2rem;
    display: grid;
    gap: 1rem;
    min-width: 0;
}
.form .step > legend {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    padding: 0 0.4rem;
    color: var(--ink);
}
.form .step > legend:focus {
    outline: none;
}
.form .step h3 {
    margin: 0.6rem 0 -0.2rem;
}
.form__row--zip {
    grid-template-columns: 8rem 1fr;
}
@media (min-width: 640px) {
    .form__row--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}
.field-hint {
    font-size: 0.85rem;
    color: var(--ink-mute);
    margin: 0.3rem 0 0;
}
.field-hint.is-ok {
    color: var(--sage-deep);
    font-weight: 700;
}
.field-hint.is-bad,
.field-error {
    color: var(--coral);
    font-weight: 700;
    font-size: 0.88rem;
    margin: 0.3rem 0 0;
}
.form [aria-invalid="true"] {
    border-color: var(--coral);
}
.form .choice {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.form .choice > legend {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding: 0;
}
.choice__row,
.choice__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}
.choice__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.4rem 1rem;
}
.choice__grid--narrow {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.form label.check,
.form label.radio {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    font-weight: 600;
    margin: 0;
    min-height: 32px;
    cursor: pointer;
}
.form label.check input,
.form label.radio input,
.form__check input {
    width: 20px;
    height: 20px;
    flex: none;
    accent-color: var(--accent);
}
.form__check label {
    font-weight: 500;
    margin: 0;
}
.fee-options {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.form .fee-option {
    position: relative;
    display: grid;
    gap: 0.2rem;
    margin: 0;
    padding: 1rem 1rem 1rem 2.8rem;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.fee-option input {
    position: absolute;
    left: 1rem;
    top: 1.15rem;
    width: 20px !important;
    height: 20px;
    accent-color: var(--accent);
}
.fee-option:hover {
    border-color: var(--brand-mid);
}
.fee-option:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-pale);
}
.fee-option:has(input:focus-visible) {
    outline: 3px solid var(--copper);
    outline-offset: 2px;
}
.fee-option__label {
    font-weight: 700;
}
.fee-option__amount {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand);
}
.fee-option__note {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink-mute);
}
.sepa {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--brand-pale);
    border-radius: var(--radius-sm);
}
.sepa p {
    margin: 0;
}
#iban {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    letter-spacing: 0.06em;
}
.stepper {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.3rem;
    margin: 0 0 1.4rem;
    padding: 0;
}
.stepper li {
    counter-increment: step;
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-mute);
    position: relative;
}
.stepper li::before {
    content: counter(step);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid var(--line);
    color: var(--ink-mute);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}
.stepper li::after {
    content: "";
    position: absolute;
    top: 17px;
    left: calc(-50% + 17px);
    right: calc(50% + 17px);
    border-top: 2px dashed var(--line);
}
.stepper li:first-child::after {
    display: none;
}
.stepper li.is-done::before {
    content: "✓";
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.stepper li.is-done::after,
.stepper li[aria-current="step"]::after {
    border-top-style: solid;
    border-color: var(--accent);
}
.stepper li[aria-current="step"] {
    color: var(--ink);
}
.stepper li[aria-current="step"]::before {
    border-color: var(--accent);
    color: var(--accent-deep);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
@media (max-width: 520px) {
    .stepper li {
        font-size: 0;
    }
}
.stepper__actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.stepper__actions [data-step-prev] svg {
    transform: rotate(180deg);
}
.is-stepper .step:not(.is-current) {
    display: none;
}
.summary {
    display: grid;
    gap: 0;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.summary > div {
    display: grid;
    grid-template-columns: minmax(8rem, 1fr) 2fr;
    gap: 1rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--line);
}
.summary > div:nth-child(odd) {
    background: var(--mist);
}
.summary > div:last-child {
    border-bottom: 0;
}
.summary dt {
    font-weight: 700;
    color: var(--ink-soft);
}
.summary dd {
    margin: 0;
    word-break: break-word;
}
.summary__edit {
    font-size: 0.85rem;
}
.success-card {
    display: grid;
    gap: 1.2rem;
    align-items: start;
    padding: 1.4rem;
    background: var(--sage-soft);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}
.success-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sage-deep);
    color: #fff;
}
.success-card .summary {
    background: #fff;
}
@media (min-width: 700px) {
    .success-card {
        grid-template-columns: auto 1fr;
    }
}
.next-steps {
    padding-left: 1.3rem;
}
.next-steps li {
    margin-bottom: 0.5rem;
}

/* Mitglieder hub */
.member-hub {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}
.member-hub > section {
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 4vw, 2.2rem);
}
.member-hub__login {
    background: linear-gradient(135deg, var(--brand), #17524d);
    color: #e4f1ee;
}
.member-hub__login h2,
.member-hub__login .eyebrow {
    color: #fff;
}
.member-hub__login .muted {
    color: #c3d8d3;
}
.member-hub__join {
    background: #fff;
    border: 1px solid var(--line);
}
.member-hub h2 {
    font-size: clamp(1.3rem, 2.8vw, 1.75rem);
}
@media (min-width: 900px) {
    .member-hub {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    margin-bottom: 2.5rem;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
}
.contact-card h2 {
    margin: 0 0 0.5rem;
}
.contact-card p {
    margin: 0 0 0.5rem;
}
.contact-card svg {
    width: 16px;
    height: 16px;
    vertical-align: -0.15em;
    color: var(--ink-mute);
}
.contact-card--main {
    background: var(--brand-pale);
    grid-column: 1 / -1;
}

/* Search field on the search page */
.finder__search {
    position: relative;
}
.finder__search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-mute);
}
.finder__search input {
    padding-left: 3rem;
    font-size: 1.1rem;
}
.finder__search--lg {
    max-width: 640px;
}
.finder__count {
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}

/* Help box (404, empty search) */
.help-box {
    display: grid;
    gap: 1rem 1.5rem;
    padding: clamp(1.2rem, 4vw, 2rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
}
.help-box__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-pale);
    color: var(--accent);
    display: grid;
    place-items: center;
}
.help-box__icon svg {
    width: 32px;
    height: 32px;
}
.help-box__title {
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.help-box__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    margin: 1rem 0 0.3rem;
}
.help-box__links {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}
.help-box__search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}
.help-box__search .finder__search {
    flex: 1 1 260px;
}
.help-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
@media (min-width: 700px) {
    .help-box {
        grid-template-columns: auto 1fr;
    }
}

/* ---------- OP-Sicherheitscheckliste (interactive Team Time Out) ---------- */
.checklist-tool {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.1rem, 3.5vw, 2rem);
    margin: 0 0 3rem;
    box-shadow: var(--shadow-sm);
}
.checklist-tool__head {
    display: grid;
    gap: 1rem;
    align-items: start;
}
.checklist-tool__head h2 {
    margin: 0 0 0.4rem;
}
.checklist-tool__intro {
    color: var(--ink-soft);
    margin: 0;
    max-width: 62ch;
}
.checklist-tool__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
@media (min-width: 900px) {
    .checklist-tool__head {
        grid-template-columns: 1fr auto;
    }
}
.suture {
    margin: 1.4rem 0 0.4rem;
    padding: 0.4rem 0.6rem;
    background: var(--copper-soft);
    border-radius: 999px;
}
.suture__svg {
    width: 100%;
    height: 40px;
    display: block;
    overflow: visible;
}
.suture__wound {
    stroke: #c98d6b;
    stroke-width: 2;
    stroke-dasharray: 3 4;
    fill: none;
}
.suture__stitch {
    fill: none;
    stroke: var(--brand);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    opacity: 0.12;
    transition:
        stroke-dashoffset 0.6s var(--ease),
        opacity 0.3s;
}
.suture__stitch.is-done {
    stroke-dashoffset: 0;
    opacity: 1;
}
.checklist-tool.is-complete .suture {
    background: var(--sage-soft);
}
.checklist-tool.is-complete .suture__wound {
    stroke: var(--sage-deep);
    stroke-dasharray: none;
}
.checklist-tool__progress {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin: 0 0 1.2rem;
    text-align: right;
}
.phase-tabs {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}
@media (min-width: 760px) {
    .phase-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
}
.phase-tab {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-align: left;
    padding: 0.75rem 0.9rem;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    font: inherit;
    color: var(--ink);
    cursor: pointer;
    min-height: 56px;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.phase-tab:hover {
    border-color: var(--brand-mid);
}
.phase-tab[aria-selected="true"] {
    border-color: var(--accent);
    background: var(--accent-pale);
}
.phase-tab__nr {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
}
.phase-tab.is-complete .phase-tab__nr {
    background: var(--sage-deep);
}
.phase-tab__text {
    display: grid;
    line-height: 1.25;
}
.phase-tab__text span {
    font-size: 0.82rem;
    color: var(--ink-mute);
}
.phase-tab__state {
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-soft);
    white-space: nowrap;
}
.phase {
    border-radius: var(--radius);
}
.phase:focus-visible {
    outline-offset: 6px;
}
.js .phase:not(.is-current) {
    display: none;
}
.phase__title {
    font-size: 1.2rem;
    margin: 0.4rem 0 1rem;
}
.phase__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.phase__group {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--copper);
    margin: 0.8rem 0 0;
}
.cl-item {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    transition:
        background 0.2s,
        border-color 0.2s;
}
.cl-item > input {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 22px;
    height: 22px;
    accent-color: var(--accent);
    margin: 0;
}
.cl-item > label {
    display: block;
    padding: 0.85rem 1rem 0.85rem 3.1rem;
    cursor: pointer;
    font-weight: 600;
    min-height: 52px;
}
.cl-item.is-done,
.cl-item:has(> input:checked) {
    background: var(--sage-soft);
    border-color: #b9d1b3;
}
.cl-item--choice fieldset {
    border: 0;
    margin: 0;
    padding: 0.85rem 1rem;
}
.cl-item--choice legend {
    font-weight: 600;
    padding: 0;
    float: left;
    width: 100%;
    margin-bottom: 0.4rem;
}
.cl-options {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
}
.cl-options label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 32px;
    cursor: pointer;
    font-weight: 600;
}
.cl-options input {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
}
.cl-hint {
    font-size: 0.85rem;
    color: var(--ink-mute);
    margin: 0.3rem 0 0;
}
.timeout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.2rem;
    padding: 0.8rem 1rem;
    margin: 0 0 1rem;
    border-radius: var(--radius-sm);
    background: var(--brand-pale);
}
.timeout__text {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin: 0;
    font-size: 0.92rem;
}
.timeout__clock {
    margin: 0 0 0 auto;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}
.timeout.is-over .timeout__clock {
    color: var(--copper);
}
.phase__nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
}
.phase__nav [data-phase-go]:first-child svg {
    transform: rotate(180deg);
}
.checklist-done {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: var(--radius);
    background: var(--sage-soft);
    color: var(--ink);
}
.checklist-done > svg {
    width: 36px;
    height: 36px;
    flex: none;
    color: var(--sage-deep);
}
.checklist-done__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0 0 0.3rem;
}
.checklist-done p:last-child {
    margin: 0;
}
.checklist-tool__disclaimer {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 1.4rem 0 0;
    font-size: 0.85rem;
    color: var(--ink-mute);
}
.checklist-tool__disclaimer svg {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 0.2rem;
}

/* Home teaser for the checklist */
.timeout-teaser {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    text-decoration: none;
    transition:
        box-shadow 0.25s,
        border-color 0.25s;
}
.timeout-teaser:hover {
    color: var(--ink);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}
.timeout-teaser h2 {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
}
.timeout-teaser p {
    color: var(--ink-soft);
}
.timeout-teaser__suture {
    padding: 1.5rem 1rem;
    border-radius: var(--radius);
    background: var(--copper-soft);
}
.timeout-teaser__suture svg {
    width: 100%;
    height: 60px;
}
@media (min-width: 900px) {
    .timeout-teaser {
        grid-template-columns: 1fr 1.4fr;
    }
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.4rem;
}
.cta-band__actions > a:not(.btn) {
    color: #fff;
    font-weight: 700;
}

/* Footer suture line instead of the DGKiZ grass */
.footer__suture {
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0 14px,
        transparent 14px 22px
    );
    opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print: content only (used by the checklist's print button and for legal pages) */
@media print {
    .site-header,
    .site-footer,
    .demo-badge,
    .totop,
    .page-aside,
    .breadcrumb,
    .checklist-tool__actions,
    .phase-tabs,
    .phase__nav,
    .timeout button,
    .source-note,
    .callout--demo {
        display: none !important;
    }
    .js .phase:not(.is-current) {
        display: block;
    }
    .page-body {
        display: block;
        padding: 0;
    }
    .checklist-tool {
        box-shadow: none;
        border: 0;
        padding: 0;
    }
    .cl-item {
        break-inside: avoid;
    }
    body {
        background: #fff;
        font-size: 11pt;
    }
}

/* Inline icons inside running text (aside boxes, contact cards, legal pages) */
p > svg,
li > svg,
dd > svg {
    display: inline-block;
    vertical-align: -0.2em;
}
.site-footer .btn--white {
    color: var(--brand);
}
.site-footer .btn--white:hover {
    color: var(--brand);
}

/* ==========================================================================
   Online-Antrag: form + live SEPA mandate card
   ========================================================================== */
.apply-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.apply-facts li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.8rem;
}
.apply-facts svg {
    flex: none;
    margin-top: 0.2rem;
    color: var(--accent);
}
.apply-facts strong {
    color: var(--ink);
}
.apply {
    display: grid;
    gap: 2rem;
}
.apply__main {
    min-width: 0;
}
.apply__side .aside-box:first-of-type {
    margin-top: 1.2rem;
}
@media (min-width: 1040px) {
    .apply {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 3rem;
        align-items: start;
    }
    .apply__side {
        position: sticky;
        top: calc(var(--header-h) + 54px);
    }
}
.mandate {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.3rem 1.3rem 1.1rem;
    overflow: hidden;
}
.mandate::before {
    /* perforated edge like a paper form – a nod to the PDF it replaces */
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--brand) 0 10px,
        transparent 10px 16px
    );
}
.mandate__head {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin: 0.3rem 0 0.9rem;
}
.mandate__head img {
    width: 52px;
    height: auto;
    flex: none;
}
.mandate__head h2 {
    font-size: 1.2rem;
    margin: 0;
}
.mandate__kicker {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--copper);
}
.mandate__bar {
    height: 6px;
    border-radius: 99px;
    background: var(--mist);
    overflow: hidden;
}
.mandate__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--accent);
    border-radius: inherit;
    transition: width 0.4s var(--ease);
}
.mandate__progress p {
    margin: 0.35rem 0 0.8rem;
    color: var(--ink-mute);
}
.mandate__fields {
    margin: 0;
    display: grid;
    gap: 0;
    font-size: 0.9rem;
    border-top: 1px dashed var(--line);
}
.mandate__fields > div {
    display: grid;
    grid-template-columns: 8.2rem 1fr;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--line);
}
.mandate__fields dt {
    color: var(--ink-mute);
}
.mandate__fields dd {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    overflow-wrap: anywhere;
}
.mandate__fields .is-empty {
    color: var(--ink-mute);
    font-weight: 400;
    font-style: italic;
}
.mandate__fields .muted {
    font-weight: 400;
}
.mono {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
.mandate__ok {
    display: inline-grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: var(--sage-soft);
    color: var(--sage-deep);
    vertical-align: -0.25em;
}
.mandate__ok svg {
    width: 14px;
    height: 14px;
}
.mandate__sign {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-top: 0.9rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--mist);
    color: var(--ink-soft);
    font-size: 0.88rem;
    transition: background 0.3s;
}
.mandate__sign svg {
    flex: none;
    margin-top: 0.2rem;
}
.mandate__sign p {
    margin: 0;
}
.mandate.is-signed .mandate__sign {
    background: var(--sage-soft);
    color: var(--sage-deep);
    font-weight: 600;
}

/* ==========================================================================
   Home: dark hero with suture line, membership quick start, facts, PDF → online
   ========================================================================== */
.hero--home {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(42, 160, 146, 0.28),
            transparent 42%
        ),
        radial-gradient(
            circle at 95% 100%,
            rgba(147, 84, 26, 0.18),
            transparent 40%
        ),
        var(--brand);
    color: #e4f0ee;
    padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
    border-bottom: 0;
}
.hero--home::before {
    /* faint millimetre grid, like a cutting mat */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, #000 30%, transparent);
    pointer-events: none;
}
.hero--home .container {
    position: relative;
}
.hero--home h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    max-width: 16ch;
}
.hero--home .eyebrow {
    color: #f2c9a1; /* 9.6:1 on --brand */
}
.hero--home .lead {
    color: #cfe3e0; /* 10:1 on --brand */
    font-size: clamp(1.08rem, 1.6vw, 1.25rem);
}
.hero__suture {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 220px;
    pointer-events: none;
}
.hero__suture-line,
.hero__suture-stitch {
    fill: none;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1.5;
    stroke-linecap: round;
}
.hero__suture-stitch {
    stroke: rgba(242, 201, 161, 0.35);
    stroke-width: 2;
}
.hero__suture-line {
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    animation: suture-draw 2.4s var(--ease) 0.2s forwards;
}
@keyframes suture-draw {
    to {
        stroke-dashoffset: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero__suture-line {
        animation: none;
        stroke-dashoffset: 0;
    }
}
.btn--outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}
.hero--home .btn:focus-visible,
.hero--home a:focus-visible {
    outline: 3px solid #f2c9a1;
    outline-offset: 3px;
}
@media (min-width: 960px) {
    .hero--home .hero__grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 4rem;
    }
}

/* Membership quick start (GET form → online application with preselected fee) */
.join-card {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius-lg);
    padding: clamp(1.3rem, 3vw, 1.9rem);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
    position: relative;
}
.join-card h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
    margin: 0.3rem 0 1rem;
}
.join-card__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.2rem 0.65rem;
    border-radius: 99px;
    background: var(--sage-soft);
    color: var(--sage-deep);
    font-weight: 700;
    font-size: 0.82rem;
}
.join-card fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
.join-card legend {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    padding: 0;
}
.join-card__options {
    display: grid;
    gap: 0.5rem;
}
.join-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    min-height: 48px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.join-option input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--accent);
}
.join-option:hover {
    border-color: var(--brand-mid);
}
.join-option:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-pale);
}
.join-option:has(input:focus-visible) {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
.join-option__label {
    font-weight: 600;
    line-height: 1.3;
}
.join-option__note {
    display: block;
    font-weight: 400;
    font-size: 0.82rem;
    color: var(--ink-mute);
}
.join-option__amount {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}
.join-card__submit {
    width: 100%;
    justify-content: center;
    margin-top: 1.1rem;
}
.join-card__foot {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--ink-mute);
}

/* Facts row under the hero */
.facts {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.facts__list {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.facts__list > div {
    padding: 1.3rem 1rem 1.3rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.facts__list dd {
    order: 0;
}
.facts__list dt {
    order: 1;
}
.facts__list dt {
    font-size: 0.88rem;
    color: var(--ink-mute);
    line-height: 1.35;
}
.facts__list dd {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--brand);
    line-height: 1.1;
}
.facts__list dd a {
    color: var(--brand);
    text-decoration: none;
}
.facts__list dd a:hover {
    text-decoration: underline;
}
.facts__list dd a svg {
    display: inline-block;
    width: 0.55em;
    height: 0.55em;
    vertical-align: 0.25em;
}
.facts__list .facts__sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-soft);
    order: 2;
}
@media (min-width: 900px) {
    .facts__list {
        grid-template-columns: 0.8fr 0.8fr 1.2fr 1.6fr;
    }
    .facts__list > div + div {
        padding-left: 1.6rem;
        border-left: 1px solid var(--line);
    }
}
@media (max-width: 899px) {
    .facts__list > div {
        border-bottom: 1px solid var(--line);
    }
    .facts__congress {
        grid-column: 1 / -1;
        border-bottom: 0 !important;
    }
}

/* Quick links as a calm row of chips */
.quick-links {
    display: flex;
    flex-wrap: wrap;
}
.quick-links a {
    border-radius: 99px;
    min-height: 46px;
    padding: 0.55rem 1.1rem;
}

/* PDF → online comparison */
.compare {
    display: grid;
    gap: 1.2rem;
    align-items: stretch;
}
.compare__col {
    border-radius: var(--radius);
    padding: clamp(1.2rem, 3vw, 1.8rem);
    border: 1px solid var(--line);
    background: #fff;
}
.compare__col--before {
    background:
        repeating-linear-gradient(
            -45deg,
            transparent 0 14px,
            rgba(15, 61, 58, 0.025) 14px 15px
        ),
        #fff;
    color: var(--ink-soft);
}
.compare__col--after {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow);
}
.compare__label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0 0 0.8rem;
    color: var(--ink);
}
.compare__steps {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}
.compare__steps li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}
.compare__steps svg {
    flex: none;
    margin-top: 0.2rem;
}
.compare__col--before svg {
    color: var(--ink-mute);
}
.compare__col--after svg {
    color: var(--accent);
}
.compare__arrow {
    display: grid;
    place-items: center;
    color: var(--accent);
    transform: rotate(90deg);
}
.compare__arrow svg {
    width: 32px;
    height: 32px;
}
@media (min-width: 900px) {
    .compare {
        grid-template-columns: 1fr auto 1fr;
    }
    .compare__arrow {
        transform: none;
    }
}

/* Member societies */
.societies {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.societies li {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-sm);
}
.societies abbr {
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--brand);
}
.societies span {
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

/* News grid: let the cards fill the row instead of leaving an empty slot */
.news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* IBAN field: keep the grouped number readable on narrow screens */
@media (max-width: 480px) {
    #iban {
        font-size: 0.95rem;
        letter-spacing: 0;
    }
}
@media (min-width: 1000px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .hero--home h1 {
        font-size: 2.05rem;
    }
    .hero--home .lead {
        line-height: 1.55;
    }
}

/* /video – teaser player */
.video-stage {
    background: var(--brand);
    border-radius: var(--radius-lg);
    padding: clamp(0.5rem, 1.5vw, 1rem);
    box-shadow: var(--shadow-lg);
}
.video-stage__player,
.video-stage__pending {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    background: #0a2a28;
}
.video-stage__pending {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #e4f0ee;
    text-align: center;
}
.video-stage__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}
.video-stage__pending-body {
    position: relative;
    padding: 1.5rem;
    max-width: 34rem;
}
.video-stage__pending h2 {
    color: #fff;
    margin: 0.8rem 0 0.4rem;
}
.video-stage__pending p {
    margin: 0;
    color: #cfe3e0;
}
.video-stage__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
}
.video-stage__icon svg {
    width: 28px;
    height: 28px;
}
.video-next {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}
.site-footer__draft {
    margin: 0.8rem 0 0;
    font-size: 0.8rem;
    opacity: 0.85;
}
.apply__help {
    margin: 1rem 0 0;
    padding: 0 0.3rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
}
