@font-face { font-family: "Teamkiste Yanone"; src: url("teamkiste-yanone-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
:root { font-family: "Open Sans", Arial, sans-serif; color: #1a4651; background: #f6f8f7; }
* { box-sizing: border-box; }
body { margin: 0; }
.ff-page { max-width: 76rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.ff-page header { padding-bottom: 1.5rem; }
.ff-page h1, .ff-card h2 { font-family: "Arial Narrow", Arial, sans-serif; font-weight: 700; }
.ff-page h1 { margin: 0 0 .4rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.ff-page header p { margin: 0; color: #405d65; }
.ff-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; padding: 1.25rem; margin-bottom: 1rem; background: #e8f1eb; border-top: .25rem solid #7c9e4d; }
.ff-filters label { display: grid; gap: .4rem; font-weight: 700; }
.ff-filters select { width: 100%; padding: .65rem; border: 1px solid #a8bcc0; border-radius: .25rem; color: #1a4651; background: #fff; font: inherit; }
.ff-filters select:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #54c1cd; outline-offset: 2px; }
#ff-count { min-height: 1.5rem; font-weight: 700; }
#foerderfinder-results { display: grid; grid-template-columns: 1fr; align-items: start; gap: 1.35rem; }
.ff-card { position: relative; overflow: hidden; padding: 1.4rem 1.25rem 1.2rem; background: #fff; border: 1px solid #d7dfdc; border-radius: .5rem; border-top: .38rem solid #7c9e4d; box-shadow: 0 .2rem .75rem rgb(26 70 81 / 12%); }
.ff-card h2 { margin: 0 0 1.1rem; color: #668b34; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.18; }
.ff-facts { border-top: 1px solid #dce3e0; }
.ff-fact { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: .7rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid #dce3e0; }
.ff-fact strong, .ff-fact > div > span { display: block; }
.ff-fact strong { margin-bottom: .12rem; color: #1a4651; font-size: .94rem; }
.ff-fact > div > span { color: #294e56; line-height: 1.42; }
.ff-fact > .ff-icon { display: grid; place-items: center; justify-self: center; align-self: center; width: 2.55rem; height: 2.55rem; border-radius: .5rem; color: #67952e; background: #edf4e4; }
.ff-icon svg { display: block; width: 1.7rem; height: 1.7rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }
.ff-summary { margin: 1rem 0; color: #213e45; line-height: 1.53; }
.ff-details { margin-top: .9rem; }
.ff-details summary { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; color: #1a4651; background: #eef3f3; border-radius: .35rem; cursor: pointer; font-weight: 700; list-style: none; }
.ff-details summary::-webkit-details-marker { display: none; }
.ff-details summary::before { content: "▸"; color: #1a4651; transition: transform .15s ease; }
.ff-details[open] summary::before { transform: rotate(90deg); }
.ff-details dl { display: grid; grid-template-columns: minmax(8rem, 1fr) 2fr; gap: .5rem .8rem; margin: .9rem 0 0; font-size: .94rem; line-height: 1.42; }
.ff-details dt { font-weight: 700; }
.ff-details dd { margin: 0; }
.ff-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: .55rem 1rem; margin-top: 1rem; }
.ff-checked { margin: 0; color: #294e56; font-size: .88rem; }
.ff-card a { color: #1a4651; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.ff-card a:hover { color: #668b34; }
.ff-teamkiste-stamp { position: absolute; top: 0; right: 0; display: flex; align-items: center; gap: .35rem; max-width: 12rem; margin: 0; padding: .35rem .65rem; color: #426218; background: #edf4e4; border-radius: 0 0 0 .45rem; font-size: .75rem; font-weight: 700; line-height: 1.2; }
.ff-teamkiste-stamp .ff-icon { width: 1.3rem; height: 1.3rem; background: transparent; }
.ff-teamkiste-stamp .ff-icon svg { width: 1rem; height: 1rem; }
.ff-teamkiste-stamp + h2 { padding-right: 8rem; }
.ff-disclaimer, .ff-unavailable { margin-top: 1.5rem; padding: 1rem; background: #fff8df; border-left: .25rem solid #7c9e4d; line-height: 1.55; }
.ff-card[hidden] { display: none; }
.ff-seo-info, .ff-faq { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #dce3e0; line-height: 1.55; }
.ff-seo-info h2, .ff-faq h2 { color: #1a4651; font-size: 1.4rem; }
.ff-faq h3 { margin: 1.2rem 0 .3rem; color: #1a4651; font-size: 1.05rem; }
.ff-faq p { margin: 0; }
.ff-detail-header { padding: 1rem max(1.25rem, calc((100% - 72rem) / 2)); background: #fff; border-bottom: 1px solid #dce3e0; }
.ff-detail-header img { display: block; width: 200px; height: auto; }
.ff-detail-page { max-width: 52rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; line-height: 1.55; }
.ff-detail-page nav { margin-bottom: 2rem; font-size: .9rem; }
.ff-detail-page a { color: #1a4651; text-underline-offset: .15em; }
.ff-detail-page h1 { color: #668b34; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.ff-detail-page h2 { margin-top: 2rem; color: #1a4651; font-size: 1.4rem; }
.ff-detail-eyebrow { color: #668b34; font-weight: 700; }
.ff-detail-summary { font-size: 1.1rem; }
.ff-detail-facts > div { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #dce3e0; }
.ff-detail-facts dt { font-weight: 700; }
.ff-detail-facts dd { margin: 0; }
.ff-detail-note { margin-top: 2rem; padding: 1rem; background: #fff8df; border-left: .25rem solid #7c9e4d; }
/* Match the green Teamkiste action buttons on cards and funding details. */
.ff-card-footer .ff-checked { flex-basis: 100%; }
.ff-card-footer a, .ff-detail-page > p > a { display: inline-block; box-sizing: border-box; max-width: 100%; padding: 16px 24px; border: 0; border-radius: 5px; background: #7ea13e; color: #fff; text-align: center; text-decoration: none; white-space: normal; font-family: "Teamkiste Yanone", "Arial Narrow", sans-serif; font-size: 21px; font-weight: 400; line-height: 1.3; }
.ff-card-footer a:hover, .ff-card-footer a:focus-visible, .ff-detail-page > p > a:hover, .ff-detail-page > p > a:focus-visible { background: #214f5a; color: #fff; }
.ff-card-footer a:focus-visible, .ff-detail-page > p > a:focus-visible { outline: 2px solid #214f5a; outline-offset: 3px; }
@media (max-width: 40rem) { .ff-detail-facts > div { display: block; } }
.ff-detail-header { padding: 1rem max(1.25rem, calc((100% - 72rem) / 2)); background: #fff; border-bottom: 1px solid #dce3e0; }
.ff-detail-header img { display: block; width: 200px; height: auto; }
.ff-detail-page { max-width: 52rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; line-height: 1.55; }
.ff-detail-page nav { margin-bottom: 2rem; font-size: .9rem; }
.ff-detail-page a { color: #1a4651; text-underline-offset: .15em; }
.ff-detail-page h1 { color: #668b34; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.ff-detail-page h2 { margin-top: 2rem; color: #1a4651; font-size: 1.4rem; }
.ff-detail-eyebrow { color: #668b34; font-weight: 700; }
.ff-detail-summary { font-size: 1.1rem; }
.ff-detail-facts > div { display: grid; grid-template-columns: minmax(10rem, 1fr) 2fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #dce3e0; }
.ff-detail-facts dt { font-weight: 700; }
.ff-detail-facts dd { margin: 0; }
.ff-detail-note { margin-top: 2rem; padding: 1rem; background: #fff8df; border-left: .25rem solid #7c9e4d; }
@media (max-width: 40rem) { .ff-detail-facts > div { display: block; } }
@media (min-width: 43rem) { #foerderfinder-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 66rem) { #foerderfinder-results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .ff-page { padding: 1.25rem .8rem 3rem; } .ff-card { padding: 1.15rem 1rem 1rem; } .ff-details dl { display: block; } .ff-details dd { margin: 0 0 .75rem; } .ff-card-footer { display: block; } .ff-card-footer a { display: inline-block; margin-top: .65rem; } }
