/* KAAD: design system aligned with kaad.de (see 03 Brand and Design/KAAD Brand Guide.md) */

@font-face { font-family: "Noto Sans Display"; src: url("/fonts/NotoSansDisplay-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans Display"; src: url("/fonts/NotoSansDisplay-LightItalic.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Sans Display"; src: url("/fonts/NotoSansDisplay-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans Display"; src: url("/fonts/NotoSansDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --blue-dark: #2C4398;
  --blue: #3754C0;
  --green: #9EC555;
  --green-light: #DBE9BF;
  --green-pale: #EAF2DC;
  --text: #444444;
  --grey-light: #EDEDED;
  --grey-muted: #9C9C9C;
  --white: #FFFFFF;
  --gradient: linear-gradient(37deg, #2C4398 0%, #9EC555 100%);
  --radius: 6px;
  --container: 1320px;
  --font: "Noto Sans Display", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.8px; line-height: 25.2px; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
p { margin: 0 0 1rem; }
strong { font-weight: 600; }
h1, h2, h3, h4 { margin: 0 0 .75rem; color: var(--text); font-weight: 400; }
h1, .h1 { font-weight: 300; font-size: 40px; line-height: 52px; }
h3, .h3 { font-size: 21.6px; line-height: 28px; }
h4 { font-size: 18px; line-height: 26px; font-weight: 600; }

.eyebrow { display: block; font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: .8px; text-transform: uppercase; color: var(--green); margin: 0 0 .25rem; }
.title { font-weight: 300; font-size: 32px; line-height: 42px; margin: 0 0 1.25rem; }
.lead { font-weight: 300; font-size: 19.2px; line-height: 28.8px; }
.muted { color: #6b6b6b; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font); font-size: 16px; line-height: 1.5; padding: .5rem .9rem; border-radius: var(--radius); border: 0; background: var(--blue); color: #fff; cursor: pointer; transition: background .2s ease; text-decoration: none; }
.btn:hover { background: var(--blue-dark); text-decoration: none; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-lg { padding: .7rem 1.2rem; font-size: 17.6px; }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-green { background: var(--green); color: #1f2a10; }
.btn-green:hover { background: #8db446; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.arrow-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 400; }
.arrow-link svg { width: 18px; height: 18px; }

/* Top bar and header */
.site-header { background: #fff; position: relative; z-index: 50; }
.header-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 14px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; color: var(--blue-dark); text-decoration: none; padding-top: 6px; }
.brand:hover { text-decoration: none; }
.brand img { width: 143px; height: auto; }
.brand-sub { margin-top: 2px; font-size: 11px; line-height: 13px; letter-spacing: 3.2px; text-transform: uppercase; color: #4261AD; font-weight: 400; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.topbar { display: flex; align-items: center; gap: 22px; font-size: 14px; text-transform: uppercase; }
.topbar a { color: var(--grey-muted); }
.topbar a:hover, .topbar a[aria-current="page"] { color: var(--blue); text-decoration: none; }
.lang-switch { display: flex; gap: 2px; margin-left: 6px; padding-left: 16px; border-left: 1px solid var(--grey-light); }
.lang-switch a { padding: 0 5px; border-radius: 4px; }
.lang-switch a.is-active { color: #fff; background: var(--blue); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a { display: block; font-size: 17.6px; color: var(--text); padding: 6px 14px; border-radius: 18px; font-weight: 400; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.main-nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--blue-dark); cursor: pointer; }
.nav-toggle svg { width: 30px; height: 30px; }

/* Side service bar (kaad.de pattern) */
.service-bar { position: fixed; right: 0; top: 160px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.service-bar .group { background: var(--blue-dark); border-radius: 8px 0 0 8px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.service-bar .group.light { background: #fff; }
.service-bar a { display: block; line-height: 0; }
.service-bar img { width: 22px; height: 15px; border-radius: 2px; }
.service-bar svg { width: 22px; height: 22px; color: #fff; }
.service-bar .light svg { color: var(--blue-dark); }

/* Breadcrumb gradient strip */
.crumbs { background: var(--gradient); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .3px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 9px 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .8; }
.crumbs a { color: #fff; }

/* Page head */
.page-head { text-align: center; padding: 48px 0 40px; }
.page-head .lead { max-width: 820px; margin: .5rem auto 0; color: var(--text); }

/* Hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #9EC555; background: var(--gradient); }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; } /* kaad.de: .slick-slide gradient + .headerimg opacity .3 */
.hero-content { position: relative; z-index: 2; text-align: center; padding: 56px 24px 64px; max-width: 980px; margin: 0 auto; }
.hero h1 { color: #fff; font-size: 46px; line-height: 58px; }
.hero .lead { color: #fff; margin: 0 auto 1.5rem; max-width: 860px; }
.hero .btn-row { justify-content: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45); border-radius: 20px; padding: 4px 14px; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 18px; }

/* Sections */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.bg-grey { background: var(--grey-light); }
.bg-green { background: var(--green-pale); }
.bg-green-strong { background: var(--green-light); }
.center { text-align: center; }
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }

/* Card with gradient frame (kaad.de pattern) */
.card { position: relative; background: var(--gradient); padding: 14px 14px 22px 14px; border-radius: 2px; display: flex; flex-direction: column; }
.card-inner { background: #fff; display: flex; flex-direction: column; flex: 1; }
.card-img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.card-body { padding: 18px 16px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.card-body p { margin-bottom: 1.1rem; }

/* Plain info tiles */
.tile { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.icon { display: block; }
.icon svg { width: 100%; height: 100%; display: block; }
.tile .icon { width: 46px; height: 46px; color: var(--green); margin-bottom: 12px; }
.tile h3 { margin-bottom: .5rem; }
.tile p:last-child { margin-bottom: 0; }

/* Journey banner (alumni banner pattern) */
.journey { background: var(--gradient); color: #fff; border-radius: 2px; padding: 44px 48px; }
.journey h2, .journey .title { color: #fff; }
.journey .eyebrow { color: #fff; opacity: .9; }
.journey-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 28px 0 8px; counter-reset: step; }
.journey-step { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); padding: 22px 22px 18px; position: relative; }
.journey-step .num { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--blue-dark); align-items: center; justify-content: center; font-weight: 600; margin-bottom: 12px; }
.journey-step h3 { color: #fff; margin-bottom: .4rem; }
.journey-step p { margin: 0; font-weight: 300; }
.journey-step .who { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .7px; opacity: .85; margin-top: 12px; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stat .icon { width: 54px; height: 54px; color: var(--green); margin: 0 auto 10px; }
.stat .num { display: block; font-weight: 300; font-size: 34px; line-height: 40px; color: var(--text); }
.stat .label { font-size: 15px; }

/* News list */
.news-item { display: grid; grid-template-columns: 200px 1fr; gap: 22px; padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid #dfe9c9; }
.news-item:last-child { border-bottom: 0; }
.news-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.meta { font-weight: 600; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--green); margin-bottom: .3rem; }
.news-item h3 { margin-bottom: .4rem; }
.news-item h3 a { color: var(--text); }
.news-item p { margin-bottom: .5rem; }

/* Events / dates list */
.dates { list-style: none; margin: 0; padding: 0; }
.dates li { border-bottom: 1px solid #dfe9c9; }
.dates a, .dates .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; color: var(--text); }
.dates a:hover { text-decoration: none; color: var(--blue); }
.dates .meta { margin: 0 0 2px; }
.dates .ttl { font-size: 17.6px; line-height: 24px; }
.dates svg { flex: none; width: 22px; height: 22px; color: var(--blue); }

/* Timeline (how to apply) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--green-light); }
.timeline li { position: relative; padding: 0 0 30px 68px; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--green); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.timeline li.key .dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.timeline .when { font-weight: 600; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--green); }
.timeline h3 { margin: .15rem 0 .35rem; }
.timeline .where { display: inline-block; font-size: 13px; padding: 1px 10px; border-radius: 12px; background: var(--grey-light); margin-bottom: .4rem; }
.timeline .where.kaad { background: #e3e8f7; color: var(--blue-dark); }
.timeline .where.wf { background: var(--green-pale); color: #4f6d1c; }

/* Checklist */
.checklist { list-style: none; margin: 0 0 1rem; padding: 0; }
.checklist li { position: relative; padding: 6px 0 6px 34px; }
.checklist li svg { position: absolute; left: 0; top: 8px; width: 22px; height: 22px; color: var(--green); }
ul.dots { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.dots li { position: relative; padding-left: 20px; margin-bottom: .35rem; }
ul.dots li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--green); border-radius: 50%; }

/* Phases */
.phase { background: #fff; border-top: 4px solid var(--green); border-radius: var(--radius); padding: 28px 26px; }
.phase.onsite { border-top-color: var(--blue); }
.phase .when { font-weight: 600; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; color: var(--green); }
.phase.onsite .when { color: var(--blue); }

/* Modules */
.module { border-left: 3px solid var(--green); padding: 4px 0 4px 18px; }
.module h4 { margin-bottom: .2rem; }
.module p { margin: 0; }

/* FAQ accordion */
.faq details { border-bottom: 1px solid #dfe9c9; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-size: 18.4px; line-height: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 28px; font-weight: 300; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 18px; }
.faq h2 { margin-top: 40px; }

/* Callout */
.callout { background: var(--green-light); border-radius: var(--radius); padding: 28px 30px; }
.callout.blue { background: var(--gradient); color: #fff; }
.callout.blue h2, .callout.blue h3, .callout.blue .title { color: #fff; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Article */
.article { max-width: 820px; margin: 0 auto; }
.article img.feature { width: 100%; aspect-ratio: 16/8; object-fit: cover; margin-bottom: 24px; }
.article h2 { font-size: 24px; line-height: 32px; margin-top: 2rem; }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.form input, .form textarea, .form select { width: 100%; font: inherit; color: var(--text); padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: var(--radius); background: #fff; }
.form textarea { min-height: 150px; resize: vertical; }
.form .note { font-size: 14px; color: #6b6b6b; }
.form-status { padding: 12px 14px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: var(--green-light); }
.form-status.err { display: block; background: #fde2e2; }
.contact-box { background: var(--green-light); border-radius: var(--radius); padding: 24px 26px; }

/* Partner strip */
.partner-strip { border-top: 1px solid var(--grey-light); padding: 26px 0; }
.partner-strip .small { font-size: 13px; margin-bottom: 10px; }
.partner-logos { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.partner-name { font-size: 22px; font-weight: 300; color: var(--blue-dark); letter-spacing: .3px; }
.partner-name strong { font-weight: 600; }

/* Footer (gradient with white card) */
.site-footer { background: var(--gradient); padding: 46px 0 0; position: relative; overflow: hidden; }
.site-footer .globe { position: absolute; right: -60px; top: -40px; width: 420px; opacity: .35; pointer-events: none; }
.footer-card { position: relative; background: #fff; border-radius: 8px 8px 0 0; padding: 40px 44px 36px; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 36px; }
.footer-card h2 { font-size: 16px; font-weight: 600; margin-bottom: .8rem; }
.footer-card ul { list-style: none; margin: 0; padding: 0; }
.footer-card li { margin-bottom: .35rem; padding-left: 16px; position: relative; }
.footer-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 9px; height: 2px; background: var(--green); }
.footer-card .contact-box p { margin: 0 0 .6rem; }
.footer-bottom { position: relative; background: #fff; border-top: 1px solid var(--grey-light); padding: 14px 44px; font-size: 13px; color: #777; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: var(--radius); background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 40; opacity: .9; }
.to-top svg { width: 20px; height: 20px; }

/* Responsive */
@media (max-width: 1100px) {
  .main-nav a { font-size: 16px; padding: 6px 10px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .header-inner { align-items: center; }
  .nav-toggle { display: block; }
  .header-right { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 16px 24px 24px; box-shadow: 0 10px 20px rgba(0,0,0,.08); align-items: stretch; gap: 14px; }
  .header-right.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav { order: 1; }
  .topbar { order: 2; flex-wrap: wrap; gap: 14px; }
  .lang-switch { border-left: 0; padding-left: 0; margin-left: 0; }
  .service-bar { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .journey-steps { grid-template-columns: 1fr; }
  .footer-card { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; line-height: 24px; }
  .container { padding: 0 16px; }
  h1, .h1 { font-size: 30px; line-height: 38px; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 32px; line-height: 40px; }
  .title { font-size: 26px; line-height: 34px; }
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 1fr; }
  .journey { padding: 30px 22px; }
  .footer-card { padding: 28px 20px; }
  .footer-bottom { padding: 14px 20px; }
}
@media print { .site-header, .service-bar, .site-footer, .to-top { display: none; } }

/* Carried over kaad.de pages */
.imported h1 { margin-bottom: 1rem; }
.imported .feature { width: 100%; max-height: 460px; object-fit: cover; margin: 0 0 24px; }
.imported h2 { font-size: 24px; line-height: 32px; margin-top: 1.8rem; }
.imported h3 { margin-top: 1.4rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.downloads { background: var(--green-pale); border-radius: var(--radius); padding: 20px 24px; margin-top: 28px; }
.downloads h2 { margin-top: 0 !important; font-size: 18px !important; }
.downloads ul { list-style: none; margin: 0; padding: 0; }
.downloads li { padding: 6px 0; }
.downloads a { display: inline-flex; gap: 8px; align-items: center; }
.downloads svg { width: 20px; height: 20px; }
.child-grid { gap: 24px; }
.child-tile { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--text); box-shadow: 0 1px 0 rgba(0,0,0,.05); transition: box-shadow .2s; }
.child-tile:hover { text-decoration: none; box-shadow: 0 6px 18px rgba(44,67,152,.15); }
.child-tile img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.child-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.child-body .arrow-link { margin-top: auto; color: var(--blue); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 20px; }
.pager a { min-width: 38px; text-align: center; padding: 6px 10px; border-radius: var(--radius); background: var(--grey-light); color: var(--text); }
.pager a[aria-current="page"] { background: var(--blue); color: #fff; }
@media (max-width: 680px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Funders strip (kaad.de "Gefördert durch" pattern) */
.funders-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.funder-logos { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; }
.funder-logos img { height: 52px; width: auto; max-width: 150px; object-fit: contain; }
.event-partner { border-left: 1px solid var(--grey-light); padding-left: 32px; }
@media (max-width: 680px) { .funder-logos { gap: 24px; } .funder-logos img { height: 40px; } .event-partner { border-left: 0; padding-left: 0; } }

/* Main menu dropdowns (kaad.de pattern: white panel, items with a left chevron open sideways) */
.main-nav > ul > li { position: relative; }
.main-nav .dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; list-style: none; margin: 0; padding: 8px 0; box-shadow: 0 6px 18px rgba(0,0,0,.12); z-index: 80; flex-direction: column; gap: 0; }
.main-nav > ul > li:last-child > .dropdown, .main-nav > ul > li:nth-last-child(2) > .dropdown { left: auto; right: 0; }
.main-nav li:hover > .dropdown, .main-nav li:focus-within > .dropdown { display: flex; }
.main-nav .dropdown li { position: relative; }
.main-nav .dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 20px; border-radius: 0; font-weight: 600; font-size: 16.8px; color: var(--text); white-space: nowrap; background: none; }
.main-nav .dropdown a:hover, .main-nav .dropdown a[aria-current="page"] { color: var(--blue); background: none; }
.main-nav .dropdown .chev { font-size: 20px; line-height: 1; font-weight: 400; }
.main-nav .dropdown .dropdown { top: -8px; left: auto; right: 100%; }
.main-nav > ul > li:first-child .dropdown .dropdown, .main-nav > ul > li:nth-child(2) .dropdown .dropdown, .main-nav > ul > li:nth-child(3) .dropdown .dropdown { right: auto; left: 100%; }
.mobile-only { display: none; }

/* kaad.de inner page */
.page-head .meta.center { text-align: center; margin-bottom: 6px; }
.page-head .lead { color: #666; }
.content-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.content-main h2 { font-size: 24px; line-height: 32px; margin-top: 1.8rem; }
.content-main h3 { margin-top: 1.4rem; }
.content-main > *:first-child { margin-top: 0; }
.aside-figure { margin: 0 0 24px; }
.aside-figure img { width: 100%; border-radius: 2px; }
.aside-figure figcaption { font-size: 13px; font-style: italic; color: #666; margin-top: 6px; }
.info-box { background: var(--grey-light); border-radius: 4px; padding: 22px 26px; }
.info-box h3 { font-weight: 400; margin-bottom: 14px; }
.info-box ul { list-style: none; margin: 0; padding: 0; }
.info-box li { padding: 5px 0; }
.info-box a { display: inline-flex; gap: 8px; align-items: flex-start; }
.info-box svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }

/* kaad.de news list */
.news-item { grid-template-columns: 180px 1fr; border-bottom: 1px solid #dfe9c9; }
.news-item img { aspect-ratio: 1/1; }
.news-text { position: relative; padding-right: 48px; }
.news-arrow { position: absolute; right: 0; bottom: 0; color: var(--blue); }
.news-arrow svg { width: 28px; height: 28px; }
.pager-wrap { margin: 0 0 28px; }
.pager-wrap:last-child { margin: 28px 0 0; }
.pager-count { font-size: 15px; margin-bottom: 6px; }
.pager { justify-content: flex-start; gap: 0; margin: 0; }
.pager a { background: none; min-width: 0; padding: 2px 10px; border-left: 1px solid #ccc; border-radius: 0; color: var(--blue); }
.pager a:first-child { border-left: 0; padding-left: 0; }
.pager a[aria-current="page"] { background: var(--green); color: #fff; border-radius: 3px; border-left-color: transparent; }

/* footer like kaad.de */
.footer-card p { margin: 0 0 .5rem; }
.service-bar .light a { line-height: 0; }

@media (max-width: 960px) {
  .main-nav .dropdown, .main-nav .dropdown .dropdown { position: static; display: flex; box-shadow: none; min-width: 0; padding: 0 0 0 16px; }
  .main-nav .dropdown a { font-weight: 400; padding: 6px 10px; white-space: normal; }
  .main-nav .dropdown .chev { display: none; }
  .mobile-only { display: flex; }
  .content-grid { grid-template-columns: 1fr; }
}
.main-nav > ul > li > a { font-weight: 600; }

/* ===== Type scale matched to kaad-main.css (root 16px) ===== */
body { font-size: 1.05rem; line-height: 1.5; }                       /* 16.8px */
h1, .h1 { font-size: 2.5rem; line-height: 1.2; font-weight: 300; }   /* 40px Light */
.content-main h2, .article h2, .imported h2 { font-size: 2rem; line-height: 1.2; }  /* 32px */
h3, .h3 { font-size: 1.35rem; line-height: 1.3; }                    /* 21.6px */
h4 { font-size: 1.15rem; font-weight: 600; }                          /* 18.4px SemiBold */
.eyebrow { font-size: 1rem; letter-spacing: .05rem; }                /* h2.subhead 16px */
.meta, .timeline .when, .phase .when { font-size: 1.05rem; letter-spacing: .05rem; }  /* .h5 news date 16.8px */
.lead, .page-head .lead { font-size: 1.25rem; line-height: 1.5; font-weight: 300; }    /* 20px Light */
.hero h1 { font-size: 3.5rem; line-height: 1.2; text-shadow: 0 0 12px #555; }          /* 56px */
.hero .lead { font-size: 1.3rem; text-shadow: 0 0 12px #555; }                          /* 20.8px */
.main-nav > ul > li > a { font-size: 1rem; padding: 5px 15px; border-radius: 15px; }    /* 16px SemiBold */
.main-nav .dropdown a { font-size: .95rem; padding: 10px 15px; }                         /* 15.2px SemiBold */
.topbar { font-size: .875rem; }                                                           /* 14px */
.crumbs { font-size: .875rem; }                                                           /* 14px */
.btn { font-size: 1rem; }
.btn-lg { font-size: 1.25rem; padding: .5rem 1rem; border-radius: 8px; }                  /* 20px */
.footer-card h2 { font-size: 1.15rem; }                                                   /* 18.4px */
.footer-card p, .footer-card li { font-size: 1rem; }                                      /* 16px */
.aside-figure figcaption { font-size: .875rem; line-height: 1.3; }                        /* 14px italic */
.funder-logos img { height: 60px; max-width: none; }
.funder-logos img[alt="Misereor"] { height: 35px; }
.funder-logos img[alt="Auswärtiges Amt"] { height: 70px; }
.funder-logos img[alt="Adveniat"] { height: 78px; }
@media (max-width: 1199.98px) { .hero h1 { font-size: 2.5rem; text-shadow: none; } .hero .lead { font-size: 1.2rem; text-shadow: none; } }
@media (max-width: 991.98px) {
  h1, .h1, .hero h1 { font-size: 2rem; }                                                  /* 32px */
  .content-main h2, .article h2, .imported h2 { font-size: 1.35rem; }                    /* 21.6px */
  h3, .h3 { font-size: 1.15rem; }                                                         /* 18.4px */
}

/* Partner and organisation logos: shown whole, never cropped */
.logo-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--grey-light); }
.logo-grid img { height: 70px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 680px) { .logo-grid { gap: 24px 32px; } .logo-grid img { height: 52px; max-width: 160px; } }

/* Menu items never wrap (kaad.de keeps each item on one line) */
.main-nav > ul > li > a { white-space: nowrap; }
@media (max-width: 1199.98px) { .main-nav > ul > li > a { padding: 5px 9px; font-size: .9rem; } .main-nav ul { gap: 2px; } }

/* ===== Responsive header matched to kaad-main.css ===== */
.brand img { width: 143px; height: 90px; }                       /* desktop: 143 x 90 */
@media (min-width: 1200px) { .brand { padding-left: 0; } }
.topbar-mobile { display: none; }
@media (max-width: 960px) {
  /* kaad.de keeps the small top links visible above the logo on phones and tablets */
  .topbar-mobile { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding-top: 8px; font-size: .75rem; text-transform: uppercase; }
  .topbar-mobile a { color: var(--grey-muted); }
  .topbar-mobile a[aria-current="page"] { color: var(--blue); }
  .topbar-mobile .lang-switch { display: flex; border-left: 1px solid var(--grey-light); padding-left: 10px; margin-left: 0; }
  .header-right .topbar { display: none; }
  .header-inner { padding-top: 0; padding-bottom: 10px; align-items: center; }
}
@media (max-width: 767.98px) { .brand img { width: 95px; height: 60px; } }   /* kaad.de: 95 x 60 */
@media (max-width: 440px) { .brand img { width: 79px; height: 50px; } .topbar-mobile { gap: 10px; } } /* kaad.de: 79 x 50 */

/* ===== News list on phones (kaad.de: small thumbnail left, text right) ===== */
@media (max-width: 680px) {
  .news-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .news-item img { width: 96px; height: 96px; }
  .news-text { padding-right: 0; padding-bottom: 34px; min-width: 0; }
  .news-text h3 { font-size: 1.1rem; line-height: 1.35; overflow-wrap: anywhere; }
  .news-text .meta { font-size: .85rem; overflow-wrap: anywhere; }
  .news-text p { font-size: .95rem; overflow-wrap: anywhere; }
}
.news-text, .news-text * { min-width: 0; }
.site-footer { overflow: hidden; }
