/* ==========================================================================
   Bergischer Bildungsbund e.V. – Website styles
   ========================================================================== */

@font-face {
    font-family: "Jakarta";
    src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Jakarta";
    src: url("../fonts/jakarta-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --brand: #c02731;
    --brand-600: #a51f29;
    --brand-50: #fcefef;
    --navy: #2b2758;
    --navy-800: #1f1c42;
    --navy-50: #f0eff8;
    --gold: #f0a30e;
    --orange: #f26a21;
    --ink: #1d1b2e;
    --text: #3d3b4f;
    --muted: #6b6980;
    --line: #e6e4ee;
    --soft: #f8f6f3;
    --white: #fff;
    --success: #1f8a5b;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(29, 27, 46, .06), 0 2px 8px rgba(29, 27, 46, .05);
    --shadow: 0 10px 30px -10px rgba(29, 27, 46, .18);
    --shadow-lg: 0 24px 60px -18px rgba(29, 27, 46, .30);
    --container: 1220px;
    --gutter: clamp(16px, 4vw, 32px);
    --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --header-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 750; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 860px; }
.center { text-align: center; }
.small { font-size: .875rem; color: var(--muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--brand);
    background: var(--brand); color: #fff; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, box-shadow .2s, color .2s, border-color .2s;
    box-shadow: 0 8px 20px -10px rgba(192, 39, 49, .7);
}
.btn:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-sm { padding: .6em 1.1em; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--navy-50); color: var(--navy); border-color: var(--navy-50); }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; box-shadow: none; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand); margin-bottom: .8rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: .6em; }
.eyebrow-light { color: var(--gold); }

/* ---------- topbar & header ---------- */
.topbar { background: var(--navy-800); color: rgba(255, 255, 255, .8); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 1rem; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; align-items: center; }
.topbar li, .topbar a { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; }
.lang-switch { display: flex; align-items: center; gap: 2px; margin-left: auto; margin-right: 1rem; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.lang-switch a { padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; color: rgba(255, 255, 255, .75); text-decoration: none; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { background: var(--gold); color: var(--ink); }
.lang-switch-lg { display: flex; margin: 0; background: var(--soft); align-self: flex-start; }
.lang-switch-lg a { padding: .45rem 1rem; font-size: .9rem; letter-spacing: 0; color: var(--text); }
.lang-switch-lg a:hover { color: var(--brand); }
.social a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: inherit; transition: background .2s, color .2s; }
.social a:hover { background: var(--brand); color: #fff; }
.topbar .social .icon { color: inherit; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
/* blur lives on a pseudo element: backdrop-filter on the header itself would trap the fixed mobile menu */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { flex: none; }
.brand img { width: auto; height: 46px; }
.main-nav { flex: 1; display: flex; justify-content: center; align-self: stretch; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: .2rem; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
    position: relative; display: inline-flex; align-items: center; gap: .3em; padding: .55rem .8rem; border-radius: var(--radius-sm);
    font: inherit; font-size: .94rem; font-weight: 650; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
    transition: color .2s;
}
/* animated underline as hover / active indicator */
.nav-link::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .1rem; height: 2px; border-radius: 2px; background: var(--brand);
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover, .nav-item.is-active > .nav-link, .nav-item.is-open > .nav-link, .nav-link[aria-current] { color: var(--brand); }
.nav-link:hover::after, .nav-item.is-active > .nav-link::after, .nav-item.is-open > .nav-link::after, .nav-link[aria-current]::after { transform: scaleX(1); }
.nav-link .chev { width: 15px; height: 15px; transition: transform .2s; opacity: .7; }

/* dropdown panel */
.sub-menu {
    position: absolute; top: calc(100% - 6px); left: -.5rem; display: flex; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 30px 70px -22px rgba(29, 27, 46, .38), 0 0 0 1px rgba(29, 27, 46, .07);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-item:nth-last-child(-n+2) > .sub-menu { left: auto; right: -.5rem; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sub-cols { display: flex; padding: .9rem; }
.sub-col { width: 300px; }
.sub-col + .sub-col { border-left: 1px solid var(--line); margin-left: .6rem; padding-left: .6rem; }
.sub-heading { margin: 0; padding: .45rem .75rem .55rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.sub-links { list-style: none; margin: 0; padding: 0; }
.sub-link { display: flex; align-items: flex-start; gap: .85rem; padding: .65rem .75rem; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .15s; }
.sub-link:hover, .sub-link[aria-current], .sub-link:focus-visible { background: var(--soft); color: var(--ink); }
.sub-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand); transition: background .2s, color .2s; }
.sub-icon .icon { width: 18px; height: 18px; }
.sub-link:hover .sub-icon, .sub-link[aria-current] .sub-icon { background: var(--brand); color: #fff; }
.sub-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; padding-top: .1rem; }
.sub-text strong { font-size: .93rem; font-weight: 700; transition: color .15s; }
.sub-link:hover strong, .sub-link[aria-current] strong { color: var(--brand); }
.sub-text small { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.sub-promo {
    position: relative; isolation: isolate; overflow: hidden; width: 260px; flex: none; display: flex; flex-direction: column; gap: .2rem;
    padding: 1.6rem 1.5rem; background: linear-gradient(160deg, var(--navy) 0%, #3e3880 100%); color: rgba(255, 255, 255, .8);
}
.sub-promo::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 39, 49, .65), rgba(192, 39, 49, 0) 70%); }
.sub-promo-title { margin: 0 0 .4rem; color: #fff; font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.sub-promo-title::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: .9rem; }
.sub-promo p { font-size: .88rem; line-height: 1.55; margin: 0 0 1.2rem; }
.sub-promo a { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-weight: 700; font-size: .88rem; }
.sub-promo-link { margin-top: auto; color: var(--gold); }
.sub-promo-link:hover { color: #fff; }
.sub-promo-link .icon { transition: transform .2s; }
.sub-promo-link:hover .icon { transform: translateX(3px); }
.sub-promo-contact { color: rgba(255, 255, 255, .75); margin-top: .5rem; }
.sub-promo-contact:hover { color: #fff; }
.sub-promo-contact .icon { width: 15px; height: 15px; }
@media (hover: hover) and (min-width: 1181px) {
    .nav-item.has-sub:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
    .nav-item.has-sub:hover > .nav-link .chev { transform: rotate(180deg); }
}
.nav-item.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn .icon { width: 20px; height: 20px; }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
.search-panel { border-top: 1px solid var(--line); background: #fff; padding: 1rem 0; }
.search-panel form { display: flex; gap: .75rem; }
.search-panel input { flex: 1; }

@media (max-width: 1360px) {
    .nav-link { padding: .5rem .55rem; font-size: .9rem; }
    .header-inner { gap: 1rem; }
}
@media (max-width: 1260px) and (min-width: 1181px) {
    .brand img { height: 40px; }
    .search-toggle { display: none; }
}
@media (max-width: 1180px) {
    :root { --header-h: 72px; }
    .brand img { height: 40px; }
    .nav-toggle { display: inline-grid; }
    .header-actions { margin-left: auto; }
    .header-cta { display: inline-flex; }
    .main-nav {
        position: fixed; inset: var(--nav-top, calc(var(--header-h) + 40px)) 0 0 0; background: #fff; display: block; overflow-y: auto;
        padding: 1rem var(--gutter) 2rem; transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
    }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .nav-open .nav-toggle .i-open { display: none; }
    .nav-open .nav-toggle .i-close { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { border-bottom: 1px solid var(--line); }
    .nav-link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.05rem; border-radius: 0; }
    .nav-item { display: block; }
    .nav-link::after { display: none; }
    .sub-menu { position: static; display: none; transform: none !important; box-shadow: none; border-radius: 0; overflow: visible; opacity: 1; visibility: visible; }
    .nav-item.is-open > .sub-menu { display: block; }
    .sub-cols { display: block; padding: 0 0 .8rem; }
    .sub-col { width: auto; }
    .sub-col + .sub-col { border-left: 0; margin: .4rem 0 0; padding-left: 0; }
    .sub-heading { padding: .5rem .25rem .3rem; }
    .sub-link { align-items: center; padding: .5rem .25rem; }
    .sub-icon { width: 34px; height: 34px; }
    .sub-text small { display: none; }
    .sub-promo { display: none; }
    .nav-extra { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
    .nav-search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
    .nav-search input { border: 0; flex: 1; border-radius: 0; }
    .nav-search button { border: 0; background: var(--brand); color: #fff; width: 52px; display: grid; place-items: center; cursor: pointer; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
    .hide-sm { display: none !important; }
    .topbar-contact li:nth-child(2) { display: none; }
    .header-cta, .search-toggle { display: none !important; }
    .brand img { height: 34px; }
}

/* ---------- hero slider ---------- */
.hero { position: relative; min-height: clamp(460px, 68vh, 660px); background: var(--navy); overflow: hidden; color: #fff; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 7s ease; }
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(31, 28, 66, .94) 0%, rgba(31, 28, 66, .78) 42%, rgba(31, 28, 66, .15) 100%); }
.hero-content { padding-top: 3rem; padding-bottom: 5rem; }
.hero-content > * { max-width: 640px; }
.hero-title { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 1rem; }
.hero-text { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .86); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-slide.is-active .hero-content > * { animation: rise .8s both; }
.hero-slide.is-active .hero-content > :nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-content > :nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-content > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 5.5rem; display: flex; gap: .5rem; }
.hero-dots button { width: 34px; height: 5px; border-radius: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.is-active { background: var(--gold); width: 56px; }
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-bg { transition: none; }
    .hero-slide.is-active .hero-content > * { animation: none; }
}

/* ---------- offers strip ---------- */
.offers { position: relative; z-index: 2; margin-top: -3.5rem; }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.offer {
    display: flex; align-items: flex-start; gap: 1rem; padding: 1.4rem; background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.offer-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.offer:nth-child(2) .offer-icon { background: #fff4e0; color: #c97f00; }
.offer:nth-child(3) .offer-icon { background: var(--navy-50); color: var(--navy); }
.offer:nth-child(4) .offer-icon { background: #e8f5ef; color: var(--success); }
.offer-icon .icon { width: 24px; height: 24px; }
.offer-body { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; line-height: 1.45; flex: 1; }
.offer-body strong { font-size: 1.05rem; }
.offer-arrow { color: var(--muted); margin-top: .2rem; transition: transform .2s, color .2s; }
.offer:hover .offer-arrow { color: var(--brand); transform: translateX(3px); }
@media (max-width: 1000px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } .offers { margin-top: -2.5rem; } }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section + .section:not(.section-soft):not(.section-dark):not(.donate) { padding-top: 0; }
.section-soft + .section, .section-dark + .section, .donate + .section { padding-top: clamp(3.5rem, 8vw, 6rem) !important; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .link-arrow { color: var(--gold); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-top { align-items: start; }
.split > *, .form-grid > *, .layout-sidebar > * { min-width: 0; }
select { max-width: 100%; text-overflow: ellipsis; }
main { overflow-x: clip; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* key figures panel (home, "Warum sollten Sie uns wählen?") */
.facts-panel {
    position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: clamp(1.5rem, 3vw, 2.25rem);
    background: linear-gradient(150deg, var(--navy) 0%, #3a347a 100%); color: rgba(255, 255, 255, .78); box-shadow: var(--shadow-lg);
}
.facts-panel::before { content: ""; position: absolute; z-index: -1; right: -110px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 39, 49, .55), rgba(192, 39, 49, 0) 70%); }
.facts-panel::after { content: ""; position: absolute; z-index: -1; left: -90px; bottom: -120px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 163, 14, .25), rgba(240, 163, 14, 0) 70%); }
.facts-head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.3rem; margin-bottom: .4rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.facts-head strong { display: block; color: #fff; font-size: 1.05rem; }
.facts-head span { font-size: .88rem; }
.facts-seal { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--gold); flex: none; }
.facts-seal .icon { width: 22px; height: 22px; }
.facts { list-style: none; margin: 0; padding: 0; }
.fact { display: grid; grid-template-columns: 58px 132px 1fr; gap: 1.1rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.fact:last-child { border-bottom: 0; padding-bottom: .2rem; }
.fact-icon-lg { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.fact-icon-lg .icon { width: 26px; height: 26px; }
.fact-purple .fact-icon-lg { background: linear-gradient(135deg, #9d90f0, #6c5dd3); }
.fact-green .fact-icon-lg { background: linear-gradient(135deg, #9ccc5c, #5f9a2e); }
.fact-orange .fact-icon-lg { background: linear-gradient(135deg, #f7b733, #ee7a17); }
.fact-num strong { display: block; color: #fff; font-size: clamp(2.2rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.fact-num sup { font-size: .5em; margin-left: .05em; top: -.8em; }
.fact-purple sup { color: #b3a9ff; }
.fact-green sup { color: #a9d673; }
.fact-orange sup { color: #ffc35c; }
.fact-num > span { display: block; margin-top: .35rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fact-purple .fact-num > span { color: #b3a9ff; }
.fact-green .fact-num > span { color: #a9d673; }
.fact-orange .fact-num > span { color: #ffc35c; }
.fact p { margin: 0; font-size: .92rem; line-height: 1.55; }
@media (max-width: 560px) {
    .fact { grid-template-columns: 52px 1fr; gap: .4rem 1rem; }
    .fact-icon-lg { width: 52px; height: 52px; grid-row: span 2; align-self: start; }
    .fact p { grid-column: 2; }
}

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.notice { background: #fff8e8; border: 1px solid #f6dfa6; border-left: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin: 0 0 1.4rem; }
.notice p { margin: 0; color: #5d4a12; }
.media-logo { margin: 1.6rem 0 !important; }
.media.media-logo img { width: 100%; max-width: 520px; margin: 0; }
.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3.5rem; }
.promo { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; background: var(--soft); }
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .promo-row { grid-template-columns: 1fr; } }

/* ---------- Weiterbildung promo (home) ---------- */
.wb-promo {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
    margin-top: clamp(3.5rem, 7vw, 5.5rem); padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 32px;
    background: linear-gradient(150deg, var(--navy) 0%, #37316f 100%);
    color: rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg);
}
/* colourful light blobs */
.wb-promo::before, .wb-promo::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); }
.wb-promo::before { width: 420px; height: 420px; right: -150px; top: -170px; background: radial-gradient(circle, rgba(192, 39, 49, .35), rgba(192, 39, 49, 0) 70%); }
.wb-promo::after { width: 380px; height: 380px; left: -150px; bottom: -190px; background: radial-gradient(circle, rgba(240, 163, 14, .16), rgba(240, 163, 14, 0) 70%); }
.wb-media { position: relative; padding: 14px; }
.wb-media::before {   /* gradient frame behind the photo */
    content: ""; position: absolute; inset: 0; border-radius: 30px; transform: rotate(-2deg);
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
}
.wb-media > img { position: relative; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 30% center; border-radius: 22px !important; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.wb-badge { position: absolute; z-index: 2; display: flex; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .45); }
.wb-badge-main {
    left: -1.4rem; bottom: 2rem; flex-direction: column; padding: 1rem 1.3rem 1.1rem; max-width: 230px;
    background: var(--brand); color: #fff; transform: rotate(-3deg);
}
.wb-badge-main span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .95; }
.wb-badge-main strong { color: #fff; font-size: 2.1rem; line-height: 1.05; letter-spacing: -.03em; margin: .15rem 0 .3rem; }
.wb-badge-main small { font-size: .8rem; line-height: 1.35; opacity: .95; }
.wb-badge-sub { right: -1.2rem; top: 2.2rem; align-items: center; gap: .65rem; padding: .7rem 1rem .7rem .7rem; font-size: .9rem; color: var(--text); }
.wb-badge-sub strong { font-size: 1.15rem; color: var(--ink); }
.wb-badge-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; }
.wb-badge-icon .icon { width: 20px; height: 20px; }
.wb-badge-tag { left: 2rem; top: -.4rem; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--ink); }
.wb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(31, 138, 91, .18); }
.prose .wb-body h2 { margin-top: 0; color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.03em; }
.text-gradient { color: var(--gold); }
.wb-body .eyebrow { color: var(--gold); }
.wb-body .lead { color: rgba(255, 255, 255, .88); }
.wb-body strong { color: #fff; }
.wb-topics { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.prose .wb-topics li {
    display: flex; align-items: center; gap: .6rem; margin: 0; padding: .55rem .7rem; border-radius: 14px; font-size: .9rem; font-weight: 650; color: #fff;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, border-color .2s;
}
.prose .wb-topics li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.wb-topics li > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none; color: var(--gold); background: rgba(240, 163, 14, .14); }
.wb-topics .icon { width: 17px; height: 17px; }
.wb-body .checklist { margin-bottom: 2rem; }
.wb-body .checklist li { color: rgba(255, 255, 255, .9); }
.wb-body .checklist li::before {
    background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2758' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.wb-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.btn-accent { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }
.btn-accent:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.wb-actions .btn-outline-light .icon { width: 18px; height: 18px; }
@media (max-width: 900px) {
    .wb-promo { grid-template-columns: 1fr; }
    .wb-badge-main { left: .2rem; bottom: .8rem; }
    .wb-badge-sub { right: .2rem; top: 1.6rem; }
}
@media (max-width: 520px) {
    .wb-topics { grid-template-columns: repeat(2, 1fr); }
    .wb-badge-main strong { font-size: 1.6rem; }
    .wb-badge-main small { display: none; }
    .wb-badge-tag { left: 1rem; }
}

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.card-item { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-item[hidden] { display: none; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-50); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-item:hover .card-media img { transform: scale(1.05); }
.card-placeholder { display: grid; place-items: center; height: 100%; color: var(--navy); opacity: .35; }
.card-placeholder .icon { width: 48px; height: 48px; }
.card-badge { position: absolute; left: 1rem; top: 1rem; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .35em .8em; border-radius: 999px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.card-date { display: flex; align-items: center; gap: .4em; font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.card-date .icon { width: 14px; height: 14px; }
.card-title { font-size: 1.12rem; line-height: 1.35; margin-bottom: .55rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--brand); }
.card-text { font-size: .93rem; color: var(--muted); line-height: 1.6; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .9rem; text-decoration: none; margin-top: .2rem; }
.card-more .icon { transition: transform .2s; }
.card-item:hover .card-more .icon { transform: translateX(4px); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font: inherit; font-size: .9rem; font-weight: 650; padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty, .result-count { color: var(--muted); }

/* forms in a dialog */
.form-modal { margin: 0 0 1.2rem; }
.modal {
    width: min(600px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px -20px rgba(15, 13, 33, .5); background: #fff; color: var(--text); overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; animation: modal-in .25s ease; }
.modal::backdrop { background: rgba(20, 18, 40, .55); backdrop-filter: blur(3px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.3rem; border-bottom: 1px solid var(--line); background: var(--soft); }
.modal-head h3 { margin: 0 !important; font-size: 1.2rem; }
.modal-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; flex: none; }
.modal-close:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.modal-close .icon { width: 18px; height: 18px; }
.modal-body { padding: 1.2rem 1.3rem 1.4rem; overflow-y: auto; }
.modal-body .form-wrap { margin: 0; }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }

/* course info card (home) */
.course-panel h3 { margin-top: 0 !important; }
.course-facts { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; gap: .6rem; }
.course-facts li { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; background: var(--soft); border-radius: 12px; font-size: .95rem; }
.course-facts li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--brand); flex: none; box-shadow: var(--shadow-sm); }
.course-facts .icon { width: 18px; height: 18px; }
.course-facts strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* post search (seminars) */
.post-search { margin: 1.8rem 0 2rem; padding: clamp(1rem, 2.5vw, 1.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.post-search-form { position: relative; display: flex; gap: .6rem; }
.post-search-icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: flex; }
.post-search-icon .icon { width: 20px; height: 20px; }
.post-search-form input { flex: 1; min-height: 56px; padding-left: 3.1rem; padding-right: 3rem; font-size: 1.05rem; border-radius: 999px; background: var(--soft); border-color: transparent; }
.post-search-form input:focus { background: #fff; }
.post-search-form input::-webkit-search-cancel-button { display: none; }
.post-search-clear { position: absolute; right: 8.2rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--line); color: var(--ink); cursor: pointer; }
.post-search-clear[hidden] { display: none; }
.post-search-clear:hover { background: var(--brand); color: #fff; }
.post-search-clear .icon { width: 15px; height: 15px; }
.post-search-form .btn { min-height: 56px; padding-inline: 1.8rem; }
.post-search-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.post-search-topics { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.post-search-topics > span { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: .3rem; }
.post-search-topics .chip { padding: .35em .9em; font-size: .85rem; }
.post-search-count { margin: 0; font-size: .9rem; font-weight: 650; color: var(--muted); }
.search-empty { display: flex; align-items: center; gap: 1rem; padding: 1.6rem; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.search-empty[hidden] { display: none; }
.search-empty > .icon { width: 36px; height: 36px; flex: none; color: var(--brand); }
.search-empty p { margin: 0; }
@media (max-width: 600px) {
    .post-search-form .btn { display: none; }
    .post-search-clear { right: .7rem; }
}
.result-count { font-size: .92rem; margin-bottom: 1.4rem; }

/* ---------- videos / consent embeds ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
.video-item { margin: 0; }
.video-item figcaption { margin-top: .75rem; font-weight: 650; color: #fff; font-size: .95rem; line-height: 1.4; }
.video-item .consent-embed .small { display: none; }
.consent-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, #46407f 60%, var(--brand) 140%); color: #fff; margin: 0 0 1.4rem; }
.consent-map { aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--navy-50), #e9e6f5); color: var(--ink); min-height: 280px; }
.consent-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.25rem; gap: .5rem; }
.consent-inner .small { color: inherit; opacity: .85; margin: 0; max-width: 420px; }
.consent-inner p { margin: 0; }
.consent-map .consent-inner > .icon { width: 36px; height: 36px; color: var(--brand); }
.consent-embed .play { width: 70px; height: 70px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 10px rgba(255, 255, 255, .15); transition: transform .2s, box-shadow .2s; }
.consent-embed .play:hover { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255, 255, 255, .2); }
.consent-embed .play .icon { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.consent-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-frame { min-height: 400px; }
.embed-frame iframe { width: 100%; border: 0; }

/* ---------- donate ---------- */
.donate { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, #fff8f1 0%, #fdeee4 55%, #fbe3dc 100%); }
.donate::before { content: ""; position: absolute; z-index: -1; left: -160px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 106, 33, .16), rgba(242, 106, 33, 0) 70%); }
.donate-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.donate-impact { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.donate-impact li { display: flex; flex-direction: column; gap: .6rem; padding: 1rem; background: rgba(255, 255, 255, .75); border: 1px solid #f3dccf; border-radius: 16px; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.donate-impact strong { display: block; color: var(--ink); font-size: .95rem; }
.donate-impact li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff1e8; color: var(--orange); }
.donate-impact .icon { width: 20px; height: 20px; }
.donate-body h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.03em; }
.donate-body .eyebrow { color: var(--orange); }
.bank-card { margin: 0 0 1.4rem; background: #fff; border-radius: 20px; border: 1px solid #f3dccf; box-shadow: 0 18px 40px -24px rgba(29, 27, 46, .3); overflow: hidden; }
.bank-card-head { display: flex; align-items: center; gap: .7rem; padding: .95rem 1.3rem; background: linear-gradient(120deg, var(--brand), var(--orange)); color: #fff; }
.bank-card-head strong { color: #fff; font-size: 1rem; letter-spacing: .01em; }
.bank-card-head span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.bank-card-head .icon { width: 17px; height: 17px; }
.bank-card dl { margin: 0; padding: .4rem 1.3rem .6rem; }
.bank-card dl > div { display: grid; grid-template-columns: 158px 1fr; gap: .75rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.bank-card dl > div:last-child { border-bottom: 0; }
.bank-card dt { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bank-card dd { margin: 0; font-weight: 650; color: var(--ink); }
.bank-iban dd { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.bank-iban [data-iban] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1rem; font-weight: 700; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.copy-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--navy); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: all .2s; }
.copy-btn:hover { border-color: var(--navy); background: #fff; }
.copy-btn .icon { width: 15px; height: 15px; }
.copy-btn .i-done { display: none; }
.copy-btn.is-copied { background: #e7f6ee; border-color: #b6e2ca; color: #12603e; }
.copy-btn.is-copied .i-done { display: block; }
.copy-btn.is-copied .i-copy { display: none; }
.donate-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; }
@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
    .donate-impact { grid-template-columns: 1fr; }
    .donate-impact li { flex-direction: row; align-items: center; }
    .bank-card dl > div { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------- logo wall ---------- */
.logo-wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.1rem; }
.logo-tile {
    display: grid; place-items: center; height: 150px; padding: 1.4rem 1.6rem; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.logo-wall img { width: auto; height: auto; max-width: 100%; max-height: 96px; object-fit: contain; border-radius: 0; transition: transform .25s ease; }
.logo-wall a.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.logo-wall a:hover img { transform: scale(1.04); }
.logo-wall-sm { grid-template-columns: repeat(auto-fill, minmax(210px, 240px)); justify-content: center; }
@media (max-width: 560px) {
    .logo-wall { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .logo-tile { height: 110px; padding: 1rem; }
    .logo-wall img { max-height: 70px; }
}
.memberships-title { margin: 3rem 0 1.5rem; }

/* ---------- page hero & breadcrumbs ---------- */
.page-hero { position: relative; background: var(--navy); color: rgba(255, 255, 255, .85); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 39, 49, .55), rgba(192, 39, 49, 0) 70%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; left: 30%; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 163, 14, .22), rgba(240, 163, 14, 0) 70%); }
.page-hero h1 { color: #fff; max-width: 900px; margin-bottom: .4em; }
.page-lead { font-size: 1.15rem; max-width: 760px; margin: 0; }
.page-meta { display: flex; align-items: center; gap: .5em; margin: 0; font-size: .95rem; }
.page-meta .icon { color: var(--gold); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem; padding: 0; margin: 0 0 1.4rem; font-size: .85rem; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 .5rem; opacity: .45; }
.breadcrumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--gold); }

/* ---------- prose (CMS content) ---------- */
.prose { font-size: 1.04rem; min-width: 0; }
.prose > :last-child, .prose .block > :last-child, .prose .col > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3, .prose h4 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child, .prose .block > h2:first-child, .prose .col > :first-child { margin-top: 0; }
.prose .block + .block { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.prose ul:not([class]) li::marker { color: var(--brand); }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.6em 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; color: var(--ink); }
.prose figure { margin: 0 0 1.4rem; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.prose .actions { margin-top: 1.4rem; }
.lead-image { margin: 0 0 2.2rem !important; }
.lead-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.prose-wide .split h2 { margin-top: 0; }
.prose-form { max-width: 860px; }

.table-wrap { overflow-x: auto; margin: 0 0 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose thead th { background: var(--soft); color: var(--ink); }
.prose thead th:empty, .prose thead tr:has(th:empty:only-child) { padding: 0; }
.prose tbody tr:nth-child(even) td { background: #fcfbfa; }

.cols { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-bottom: 1.4rem; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4, .cols-5, .cols-6 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (max-width: 860px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

.cards, .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin: 0 0 1.6rem; }
.card, .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card img { width: 100%; max-height: 220px; object-fit: contain; margin-bottom: 1rem; border-radius: var(--radius-sm); }
.card h3, .feature h3 { font-size: 1.08rem; margin: 0 0 .5rem !important; }
.card p, .feature p { font-size: .95rem; margin: 0; }
.feature { position: relative; padding-left: 4rem; background: var(--soft); border-color: transparent; }
.feature::before {
    content: ""; position: absolute; left: 1.3rem; top: 1.45rem; width: 28px; height: 28px; border-radius: 50%;
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.features .feature:nth-child(3n+2)::before { background-color: var(--gold); }
.features .feature:nth-child(3n+3)::before { background-color: var(--navy); }
.col > .feature + .feature { margin-top: 1rem; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.checklist li { position: relative; padding-left: 2.1rem; margin-bottom: .7rem; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c02731' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.meta-list { list-style: none; padding: 0; }
.meta-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; margin: 0 0 1.6rem; }
.col .gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.gallery-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }

.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 1.6rem; background: #fff; }
.accordion details + details { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 1.1rem 3.5rem 1.1rem 1.3rem; font-weight: 700; color: var(--ink); position: relative; line-height: 1.45; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; transition: transform .2s, background .2s; }
.accordion details[open] summary::after { content: "–"; background: var(--brand); color: #fff; }
.accordion summary:hover { color: var(--brand); }
.accordion details > div { padding: 0 1.3rem 1.2rem; }
.accordion details > div > :last-child { margin-bottom: 0; }

.progress-group { display: grid; gap: 1rem; margin: 0 0 1.6rem; }
.progress { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; font-weight: 650; color: var(--ink); font-size: .95rem; }
.progress .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--orange)); border-radius: 4px; }

.callout { background: var(--navy-50); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); margin: 0 0 1.6rem; }
.callout h3 { margin-top: 0 !important; }
.callout-brand { background: var(--navy); color: rgba(255, 255, 255, .85); margin-top: 3rem; }
.callout-brand h2 { color: #fff; font-size: 1.5rem; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-bottom: 1.6rem; }
.quote { margin: 0 !important; display: flex; flex-direction: column; gap: .8rem; }
.quote img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote p { margin: 0; font-size: .98rem; }
.quote footer { font-size: .9rem; color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; margin-bottom: 1.6rem; }
.person { text-align: center; background: var(--soft); border-radius: var(--radius); padding: 1.5rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: .6rem; background: #fff; }
.person span { font-size: .88rem; color: var(--muted); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; align-items: center; margin-bottom: 1.6rem; }
.logos img { max-height: 70px; width: auto; margin: 0 auto; object-fit: contain; border-radius: 0 !important; }
.media img { margin: 0 auto; }

/* ---------- layout with sidebar ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.side-card-dark { background: var(--navy); color: rgba(255, 255, 255, .82); border-color: var(--navy); }
.side-card-dark .side-title { color: #fff; }
.side-title { font-size: 1.1rem; margin-bottom: 1rem; }
.side-list { list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .93rem; }
.side-list li { display: flex; flex-direction: column; padding: .65rem 0; border-bottom: 1px dashed var(--line); }
.side-list span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.side-list a { text-decoration: none; }
.side-phone { display: inline-flex; align-items: center; gap: .5em; font-size: 1.35rem; font-weight: 800; color: #fff; text-decoration: none; margin-bottom: .4rem; }
.side-phone:hover { color: var(--gold); }
.side-phone .icon { color: var(--gold); }
.side-card-dark .small { color: rgba(255, 255, 255, .65); margin: 0; }
@media (max-width: 980px) { .layout-sidebar { grid-template-columns: 1fr; } .sidebar { position: static; } }
.layout-sidebar:has(.sidebar-static) { grid-template-columns: minmax(0, 1fr) 380px; }
.sidebar-static { position: static; }
@media (max-width: 980px) { .layout-sidebar:has(.sidebar-static) { grid-template-columns: 1fr; } }
.seminar-info { border-top: 4px solid var(--brand); }
.seminar-info .badge { margin-bottom: .8rem; }
.fact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.fact-list li { display: flex; gap: .85rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.fact-list li:last-child { border-bottom: 0; }
.fact-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--brand); flex: none; }
.fact-icon .icon { width: 18px; height: 18px; }
.fact-list small { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); line-height: 1.3; }
.fact-list strong { font-size: .95rem; line-height: 1.4; }
.seminar-help { margin: 1rem 0 0; text-align: center; }
.seminar-register { scroll-margin-top: calc(var(--header-h) + 20px); }
.seminar-register .form-grid { gap: .9rem .75rem; }
.seminar-register textarea { min-height: 90px; }
.seminar-register .form-footer .small { width: 100%; text-align: center; }
.seminar-register .form-footer { margin-top: 1.2rem; }
.seminar-register .form-footer .btn { width: 100%; }

/* ---------- contact page ---------- */
.page-hero:has(+ .contact-cards) { padding-bottom: clamp(4.5rem, 8vw, 6rem); }
.contact-cards { position: relative; z-index: 2; margin-top: -3rem; }
.contact-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.contact-card {
    display: flex; flex-direction: column; gap: .15rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.contact-card strong { font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-card:hover strong { color: var(--brand); }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); margin-bottom: .8rem; }
.contact-card:nth-child(2) .contact-icon { background: #fff4e0; color: #c97f00; }
.contact-card:nth-child(3) .contact-icon, .contact-card:nth-child(4) .contact-icon { background: var(--navy-50); color: var(--navy); }
.contact-icon .icon { width: 22px; height: 22px; }
.contact-label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-card .small { margin-top: .2rem; }
@media (max-width: 1000px) { .contact-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
    .contact-card-grid { grid-template-columns: 1fr; gap: .75rem; }
    .contact-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 1rem; padding: 1.1rem 1.2rem; }
    .contact-icon { grid-row: span 3; margin: 0; }
}
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-form h2 { margin-bottom: .4rem; }
.contact-form .prose { color: var(--muted); margin-bottom: 1.6rem; }
.contact-side { display: grid; gap: 1.25rem; }
.contact-side .side-title { display: flex; align-items: center; gap: .5rem; }
.contact-side .side-title .icon { color: var(--brand); }
.hours { margin: 0 0 1rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; color: var(--ink); }
.hours .closed { color: var(--brand); font-weight: 600; }
.topic-links { list-style: none; padding: 0; margin: 0 0 1rem; }
.topic-links a { display: flex; align-items: center; gap: .75rem; padding: .7rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; font-size: .95rem; }
.topic-links li:last-child a { border-bottom: 0; }
.topic-links a > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--soft); color: var(--brand); flex: none; }
.topic-links a > span .icon { width: 17px; height: 17px; }
.topic-links .arrow { margin-left: auto; color: var(--muted); transition: transform .2s, color .2s; }
.topic-links a:hover { color: var(--brand); }
.topic-links a:hover .arrow { transform: translateX(3px); color: var(--brand); }
.side-card-dark p { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.side-card-dark .cert { margin-top: .5rem; color: rgba(255, 255, 255, .75); }
.contact-map .consent-embed { margin: 0; aspect-ratio: 21 / 8; }
@media (max-width: 980px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .contact-map .consent-embed { aspect-ratio: 4 / 3; } }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.5rem; margin-bottom: 1.6rem; }
.team-card { display: flex; flex-direction: column; text-align: center; text-decoration: none; color: var(--muted); font-size: .92rem; gap: .2rem; }
.team-photo { display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); margin-bottom: .9rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .4s; }
.team-card:hover img { transform: scale(1.04); }
.team-card strong { font-size: 1.08rem; }
.team-card:hover strong { color: var(--brand); }
.profile { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.profile-photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.contact-list li { display: flex; align-items: center; gap: .6em; margin-bottom: .5rem; }
.contact-list .icon { color: var(--brand); }
@media (max-width: 700px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 280px; } }

/* ---------- forms ---------- */
input, select, textarea {
    width: 100%; font: inherit; font-size: .95rem; line-height: 1.4; color: var(--ink); background: #fff; border: 1px solid #d9d6e3;
    border-radius: var(--radius-sm); padding: .55rem .8rem; transition: border-color .2s, box-shadow .2s; min-height: 42px;
}
textarea { resize: vertical; min-height: 96px; }
select { appearance: none; padding-right: 2.6rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6980' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 18px no-repeat; }
select[multiple] { background-image: none; padding-right: .95rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(43, 39, 88, .12); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--brand); flex: none; margin-top: .2em; }
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .85rem .9rem; }
.field { grid-column: span 6; min-width: 0; }
.field.w-33 { grid-column: span 2; }
.field.w-50 { grid-column: span 3; }
.field.w-66 { grid-column: span 4; }
.form-wrap { container-type: inline-size; }
@container (max-width: 620px) { .field.w-33 { grid-column: span 3; } }
@container (max-width: 290px) { .field.w-33, .field.w-50, .field.w-66 { grid-column: span 6; } }
.field > label, .field legend { display: block; font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: .3rem; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.options { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; cursor: pointer; line-height: 1.5; }
.req { color: var(--brand); font-style: normal; }
.field-html { font-size: .95rem; background: var(--soft); padding: .9rem 1.1rem; border-radius: var(--radius-sm); }
.field-html > :last-child { margin: 0; }
.field-html h2, .field-html h3, .field-html h4 { font-size: 1.05rem; margin: 0 0 .3rem !important; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--brand); }
.field-error { color: var(--brand); font-size: .85rem; margin: .35rem 0 0; font-weight: 600; }
.form-footer { display: flex; align-items: center; gap: .8rem 1.4rem; flex-wrap: wrap; margin-top: 1.2rem; }
.form-footer .small { margin: 0; }
.alert { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem; font-weight: 600; }
.alert p { margin: 0; }
.alert-success { background: #e7f6ee; color: #12603e; border: 1px solid #b6e2ca; }
.alert-success .icon { color: var(--success); margin-top: .2em; }
.alert-error { background: var(--brand-50); color: #8b1a22; border: 1px solid #f2c4c7; }
.form-wrap { margin: 0 0 1.4rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose-form .block:has(.form-wrap) { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow); border-top: 1px solid var(--line); }

.search-big { display: flex; gap: .75rem; margin-bottom: 2rem; }
.search-big .btn { flex: none; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 1.25rem; margin: .4rem 0; }
.search-results h2 a { color: var(--ink); text-decoration: none; }
.search-results h2 a:hover { color: var(--brand); }
.search-results p { margin: 0; color: var(--muted); }
.badge { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); background: var(--brand-50); padding: .25em .7em; border-radius: 999px; }

.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 3rem; }
.page-btn { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; }
.page-btn:hover { border-color: var(--brand); color: var(--brand); }
.page-btn.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-gap { align-self: center; color: var(--muted); }

.error-page { padding-top: clamp(4rem, 10vw, 7rem); }
.error-code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; margin: 0 0 1rem; background: linear-gradient(120deg, var(--brand), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page .page-lead { margin: 0 auto 2rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-800); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.footer-cta { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: 2.6rem; padding-bottom: 2.6rem; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: .3rem; }
.footer-cta p { margin: 0; }
.footer-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-top: 4rem; padding-bottom: 3rem; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-about { grid-column: 1 / -1; max-width: 560px; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 44px; width: auto; background: #fff; padding: 8px 12px; border-radius: var(--radius-sm); margin-bottom: 1.2rem; }
.footer-about p { font-size: .9rem; line-height: 1.7; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn { text-decoration: none; }
.site-footer .btn-light { color: var(--navy); }
.site-footer .btn-light:hover { color: var(--ink); }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .75rem; line-height: 1.5; }
.footer-contact .icon { color: var(--gold); margin-top: .2em; }
.cert { display: flex; gap: .8rem; align-items: center; margin-top: 1.4rem; font-size: .82rem; }
.cert img { width: 64px; border-radius: 6px; background: #fff; padding: 4px; }
.site-footer .social a { background: rgba(255, 255, 255, .07); }
.site-footer .social a:hover { background: var(--brand); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; padding-top: 1.3rem; padding-bottom: 1.3rem; }
.footer-bottom p { margin: 0; }

.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top .icon { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; background: var(--brand-600); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(15, 13, 33, .93); display: flex; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox img { max-height: 100%; max-width: 100%; width: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: var(--brand); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media print {
    .topbar, .site-header, .site-footer, .to-top, .sidebar, .hero-dots { display: none !important; }
    .page-hero { background: none; color: #000; padding: 0; }
    .page-hero h1 { color: #000; }
}
