/* ==========================================================================
   DGPro – theme layer on top of main.css (shared design system of the BBS demos)
   Palette from the DGPro logo (navy #003b65, olive-lime #b5b835), typography Source Serif 4 / Source Sans 3.
   All text/background pairs below are checked for WCAG 2.2 AA (≥ 4.5:1).
   ========================================================================== */
:root {
    --brand: #003b65;
    --brand-deep: #002846;
    --brand-mid: #1d5f8f;
    --brand-soft: #dbe7f1;
    --brand-pale: #f1f6fa;
    --accent: #b5b835;
    --accent-deep: #5c5e0f;
    --accent-soft: #eef0c8;
    --accent-pale: #f8f9e8;
    --teal: #2f8f83;
    --teal-deep: #1d6b61;
    --teal-soft: #dcefeb;
    --rose: #b8463c;
    --rose-soft: #f6e1de;
    --plum: #6a4c93;
    --plum-soft: #ebe4f4;
    --ink: #13263a;
    --ink-soft: #3e4f62;
    --ink-mute: #5b6b7d;
    --paper-warm: #fbfaf7;
    --mist: #eef2f6;
    --line: #dce3ea;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 3px rgba(19, 38, 58, 0.08);
    --shadow: 0 8px 24px rgba(19, 38, 58, 0.1);
    --shadow-lg: 0 20px 48px rgba(19, 38, 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;
}
body {
    font-size: 18px;
    line-height: 1.6;
    background: var(--paper-warm);
}
a {
    color: var(--brand-mid);
}
a:hover {
    color: var(--brand);
}
h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.005em;
}
h1 {
    font-size: clamp(2rem, 4.4vw, 3rem);
}
.h3 {
    font-size: 1.25rem;
}
.eyebrow {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--brand-mid);
}
:focus-visible {
    outline: 3px solid var(--accent-deep);
    outline-offset: 3px;
}
code {
    font-size: 0.9em;
    background: var(--mist);
    padding: 0.05em 0.35em;
    border-radius: 4px;
}

/* Buttons: squarer, calmer */
.btn {
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 0.01em;
}
.btn:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}
.btn--accent {
    background: var(--accent);
    color: var(--brand-deep);
}
.btn--accent:hover {
    background: #c9cc4a;
    color: var(--brand-deep);
}
.btn--brand {
    background: var(--brand);
}
.btn--brand:hover {
    background: var(--brand-deep);
}
.btn--ghost {
    color: var(--brand);
    border-color: var(--brand);
}
.btn--ghost:hover {
    background: var(--brand);
    color: #fff;
}
.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Header */
.topbar {
    background: var(--brand-deep);
}
.topbar__note {
    font-weight: 600;
}
.topbar__nav a:hover {
    color: var(--accent);
}
.brand__logo {
    width: 120px;
}
.brand__text {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand);
}
.brand__ev {
    color: var(--ink-mute);
}
.nav__link {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--brand);
}
.nav__link::after {
    background: var(--accent) !important;
}
.mega__intro {
    background: var(--brand-pale) !important;
}
.mega__title {
    font-family: var(--font-head) !important;
}
@media (min-width: 1100px) {
    .brand__logo {
        width: 128px;
    }
    .nav__link {
        border-radius: 6px;
    }
}
@media (min-width: 1500px) {
    .brand__logo {
        width: 132px;
    }
}

/* Page head: flat navy band with a fine "occlusal arch" line motif */
.page-head {
    background: var(--brand);
    color: #fff;
}
.page-head::after {
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 460px;
    height: 460px;
    right: -140px;
    top: -260px;
    opacity: 1;
}
.page-head h1,
.page-head .lead {
    color: #fff;
}
.page-head .lead {
    color: #dbe7f1;
}
.page-head .eyebrow {
    color: var(--accent);
}
.page-head .breadcrumb,
.page-head .breadcrumb a {
    color: #dbe7f1;
}
.page-head .breadcrumb [aria-current] {
    color: #fff;
}

.callout--demo {
    background: var(--accent-pale);
    border-color: #dfe29a;
}

/* Footer */
.site-footer {
    background: var(--brand-deep);
}
.footer__brand img {
    width: 150px;
}

/* Home hero */
.hero-pro {
    background: radial-gradient(
        circle at 80% 20%,
        #0b4f82 0,
        var(--brand) 45%,
        var(--brand-deep) 100%
    );
    color: #fff;
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem);
    overflow: hidden;
}
.hero-pro__grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}
.hero-pro h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    margin-bottom: 0.4em;
}
.hero-pro .lead {
    color: #dbe7f1;
}
.hero-pro .eyebrow {
    color: var(--accent);
}
.hero-pro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.hero-pro .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}
.hero-pro .btn--ghost:hover {
    background: #fff;
    color: var(--brand);
}
.hero-pro__chart {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 1rem;
}
@media (min-width: 960px) {
    .hero-pro__grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 3rem;
    }
}

/* Quick links / teasers on home */
.quick {
    display: grid;
    gap: 1rem;
    margin-top: -2rem;
    position: relative;
}
.quick__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.3rem 1.4rem;
    text-decoration: none;
    color: var(--ink);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.quick__card:hover {
    border-color: var(--brand-mid);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}
.quick__card strong {
    font-family: var(--font-head);
    font-size: 1.2rem;
    display: block;
    color: var(--brand);
}
.quick__card .sub {
    display: block;
    color: var(--ink-soft);
    font-size: 0.95rem;
}
.quick__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--brand-pale);
    color: var(--brand);
}
@media (min-width: 900px) {
    .quick {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Lists of conferences / news on home */
.event-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.event-card {
    display: grid;
    grid-template-columns: 5.2rem 1fr;
    gap: 1.1rem;
    align-items: start;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
}
.event-card--symposium {
    border-left-color: var(--teal);
}
.event-card__date {
    text-align: center;
    font-weight: 700;
    color: var(--brand);
    line-height: 1.15;
}
.event-card__date .day {
    font-family: var(--font-head);
    font-size: 1.6rem;
    display: block;
}
.event-card__date .year {
    font-size: 0.85rem;
    color: var(--ink-mute);
}
.event-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}
.event-card h3 a {
    color: var(--ink);
    text-decoration: none;
}
.event-card h3 a:hover {
    color: var(--brand-mid);
    text-decoration: underline;
}
.event-card p {
    margin: 0 0 0.35rem;
    color: var(--ink-soft);
}
.event-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.news-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
}
.news-item time {
    color: var(--ink-mute);
    font-size: 0.9rem;
    font-weight: 600;
}
.news-item h3 {
    font-size: 1.25rem;
    margin: 0.2rem 0 0.4rem;
}
.news-item h3 a {
    color: var(--ink);
    text-decoration: none;
}
.news-item h3 a:hover {
    color: var(--brand-mid);
    text-decoration: underline;
}
.news-item p {
    margin: 0;
    color: var(--ink-soft);
}
@media (min-width: 900px) {
    .news-list--grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.two-col {
    display: grid;
    gap: 2.5rem;
}
@media (min-width: 1000px) {
    .two-col {
        grid-template-columns: 1.3fr 1fr;
    }
}

/* People (board, advisory board, experts) */
.people {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (min-width: 760px) {
    .people {
        grid-template-columns: repeat(2, 1fr);
    }
}
.pcard {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
}
.pcard__img {
    width: 96px;
    height: 128px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--mist);
}
.pcard__img--none {
    display: grid;
    place-items: center;
    color: var(--brand);
    font-family: var(--font-head);
    font-size: 1.6rem;
}
.pcard__role {
    color: var(--accent-deep);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.2rem;
}
.pcard__name {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
    color: var(--ink);
}
.pcard__meta {
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin: 0 0 0.3rem;
}
.pcard__desc {
    font-size: 0.95rem;
    margin: 0.3rem 0 0;
}

/* Finder (specialists, experts, centres) */
.finder {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    margin-bottom: 1.2rem;
}
.finder__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
}
.finder__form > div {
    flex: 1 1 260px;
}
.finder__count {
    font-weight: 700;
    color: var(--brand);
    margin: 0.75rem 0 0;
}
.results {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}
@media (min-width: 760px) {
    .results {
        grid-template-columns: repeat(2, 1fr);
    }
}
.result {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
}
.result__name {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 0.2rem;
}
.result__org {
    color: var(--ink-soft);
    margin: 0 0 0.3rem;
}
.result__addr {
    margin: 0 0 0.3rem;
}
.result__meta {
    font-size: 0.95rem;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1rem;
}
.result mark,
.search-results mark {
    background: var(--accent-soft);
    color: inherit;
}

/* Forms: membership stepper */
.form {
    display: grid;
    gap: 1rem;
}
.form label,
.form__label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.3rem;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="number"],
.form input[type="password"],
.form input[type="search"],
.form input[type="file"],
.form select,
.form textarea {
    width: 100%;
    font: inherit;
    padding: 0.65rem 0.8rem;
    border: 1.5px solid #8a99a8;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}
.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
    outline: 3px solid var(--accent-deep);
    outline-offset: 1px;
    border-color: var(--brand);
}
.form [aria-invalid="true"] {
    border-color: var(--rose);
    background: #fffafa;
}
.form__row {
    display: grid;
    gap: 1rem;
}
@media (min-width: 700px) {
    .form__row {
        grid-template-columns: 1fr 1fr;
    }
    .form__row--3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .form__row--plz {
        grid-template-columns: 7rem 1fr;
    }
}
.form__check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.form__check input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    flex: none;
    accent-color: var(--brand);
}
.form__check label {
    font-weight: 400;
    margin: 0;
}
.req {
    color: var(--rose);
}
.errors {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}
.form--steps .step {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 1.2rem 1.2rem 1.4rem;
    margin: 0;
    display: grid;
    gap: 1rem;
    min-width: 0;
}
.form--steps .step legend {
    /* floated, so the legend sits inside the card instead of cutting through its border */
    float: left;
    width: 100%;
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 600;
    padding: 0;
    color: var(--brand);
}
.step__nr {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-deep);
}
.stepper {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    counter-reset: none;
}
.stepper li {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-mute);
    border-top: 4px solid var(--line);
    padding-top: 0.45rem;
}
.stepper li span {
    display: inline-grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--mist);
    margin-right: 0.2rem;
    font-size: 0.8rem;
}
.stepper li.is-current {
    color: var(--brand);
    border-color: var(--brand);
}
.stepper li.is-current span {
    background: var(--brand);
    color: #fff;
}
.stepper li.is-done {
    color: var(--teal-deep);
    border-color: var(--teal);
}
.stepper li.is-done span {
    background: var(--teal);
    color: #fff;
}
@media (max-width: 560px) {
    .stepper li {
        font-size: 0;
    }
    .stepper li span {
        font-size: 0.8rem;
    }
}
.stepper__actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.choice-grid {
    display: grid;
    gap: 0.75rem;
}
@media (min-width: 800px) {
    .choice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.choice {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 0 !important;
}
.choice input {
    position: absolute;
    opacity: 0;
    inset: 0;
}
.choice__body {
    display: grid;
    gap: 0.25rem;
    height: 100%;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    font-weight: 400;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.choice__fee {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--brand);
    font-weight: 600;
}
.choice input:checked + .choice__body {
    border-color: var(--brand);
    background: var(--brand-pale);
    box-shadow: inset 0 0 0 1px var(--brand);
}
.choice input:focus-visible + .choice__body {
    outline: 3px solid var(--accent-deep);
    outline-offset: 2px;
}
.fee-box {
    background: var(--brand-pale);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    margin: 0;
    font-size: 1.1rem;
}
.sepa {
    border-top: 1px dashed var(--line);
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    display: grid;
    gap: 1rem;
}
.sepa h3 {
    font-size: 1.15rem;
    margin: 0;
}
.mandate {
    background: var(--mist);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
}
.mandate p {
    margin: 0 0 0.6rem;
}
[data-iban-status].is-ok {
    color: var(--teal-deep);
    font-weight: 700;
}
[data-iban-status].is-bad {
    color: var(--rose);
    font-weight: 700;
}
.summary {
    display: grid;
    gap: 0;
    margin: 0 0 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
}
.summary > div {
    display: grid;
    grid-template-columns: minmax(8rem, 35%) 1fr;
    gap: 1rem;
    padding: 0.55rem 0.9rem;
    border-bottom: 1px solid var(--line);
}
.summary > div:last-child {
    border-bottom: 0;
}
.summary dt {
    font-weight: 700;
    color: var(--ink-soft);
}
.summary dd {
    margin: 0;
}
.summary--compact > div {
    grid-template-columns: 9rem 1fr;
    padding: 0.4rem 0;
    border: 0;
}
.summary--compact {
    border: 0;
    background: none;
}
.steps-list li {
    margin-bottom: 0.4rem;
}

/* Member area */
.login-card {
    max-width: 520px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem;
    margin-bottom: 2rem;
}
.login-card h2 {
    margin-top: 0;
}
.area-list,
.plain {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}
.area-list li {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.area-list svg {
    color: var(--brand-mid);
}
.dash {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}
@media (min-width: 760px) {
    .dash {
        grid-template-columns: repeat(2, 1fr);
    }
}
.dash__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
}
.dash__card h2 {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0;
    color: var(--brand);
}
.tile-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 0.75rem;
}
@media (min-width: 700px) {
    .tile-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
.tile-list a {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    color: var(--brand);
}
.tile-list a:hover {
    border-color: var(--brand-mid);
    background: var(--brand-pale);
}
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    margin-bottom: 2rem;
}
.contact-card p {
    margin: 0 0 0.6rem;
}

/* ---------- Interactive tooth chart (FDI) ---------- */
.tchart {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}
@media (min-width: 980px) {
    .tchart:not(.tchart--compact) {
        grid-template-columns: 1.25fr 1fr;
    }
}
.tchart__figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
}
.tchart--compact .tchart__figure {
    background: transparent;
    border: 0;
    padding: 0;
}
.tchart__svg {
    width: 100%;
    height: auto;
    overflow: visible;
}
.tchart__gum {
    fill: none;
    stroke: #f4d9d6;
    stroke-width: 58;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tchart__mid {
    stroke: var(--line);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
}
.tchart__q,
.tchart__side,
.tchart__jawlabel {
    font-family: var(--font-body);
    fill: var(--ink-mute);
    font-weight: 700;
}
.tchart__q {
    font-size: 15px;
    fill: var(--brand-mid);
}
.tchart__side {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.tchart__side--end {
    text-anchor: end;
}
.tchart__jawlabel {
    text-anchor: middle;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.tooth {
    cursor: pointer;
    outline: none;
}
.tooth__shape {
    fill: #fdfcf8;
    stroke: #9aa7b4;
    stroke-width: 1.6;
    transition:
        fill 0.2s,
        stroke 0.2s,
        opacity 0.2s,
        transform 0.2s;
}
.tooth__fissure {
    stroke: #cfd6dd;
    stroke-width: 1.4;
    stroke-linecap: round;
}
.tooth--front .tooth__fissure,
.tooth--canine .tooth__fissure {
    display: none;
}
.tooth__nr {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    fill: var(--ink-soft);
    text-anchor: middle;
    pointer-events: none;
}
.tooth:hover .tooth__shape {
    fill: var(--brand-soft);
    stroke: var(--brand-mid);
}
.tooth:focus-visible .tooth__shape {
    stroke: var(--accent-deep);
    stroke-width: 3.5;
}
.tooth:focus-visible .tooth__nr {
    fill: var(--accent-deep);
}
.tooth.is-selected .tooth__shape {
    fill: var(--brand);
    stroke: var(--brand-deep);
}
.tooth.is-selected .tooth__fissure {
    stroke: #6f94b4;
}
.tooth.is-selected .tooth__nr {
    fill: var(--brand);
    font-size: 15px;
}
.tooth.is-missing .tooth__shape {
    fill: transparent;
    stroke: var(--rose);
    stroke-dasharray: 4 4;
    stroke-width: 2.2;
}
.tooth.is-missing .tooth__fissure {
    display: none;
}
.tooth.is-abutment .tooth__shape {
    fill: var(--accent-soft);
    stroke: var(--accent-deep);
    stroke-width: 2.6;
}
/* On the dark home hero */
.hero-pro .tchart__gum {
    stroke: rgba(255, 255, 255, 0.1);
}
.hero-pro .tchart__mid {
    stroke: rgba(255, 255, 255, 0.2);
}
.hero-pro .tchart__q,
.hero-pro .tchart__side,
.hero-pro .tchart__jawlabel,
.hero-pro .tooth__nr {
    fill: #c9d9e7;
}
.hero-pro .tooth__shape {
    stroke: rgba(255, 255, 255, 0.55);
    fill: rgba(255, 255, 255, 0.92);
}
.hero-pro .tooth:hover .tooth__shape {
    fill: var(--accent);
    stroke: #fff;
}
.hero-pro .tooth:focus-visible .tooth__shape {
    stroke: var(--accent);
}
.tchart__caption {
    text-align: center;
    font-size: 0.9rem;
    color: #c9d9e7;
    margin-top: 0.4rem;
}
.tchart__panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.4rem;
}
.tchart__help {
    font-size: 0.95rem;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.8rem;
}
.tchart__fdi {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--accent-deep);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}
.tchart__fdi span {
    display: inline-grid;
    place-items: center;
    min-width: 3rem;
    height: 3rem;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.5rem;
    letter-spacing: 0;
}
.tchart__info h2 {
    margin-bottom: 0.2rem;
}
.tchart__info h3 {
    margin: 1rem 0 0.4rem;
    font-size: 1.05rem;
}
.tchart__list {
    margin: 0 0 0.6rem;
    padding-left: 1.2rem;
}
.tchart__list li {
    margin-bottom: 0.25rem;
}
.tchart__actions {
    margin: 1rem 0 0;
}
.tchart__actions [aria-pressed="true"] {
    background: var(--rose-soft);
    border-color: var(--rose);
    color: #8a2c23;
}
.tchart__disclaimer {
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 0.8rem;
}
.tchart-notes {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}
@media (min-width: 900px) {
    .tchart-notes {
        grid-template-columns: 1fr 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .tooth__shape {
        transition: none;
    }
}

/* Legacy content tables (Beiträge, Preisträger) */
.prose table {
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0 1.4rem;
    font-size: 0.97rem;
    display: block;
    overflow-x: auto;
}
.prose th,
.prose td {
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0.7rem;
    text-align: left;
    vertical-align: top;
}
.prose img {
    border-radius: 8px;
    height: auto;
}
.prose figure {
    margin: 1.2rem 0;
}

/* Focus on dark backgrounds: lime outline (5.3:1 against navy) */
.topbar :focus-visible,
.page-head :focus-visible,
.hero-pro :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--accent);
}

/* CTA band and footer brand in DGPro colours */
.cta-band {
    background: var(--brand-pale);
    border: 1px solid var(--brand-soft);
    border-left: 6px solid var(--accent);
    box-shadow: none;
}
.cta-band::before,
.cta-band::after {
    display: none;
}
.footer__brand img {
    background: #fff;
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
}
.home-recent {
    margin: 1.5rem 0 0.75rem;
    color: var(--ink-soft);
}
.callout--demo strong {
    color: var(--accent-deep);
}
.chip[aria-current="true"] {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* Preview marker: the sticky top bar carries the note (short version on small screens) */
.topbar__note-short {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}
@media (max-width: 1099px) {
    .topbar__nav {
        display: none;
    }
}
@media (min-width: 1100px) {
    .topbar__note-short {
        display: none;
    }
}

.plain li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}
.plain li svg {
    flex: none;
    margin-top: 0.2em;
    color: var(--brand-mid);
}

/* /video: teaser player and the "Video folgt" state */
.video-stage {
    max-width: 960px;
    margin: 0 auto 2.5rem;
}
.video-player {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--brand-deep);
    box-shadow: var(--shadow-lg);
}
.video-player video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: var(--brand-deep);
}
.video-pending {
    aspect-ratio: 16 / 9;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 0.4rem;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    color: #fff;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(181, 184, 53, 0.22),
            transparent 45%
        ),
        linear-gradient(160deg, var(--brand-mid), var(--brand-deep));
    box-shadow: var(--shadow-lg);
}
.video-pending h2 {
    color: #fff;
    margin: 0.4rem 0 0;
}
.video-pending p {
    max-width: 34rem;
    margin: 0.3rem 0;
    color: rgba(255, 255, 255, 0.9);
}
.video-pending__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.video-pending .btn {
    margin-top: 0.6rem;
}
@media (max-width: 600px) {
    .video-pending {
        aspect-ratio: auto;
        min-height: 22rem;
    }
}
.video-try__title {
    text-align: center;
}

/* Small draft note at the very bottom of the footer */
.footer__draft {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}

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