/* ==========================================================================
   DGKiZ Redesign Demo – Design System
   Berlin Bird Studios · mobile-first · no framework
   ========================================================================== */
:root {
    --sun: #f6a800;
    --sun-deep: #d98e00;
    --sun-soft: #fff1d1;
    --sun-pale: #fff8e8;
    --sky: #3fa3e8;
    --sky-deep: #1c7ac2;
    --sky-soft: #ddf0fc;
    --sky-pale: #f0f8fe;
    --grass: #7dbb3c;
    --grass-deep: #5a9a22;
    --grass-soft: #e6f3d7;
    --coral: #f26b5b;
    --coral-soft: #fde4e0;
    --berry: #8e5bd6;
    --berry-soft: #efe6fb;
    --ink: #1e2a44;
    --ink-soft: #4b5670;
    --ink-mute: #7b869e;
    --cream: #fffbf4;
    --paper: #ffffff;
    --mist: #f3f5f9;
    --line: #e3e8f0;
    --radius: 18px;
    --radius-sm: 10px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(30, 42, 68, 0.06);
    --shadow: 0 10px 30px rgba(30, 42, 68, 0.1);
    --shadow-lg: 0 24px 60px rgba(30, 42, 68, 0.16);
    --font-body:
        "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Fredoka", "Nunito", 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: 84px;
}
[hidden] {
    display: none !important;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
}
img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--sky-deep);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
a:hover {
    color: var(--sun-deep);
}
:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
    border-radius: 4px;
}
h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.5em;
    color: var(--ink);
    letter-spacing: -0.01em;
    text-wrap: balance;
}
h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}
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(--sun-deep);
    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-head);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    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--sun {
    background: var(--sun);
    color: var(--ink);
}
.btn--sun:hover {
    background: #ffb61a;
    color: var(--ink);
}
.btn--sky {
    background: var(--sky);
    color: #fff;
}
.btn--sky:hover {
    background: var(--sky-deep);
    color: #fff;
}
.btn--ink {
    background: var(--ink);
    color: #fff;
}
.btn--ink:hover {
    color: #fff;
    background: #2b3a5c;
}
.btn--ghost {
    background: transparent;
    border-color: currentColor;
    color: var(--ink);
}
.btn--ghost:hover {
    background: var(--ink);
    color: #fff;
}
.btn--white {
    background: #fff;
    color: var(--ink);
}
.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(--sun-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(--ink);
    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: var(--sun);
}
.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: 66px;
    height: auto;
    transition: width 0.3s;
}
.brand__text {
    display: none;
    flex-direction: column;
    font-family: var(--font-head);
    line-height: 1.1;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}
.brand__ev {
    font-size: 0.7rem;
    color: var(--ink-mute);
    font-weight: 400;
}
.header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.header__cta span {
    display: none;
}
.header__cta {
    padding: 0.6rem 0.8rem;
}
.burger {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--mist);
    border-radius: 50%;
    display: grid;
    place-items: 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-head);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--ink);
    text-decoration: none;
    padding: 0.9rem 0;
}
.nav__item--highlight .nav__link {
    color: var(--sun-deep);
}
.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(--sun-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(--sun-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(--sun-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: 70px;
    }
    .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.95rem;
        padding: 0.55rem 0.65rem;
        border-radius: 999px;
        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(--sun);
        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(--sun-soft);
        color: var(--ink);
    }
    .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: linear-gradient(160deg, var(--sun-pale), var(--sky-pale));
        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 {
        padding: 0.7rem 1.2rem;
    }
    .nav__link {
        padding: 0.6rem 0.75rem;
    }
}
@media (min-width: 1500px) {
    .brand__text {
        display: flex;
    }
    .brand__logo {
        width: 74px;
    }
    .nav__link {
        font-size: 1rem;
        padding: 0.6rem 0.85rem;
    }
    .header__inner {
        gap: 1rem;
    }
}

/* Page head + body */
.page-head {
    background: linear-gradient(180deg, var(--sky-pale), var(--cream));
    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(246, 168, 0, 0.18),
        transparent 70%
    );
    pointer-events: none;
}
.page-head--eltern {
    background: linear-gradient(180deg, var(--sun-pale), var(--cream));
}
.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(--sun-deep);
    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-head);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.2rem 0.75rem;
    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) + 20px);
        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(--sun-pale);
    color: var(--ink);
}
.subnav li.is-active > a {
    background: var(--sun);
    color: var(--ink);
}
.subnav ul ul a {
    font-weight: 500;
    font-size: 0.9rem;
}
.aside-box {
    margin-top: 1.2rem;
    background: linear-gradient(160deg, var(--sun-pale), #fff);
    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(--sun-deep);
}
.prose img {
    border-radius: var(--radius-sm);
    margin: 1rem 0;
}
.prose img[src*="arrow-"] {
    display: inline;
    margin: 0 0.2rem;
    vertical-align: middle;
    border-radius: 0;
}
.prose a[href$=".pdf"],
.prose a[href$=".docx"] {
    font-weight: 700;
}
.prose a[href$=".pdf"]::before {
    content: "PDF";
    font-size: 0.65rem;
    font-weight: 800;
    background: var(--coral);
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    margin-right: 0.35rem;
    vertical-align: middle;
    letter-spacing: 0.05em;
}
.prose a[href$=".docx"]::before {
    content: "DOCX";
    font-size: 0.65rem;
    font-weight: 800;
    background: var(--sky-deep);
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    margin-right: 0.35rem;
    vertical-align: middle;
}
.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(--sun);
    background: var(--sun-pale);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose .dgkiz_gruen {
    color: var(--grass-deep);
}
.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(--sky-soft);
    color: var(--ink);
}
.callout--sun {
    background: var(--sun-soft);
}
.callout--warn {
    background: var(--coral-soft);
}
.callout--grass {
    background: var(--grass-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(--sun-soft);
    color: var(--sun-deep);
}
.tag--sky {
    background: var(--sky-soft);
    color: var(--sky-deep);
}
.tag--grass {
    background: var(--grass-soft);
    color: var(--grass-deep);
}
.tag--coral {
    background: var(--coral-soft);
    color: #c6453a;
}
.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(--sun);
    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(--sun-soft);
    color: var(--sun-deep);
}
.card--sky .card__icon {
    background: var(--sky-soft);
    color: var(--sky-deep);
}
.card--grass .card__icon {
    background: var(--grass-soft);
    color: var(--grass-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(--sky-deep);
}
.card__link::after {
    content: "";
    position: absolute;
    inset: 0;
}
.card:hover .card__link {
    color: var(--sun-deep);
}
.card--cta {
    background: linear-gradient(150deg, var(--ink), #2c3d66);
    color: #fff;
    border: 0;
}
.card--cta h3,
.card--cta p {
    color: #fff;
}
.card--cta .card__link {
    color: var(--sun);
}

/* 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: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--mist);
    border: 4px solid var(--sun-pale);
}
.person__role {
    color: var(--grass-deep);
    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(--sky-pale), #fff);
}
.section--sun {
    background: linear-gradient(180deg, var(--sun-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;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #bfe3fb 0%, #e3f3fd 55%, #f4fafe 100%);
    min-height: 560px;
}
.hero__clouds {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.cloud {
    position: absolute;
    background: #fff;
    border-radius: 999px;
    opacity: 0.85;
    filter: blur(0.5px);
    animation: drift linear infinite;
}
.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 50%;
}
.cloud--1 {
    width: 180px;
    height: 56px;
    top: 12%;
    left: -200px;
    animation-duration: 95s;
}
.cloud--1::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 30px;
}
.cloud--1::after {
    width: 60px;
    height: 60px;
    top: -28px;
    left: 90px;
}
.cloud--2 {
    width: 120px;
    height: 40px;
    top: 32%;
    left: -140px;
    animation-duration: 70s;
    animation-delay: -30s;
    opacity: 0.7;
}
.cloud--2::before {
    width: 56px;
    height: 56px;
    top: -28px;
    left: 20px;
}
.cloud--2::after {
    width: 44px;
    height: 44px;
    top: -20px;
    left: 62px;
}
.cloud--3 {
    width: 240px;
    height: 70px;
    top: 6%;
    left: -260px;
    animation-duration: 130s;
    animation-delay: -80s;
    opacity: 0.6;
}
.cloud--3::before {
    width: 100px;
    height: 100px;
    top: -50px;
    left: 40px;
}
.cloud--3::after {
    width: 80px;
    height: 80px;
    top: -36px;
    left: 130px;
}
@keyframes drift {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(100vw + 300px));
    }
}
.hero__sun {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        #ffd86b 0%,
        #f6a800 55%,
        rgba(246, 168, 0, 0) 72%
    );
    top: -40px;
    right: 8%;
    opacity: 0.9;
    animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}
.hero__inner {
    position: relative;
    display: grid;
    gap: 1.5rem;
    padding: 2.5rem 0 11rem;
}
.hero__text h1 {
    font-size: clamp(2.2rem, 6vw, 3.9rem);
    margin-bottom: 0.8rem;
}
.hero__text h1 em {
    font-style: normal;
    color: var(--sun-deep);
    position: relative;
    white-space: nowrap;
}
.hero__text h1 em::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 0.28em;
    background: var(--sun);
    opacity: 0.35;
    border-radius: 4px;
    z-index: -1;
}
.hero__text .lead {
    font-size: 1.15rem;
    margin-bottom: 1.4rem;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}
.hero__stage {
    position: relative;
    height: 300px;
}
.hero__slider {
    position: absolute;
    inset: 0;
}
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
    pointer-events: none;
}
.slide.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.slide img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(30, 42, 68, 0.22));
}
.slide.is-active img {
    animation: float 5s ease-in-out infinite;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
.hero__dots {
    position: absolute;
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.hero__dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(30, 42, 68, 0.25);
    cursor: pointer;
    padding: 0;
    transition:
        transform 0.2s,
        background 0.2s;
}
.hero__dots button[aria-current="true"] {
    background: var(--sun-deep);
    transform: scale(1.3);
}
.hero__ctrl {
    position: absolute;
    top: 40%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition:
        background 0.2s,
        transform 0.2s;
}
.hero__ctrl:hover {
    background: var(--sun);
    transform: scale(1.08);
}
.hero__ctrl--prev {
    left: -6px;
}
.hero__ctrl--prev svg {
    transform: rotate(90deg);
}
.hero__ctrl--next {
    right: -6px;
}
.hero__ctrl--next svg {
    transform: rotate(-90deg);
}
.hero__pause {
    position: absolute;
    right: 0;
    bottom: -40px;
}
.hero__bubble {
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    border-radius: 18px 18px 18px 4px;
    padding: 0.6rem 0.9rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    max-width: 200px;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.5s 0.4s,
        transform 0.5s 0.4s;
    z-index: 3;
}
.slide.is-active .hero__bubble {
    opacity: 1;
    transform: none;
}
.hero__mascot {
    position: absolute;
    right: -6px;
    bottom: -14px;
    z-index: 3;
}
.hero__mascot .mascot {
    width: 84px;
    height: auto;
}
@media (max-width: 640px) {
    .hero__mascot {
        display: none;
    }
}
@media (min-width: 900px) {
    .hero__mascot .mascot {
        width: 120px;
    }
}
.hero__grass {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
}
.hero__grass svg {
    width: 100%;
    height: 100%;
    display: block;
}
.audience {
    position: relative;
    margin-top: -8rem;
    z-index: 5;
    display: grid;
    gap: 1rem;
}
.audience__card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--ink);
    border: 2px solid transparent;
    transition:
        transform 0.25s var(--ease),
        border-color 0.25s,
        box-shadow 0.25s;
}
.audience__card:hover {
    transform: translateY(-5px);
    border-color: var(--sun);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}
.audience__card .ico {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
}
.audience__card--eltern .ico {
    background: var(--sun-soft);
    color: var(--sun-deep);
}
.audience__card--zahnarzt .ico {
    background: var(--sky-soft);
    color: var(--sky-deep);
}
.audience__card--team .ico {
    background: var(--grass-soft);
    color: var(--grass-deep);
}
.audience__card strong {
    font-family: var(--font-head);
    font-size: 1.15rem;
    display: block;
    font-weight: 600;
}
.audience__card span.sub {
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.audience__card .arr {
    color: var(--ink-mute);
    transition:
        transform 0.25s,
        color 0.25s;
}
.audience__card:hover .arr {
    transform: translateX(4px);
    color: var(--sun-deep);
}
@media (min-width: 900px) {
    .hero__inner {
        grid-template-columns: 1.1fr 1fr;
        align-items: center;
        padding: 3.5rem 0 12rem;
    }
    .hero__stage {
        height: 420px;
    }
    .audience {
        grid-template-columns: repeat(3, 1fr);
        margin-top: -9rem;
    }
    .audience__card {
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
        padding: 1.6rem;
    }
    .audience__card .arr {
        grid-column: 2;
        justify-self: start;
    }
}

/* Stats */
.stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
.stat {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem;
    text-align: center;
    border: 1px solid var(--line);
}
.stat__n {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--sun-deep);
    line-height: 1;
}
.stat__n small {
    font-size: 0.5em;
}
.stat__l {
    margin: 0.4rem 0 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
}
@media (min-width: 800px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 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(--sky-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(--sun-soft), var(--sky-soft));
    color: var(--sun-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(--sky-deep);
    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: #c9d2df;
    background: #fdfdfe;
}
.event--past {
    opacity: 0.68;
}
.event--kurs {
    --event-accent: var(--sun);
}
.event--webinar {
    --event-accent: var(--sky);
}
.event--tagung {
    --event-accent: var(--coral);
}
.event--zfkiz {
    --event-accent: var(--grass);
}
.event--team {
    --event-accent: var(--berry);
}
.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__kind {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.7rem;
    margin: 0 0 0.25rem;
    font-size: 0.74rem;
    line-height: 1.4;
    color: var(--ink-soft);
}
.event__type {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}
.event__nr {
    color: var(--ink-mute);
    font-weight: 600;
}
.event__note {
    color: #b2382d;
    font-weight: 700;
}
.event__body h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0 0 0.35rem;
}
.event__body h3 a {
    color: var(--ink);
    text-decoration: none;
}
.event__body h3 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(--sky-deep);
    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(--sun);
    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;
}
/* Calmer chips for the event calendar only */
.filterbar--calendar {
    gap: 0.4rem;
    color: var(--ink-mute);
}
.filterbar--calendar .chip {
    border-width: 1px;
    padding: 0.35rem 0.8rem;
    font-size: 0.86rem;
    font-weight: 600;
    gap: 0.45rem;
    transition:
        border-color 0.2s,
        background-color 0.2s,
        color 0.2s;
}
.filterbar--calendar .chip:hover {
    border-color: var(--ink-mute);
    background: var(--mist);
    color: var(--ink);
}
.filterbar--calendar .chip[aria-pressed="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.filterbar--calendar .chip .dot {
    width: 8px;
    height: 8px;
}
.filterbar--calendar .chip[aria-pressed="true"] .dot {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.dot--kurs {
    background: var(--sun);
}
.dot--webinar {
    background: var(--sky);
}
.dot--zfkiz {
    background: var(--grass);
}
.dot--tagung {
    background: var(--coral);
}
.dot--team {
    background: var(--berry);
}
.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__body h3 {
        font-size: 1rem;
    }
}
.course-table {
    width: 100%;
    border-collapse: collapse;
}
.course-table th,
.course-table td {
    padding: 0.7rem 0.6rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
}
.course-table th {
    font-family: var(--font-head);
    font-weight: 600;
    background: var(--mist);
}
.course-table .nr {
    font-weight: 800;
    color: var(--sun-deep);
    white-space: nowrap;
}

/* 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(--sky);
    box-shadow: 0 0 0 4px var(--sky-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;
}

/* Behandlersuche */
.finder {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.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__hint {
    font-size: 0.85rem;
    color: var(--ink-mute);
    margin: 0.5rem 0 0;
}
.finder__count {
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}
.finder__results {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.doc {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.doc__name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.08rem;
    margin: 0;
}
.doc__addr {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
}
.doc__tel {
    font-size: 0.92rem;
}
.doc__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.3rem;
}
.doc__actions {
    margin-top: 0.4rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.doc__actions a {
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
}
.finder__more {
    text-align: center;
    margin-top: 1.2rem;
}
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.9rem;
    margin: 1rem 0;
}

/* Timer (Zahnputz) */
.timer {
    background: linear-gradient(160deg, var(--sky-soft), var(--sun-pale));
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
}
.timer__ring {
    position: relative;
    width: min(280px, 70vw);
    margin: 0 auto 1.2rem;
    aspect-ratio: 1;
}
.timer__ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.timer__ring circle {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
}
.timer__ring .bg {
    stroke: rgba(255, 255, 255, 0.8);
}
.timer__ring .fg {
    stroke: var(--sun);
    transition: stroke-dashoffset 1s linear;
}
.timer__center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}
.timer__time {
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}
.timer__zone {
    font-weight: 800;
    font-size: 1.05rem;
    margin: 1rem 0 0;
    min-height: 1.6em;
    color: var(--sky-deep);
}
.timer__stage .timer__ring {
    margin: 0;
}
.timer__stage {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 2.5rem;
    margin: 0 auto;
}
.timer__steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
    margin: 1rem auto 0;
    padding: 0;
    max-width: 620px;
}
.timer__steps li {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    padding: 0.45rem 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-mute);
    transition:
        background 0.3s,
        color 0.3s;
}
.timer__steps li.is-on {
    background: var(--sun);
    color: var(--ink);
}
.timer__steps li.is-past {
    color: var(--grass-deep);
}
.timer__steps li.is-past::before {
    content: "✓ ";
}
@media (max-width: 640px) {
    .timer {
        padding: 1.25rem 1rem;
    }
    .timer__steps {
        grid-template-columns: repeat(3, 1fr);
    }
}
.timer__sound {
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
}

/* Milli as brushing coach */
.coach {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    max-width: 520px;
    margin: 0 auto 1.25rem;
    text-align: left;
}
.coach__mascot {
    flex: none;
    position: relative;
}
.coach__bubble {
    position: relative;
    flex: 1 1 auto;
    background: #fff;
    border-radius: 16px;
    padding: 0.75rem 1rem;
    margin: 0;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    min-height: 2.6em;
    display: flex;
    align-items: center;
}
.coach__bubble::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 3px;
}
.coach__bubble.is-switch {
    animation: coach-pop 0.5s var(--ease);
}
@keyframes coach-pop {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.04);
    }
    100% {
        transform: scale(1);
    }
}
.timer.is-running .mascot__brush {
    transform-origin: 84px 92px;
    animation: brushing 0.7s ease-in-out infinite;
}
@keyframes brushing {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-6px, 3px) rotate(-6deg);
    }
}
.timer.is-done .mascot__brush {
    display: none;
}
.timer.is-done .mascot__sparkle {
    animation: twinkle 1.2s ease-in-out infinite;
}
.timer.is-done .coach__bubble {
    background: var(--grass-soft);
}
.timer.is-done .coach__bubble::before {
    background: var(--grass-soft);
}
.timer.is-done .timer__ring .fg {
    stroke: var(--grass);
}
.coach__cheer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.coach__cheer span {
    position: absolute;
    left: 10%;
    top: 30%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sun);
    opacity: 0;
}
.timer.is-done .coach__cheer span {
    animation: cheer 1.6s ease-out infinite;
}
.coach__cheer span:nth-child(2) {
    left: 85%;
    top: 20%;
    background: var(--sky);
    animation-delay: 0.3s;
}
.coach__cheer span:nth-child(3) {
    left: 50%;
    top: 0;
    background: var(--grass);
    animation-delay: 0.6s;
}
.coach__cheer span:nth-child(4) {
    left: 92%;
    top: 55%;
    background: var(--coral);
    animation-delay: 0.9s;
}
@keyframes cheer {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.6);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-34px) scale(1);
    }
}

/* Schematic dentition: three arcs per jaw – outer (A), chewing band (K), inner (I) */
.teeth {
    width: min(220px, 60vw);
    margin: 0;
}
.teeth svg {
    width: 100%;
    height: auto;
    display: block;
}
.teeth__part {
    fill: none;
    stroke: rgba(30, 42, 68, 0.14);
    stroke-width: 6;
    stroke-linecap: round;
    transition:
        stroke 0.3s,
        stroke-width 0.3s;
}
.teeth__part--k {
    stroke: #fff;
    stroke-width: 11;
    stroke-linecap: butt;
    stroke-dasharray: 11 3;
}
.teeth__part.is-on {
    stroke: var(--sun);
}
.teeth__part--k.is-on {
    stroke-width: 12;
}
.teeth__label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    fill: var(--ink-mute);
    text-anchor: middle;
}
.timer__done {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--grass-deep);
}
.timer__actions {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

/* Fluorid tool */
.fluor {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.fluor__ages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}
.fluor__ages button {
    border: 2px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 0.8rem 0.5rem;
    font-family: var(--font-head);
    font-weight: 600;
    cursor: pointer;
    color: var(--ink-soft);
    transition: all 0.2s;
    font-size: 0.95rem;
}
.fluor__ages button:hover {
    border-color: var(--sun);
}
.fluor__ages button[aria-pressed="true"] {
    background: var(--sun);
    border-color: var(--sun);
    color: var(--ink);
}
.fluor__result {
    display: grid;
    gap: 1rem;
    align-items: center;
}
.fluor__result img {
    border-radius: var(--radius);
}
.fluor__big {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.3rem;
}
.fluor__ppm {
    display: inline-block;
    background: var(--sky-soft);
    color: var(--sky-deep);
    font-weight: 800;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
}
@media (min-width: 640px) {
    .fluor__result {
        grid-template-columns: 200px 1fr;
    }
}

/* Timeline (Gelbes Heft) */
.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(--sun), var(--sky));
    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(--sun);
    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(--sun-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;
}

/* Logos strip */
.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}
.logos img {
    height: 54px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.75;
    transition: all 0.3s;
}
.logos a:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}
.logos .logo-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.2rem;
    display: grid;
    place-items: center;
}

/* 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(--sun-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(--grass-deep);
    margin-top: 0.25rem;
    background: var(--grass-soft);
    border-radius: 50%;
    padding: 3px;
    width: 22px;
    height: 22px;
}

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--sun), #ffc94d);
    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 p {
    margin: 0;
    color: var(--ink);
}
.cta-band .mascot {
    position: absolute;
    right: 1rem;
    bottom: -20px;
    opacity: 0.25;
    width: 180px;
    height: auto;
}
@media (min-width: 800px) {
    .cta-band {
        grid-template-columns: 1fr auto;
        padding: 2.5rem 3rem;
    }
}

/* Footer */
.site-footer {
    position: relative;
    background: var(--ink);
    color: #c9d2e3;
    margin-top: 4rem;
    padding-bottom: 2rem;
    font-size: 0.95rem;
}
.footer__grass {
    height: 60px;
    background: var(--cream);
    clip-path: ellipse(60% 100% at 50% 0%);
}
.site-footer a {
    color: #fff;
}
.site-footer a:hover {
    color: var(--sun);
}
.footer__top {
    display: grid;
    gap: 2.5rem;
    padding: 2rem 0;
}
.footer__brand img {
    width: 90px;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 1rem;
}
.footer__brand p {
    margin: 0 0 0.8rem;
}
.footer__hours {
    font-size: 0.85rem;
    color: #9fb0cc;
}
.footer__social {
    display: flex;
    gap: 0.6rem;
}
.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
}
.footer__social a:hover {
    background: var(--sun);
    color: var(--ink);
}
.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: #c9d2e3;
    font-size: 0.9rem;
}
.footer__member {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.5rem 0;
}
.footer__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.footer__logo {
    display: grid;
    place-items: center;
}
.footer__logos img {
    height: 44px;
    width: auto;
    min-width: 60px;
    background: #fff;
    border-radius: 8px;
    padding: 4px 8px;
    object-fit: contain;
}
.footer__logo--text {
    background: #fff;
    color: var(--ink) !important;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    font-family: var(--font-head);
    font-weight: 600;
    text-decoration: none;
    height: 44px;
}
.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(--sun);
    color: var(--ink);
    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: var(--ink);
    background: #ffb61a;
}
@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(7, 1fr);
    }
}
.demo-badge {
    position: fixed;
    left: 12px;
    bottom: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 12px 4px 4px;
    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: 4px;
    }
}

/* Mascot animations */
.mascot {
    overflow: visible;
}
.mascot__body {
    transform-origin: 60px 120px;
    animation: bob 4s ease-in-out infinite;
}
.mascot__eye {
    transform-origin: center;
    animation: blink 5s infinite;
}
.mascot__sparkle {
    animation: twinkle 2.4s ease-in-out infinite;
    transform-origin: 108px 26px;
}
.mascot--wink .mascot__eye:first-child {
    animation: none;
}
@keyframes bob {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-4px) rotate(-2deg);
    }
}
@keyframes blink {
    0%,
    92%,
    100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}
@keyframes twinkle {
    0%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}
.mascot--mini .mascot__body {
    animation: none;
}

/* 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(--sun-soft);
    color: var(--ink);
    border-radius: 3px;
    padding: 0 0.1em;
}

/* Milli as helper: mascot + speech bubble (404, empty search results) */
.milli-help {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.5rem 0;
}
.milli-help__mascot {
    flex: none;
    padding-top: 0.25rem;
}
.milli-help__bubble {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    background: var(--sky-pale);
    border: 1px solid var(--sky-soft);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
}
.milli-help__bubble::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 24px;
    width: 14px;
    height: 14px;
    background: var(--sky-pale);
    border-left: 1px solid var(--sky-soft);
    border-bottom: 1px solid var(--sky-soft);
    transform: rotate(45deg);
}
.milli-help__bubble p {
    margin: 0 0 0.6rem;
}
.milli-help__bubble > :last-child {
    margin-bottom: 0;
}
.milli-help__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--ink);
}
.milli-help__label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-mute);
    margin-top: 1rem;
}
.milli-help__links {
    list-style: none;
    padding: 0;
    margin: 0 0 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
}
.milli-help__links a {
    font-weight: 700;
}
.milli-help__search {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 0.8rem 0;
}
.milli-help__search .finder__search {
    flex: 1 1 240px;
    margin: 0;
}
.milli-help__search input {
    font-size: 1rem;
}
.milli-help__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}
.milli-help--page {
    margin-top: 0.5rem;
}
@media (max-width: 640px) {
    .milli-help {
        flex-direction: column;
        gap: 0.5rem;
    }
    .milli-help__mascot {
        padding: 0 0 0 0.5rem;
    }
    .milli-help__bubble::before {
        left: 36px;
        top: -8px;
        transform: rotate(135deg);
    }
    .milli-help--page .milli-help__mascot .mascot {
        width: 110px;
        height: auto;
    }
}

/* 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;
}

/* Course flyer preview */
.flyer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.flyer-grid a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
}
.flyer-grid a img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: top;
    border-bottom: 1px solid var(--line);
}
.flyer-grid a span {
    display: block;
    padding: 0.8rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .timer.is-running .mascot__brush,
    .timer.is-done .coach__cheer span,
    .coach__bubble.is-switch {
        animation: none !important;
    }
}
@media print {
    .site-header,
    .site-footer,
    .demo-badge,
    .totop,
    .page-aside,
    .hero__ctrl,
    .hero__dots {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
    .page-body {
        grid-template-columns: 1fr;
    }
}

.past-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    gap: 0.3rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.past-list li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
}
