/* TRUST•FUTUR – Farben und Typografie */

/* ---------- Schrift ---------- */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/manrope-latin-400-normal.woff2') format('woff2'),
         url('fonts/manrope-latin-400-normal.woff') format('woff');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/manrope-latin-500-normal.woff2') format('woff2'),
         url('fonts/manrope-latin-500-normal.woff') format('woff');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/manrope-latin-600-normal.woff2') format('woff2'),
         url('fonts/manrope-latin-600-normal.woff') format('woff');
}

/* ---------- Farbvariablen ---------- */
:root {
    --tf-navy: #0B2545;
    --tf-navy-dark: #071A31;
    --tf-teal: #2E9BE6;
    --tf-teal-dark: #1B6FB3;
    --tf-amber: #F2A541;
    --tf-ink: #1E2A33;
    --tf-slate: #4A5D73;
    --tf-line: #DBE3EA;
    --tf-mist: #F0F4F7;
    --tf-white: #FFFFFF;
    --tf-radius: 8px;
    --tf-font: 'Manrope', Arial, Helvetica, sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ---------- Raster ---------- */
.tf-container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}
.tf-row { display: block; }
.tf-col { max-width: 940px; margin-left: auto; margin-right: auto; }
.tf-col-narrow { max-width: 760px; }
.tf-col-half { min-width: 0; }
.tf-row.mt-4 { margin-top: 1.5rem; }
.tf-row.mt-5 { margin-top: 3rem; }
.tf-row.pt-3 { padding-top: 1rem; }
.tf-row.pt-4 { padding-top: 1.5rem; }
@media (min-width: 992px) {
    .tf-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: center;
        max-width: 940px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 991px) {
    .tf-split > .tf-col-half + .tf-col-half { margin-top: 32px; }
}

/* ---------- Grundtypografie ---------- */
html body,
body .body {
    font-family: var(--tf-font) !important;
    color: var(--tf-ink) !important;
    font-size: 16px;
    line-height: 1.625;
    background-color: var(--tf-white);
}

body h1, body h2, body h3, body h4, body h5, body h6 {
    font-family: var(--tf-font) !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.25;
}

body h1 { font-size: 2.5rem; color: var(--tf-navy); }
body h2 { font-size: 2rem; color: var(--tf-navy); }
body h3 { font-size: 1.5rem; color: var(--tf-ink); }
body h4 { font-size: 1.25rem; color: var(--tf-ink); }

body p { color: var(--tf-ink); }

body a {
    color: var(--tf-teal-dark);
    font-weight: 500;
    text-decoration: none;
}
body a:hover,
body a:focus {
    color: var(--tf-navy);
    text-decoration: underline;
}

body .text-justify,
body p.text-justify,
body div.text-justify {
    text-align: left !important;
}

/* ---------- Theme-Farben ---------- */
html .bg-primary,
body .bg-primary {
    background-color: var(--tf-navy) !important;
    color: var(--tf-white) !important;
}
html .text-primary,
html .text-color-primary,
body .text-5, body .text-9,
body .text-blue-default,
body .ry {
    color: var(--tf-navy) !important;
}
html .border-color-primary {
    border-color: var(--tf-navy) !important;
}
body .text-color-light { color: var(--tf-white) !important; }
body .text-color-dark { color: var(--tf-ink) !important; }
body .text-color-default { color: var(--tf-ink) !important; }
body .text-p, body .text-gray, body .text-subtitle-gray { color: var(--tf-slate) !important; }
body .bg-blue { background-color: var(--tf-navy) !important; }
body .button-warning { background-color: var(--tf-navy) !important; }
body .button-warning i { color: var(--tf-white) !important; }
body .light-button:hover { background-color: var(--tf-teal-dark) !important; }
body hr { background-color: var(--tf-line) !important; height: 1px !important; border: 0; opacity: 1; }
body hr.tf-rule {
    width: 72px; height: 6px !important; margin: 20px 0 28px;
    border-radius: 3px;
    background: radial-gradient(circle at calc(100% - 3px) 50%, var(--tf-amber) 3px, transparent 3.5px),
                linear-gradient(90deg, var(--tf-teal) 0, var(--tf-teal) calc(100% - 14px), transparent calc(100% - 14px)) center / 100% 3px no-repeat !important;
    background-color: transparent !important;
}
body .tf-center hr.tf-rule { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--tf-white);
}
#header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}
#header .header-row,
#header .header-column { display: contents; }
#header .header-nav-main nav > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
#header .header-nav-main nav > ul > li > a {
    display: inline-block;
    padding: 10px 12px;
    position: relative;
    white-space: nowrap;
}
#header .header-nav-main nav > ul > li > a::before {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 2px;
    background: var(--tf-teal);
    transform: scaleX(0);
    transition: transform .18s ease;
}
#header .header-nav-main nav > ul > li > a:hover::before,
#header .header-nav-main nav > ul > li > a.active::before { transform: scaleX(1); }
#header .header-nav-main nav > ul > li > a:hover { text-decoration: none; }
@media (min-width: 992px) {
    #header .header-btn-collapse-nav { display: none !important; }
    #header .header-nav-main nav { display: block !important; }
}
/* Burger-Symbol */
#header .header-btn-collapse-nav {
    background: transparent !important;
    border: 1px solid var(--tf-line);
    border-radius: var(--tf-radius);
    color: var(--tf-navy) !important;
    padding: 10px 12px;
    line-height: 0;
    cursor: pointer;
}
#header .header-btn-collapse-nav:hover { border-color: var(--tf-teal); }
.tf-burger {
    display: inline-flex; flex-direction: column; justify-content: center;
    gap: 4px; width: 22px; height: 16px;
}
.tf-burger span { display: block; height: 2px; background: currentColor; border-radius: 1px; }

#header .header-body {
    background-color: var(--tf-white);
    border-bottom: 1px solid var(--tf-line) !important;
    box-shadow: none;
}
#header .header-nav-main nav > ul > li > a {
    font-family: var(--tf-font);
    font-weight: 500;
    font-size: 15px;
    color: var(--tf-navy) !important;
    text-transform: none;
}
#header .header-nav-main nav > ul > li > a:hover,
#header .header-nav-main nav > ul > li > a.active {
    color: var(--tf-teal-dark) !important;
    background: transparent !important;
}
#header .header-nav.header-nav-line nav > ul li:hover > a:before,
#header .header-nav.header-nav-line nav > ul:not(:hover) li > a.active:before {
    background: var(--tf-teal) !important;
}

#header .header-logo img {
    width: auto !important;
    height: 44px;
    max-width: 190px;
}
#header.sticky-header-active .header-logo img,
#header .header-body.sticky-header-active .header-logo img { height: 36px; }
@media (max-width: 991px) {
    #header .header-logo img { height: 38px; }
}

/* ---------- Hero ---------- */
.tf-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 1px 1px, rgba(11, 37, 69, 0.09) 1px, transparent 0) 0 0 / 24px 24px,
        linear-gradient(180deg, #FFFFFF 0%, var(--tf-mist) 100%);
    border-bottom: 1px solid var(--tf-line);
}
.tf-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 88px;
}
.tf-hero .tf-hero-tag {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--tf-white);
    border: 1px solid var(--tf-line);
    border-radius: 999px;
    padding: 6px 14px;
    color: var(--tf-navy);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.tf-hero-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tf-amber); }
.tf-hero h1 {
    color: var(--tf-navy) !important;
    font-size: 3rem;
    line-height: 1.12;
    margin: 0 0 20px;
}
.tf-hero h1 .tf-hl { color: var(--tf-teal-dark); }
.tf-hero p { color: var(--tf-slate) !important; font-size: 1.125rem; line-height: 1.7; margin: 0 0 32px; max-width: 34em; }
.tf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.tf-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 24px; border-radius: 10px;
    font-weight: 600 !important; font-size: 0.9375rem;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
body a.tf-btn:hover, body a.tf-btn:focus { text-decoration: none; }
body a.tf-btn-primary { background: var(--tf-navy); color: var(--tf-white); border: 1px solid var(--tf-navy); }
body a.tf-btn-primary:hover { background: var(--tf-teal-dark); border-color: var(--tf-teal-dark); color: var(--tf-white); }
body a.tf-btn-ghost { background: var(--tf-white); color: var(--tf-navy); border: 1px solid var(--tf-line); }
body a.tf-btn-ghost:hover { border-color: var(--tf-teal); color: var(--tf-teal-dark); }
.tf-hero-facts {
    list-style: none; margin: 0; padding: 24px 0 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    border-top: 1px solid var(--tf-line);
}
.tf-hero-facts strong { display: block; color: var(--tf-navy); font-weight: 600; font-size: 0.9375rem; }
.tf-hero-facts span { display: block; color: var(--tf-slate); font-size: 0.8125rem; margin-top: 2px; }

.tf-hero-visual { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.tf-hero-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.tf-plate { animation: tf-float 6s ease-in-out infinite; }
.tf-plate-1 { animation-delay: -2s; }
.tf-plate-2 { animation-delay: -4s; }
@keyframes tf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.tf-chip {
    position: absolute;
    background: var(--tf-white);
    border: 1px solid var(--tf-line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.75rem; font-weight: 600; color: var(--tf-navy);
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.08);
    white-space: nowrap;
}
.tf-chip-a { top: 18%; left: 0; }
.tf-chip-b { top: 50%; right: -2%; }
.tf-chip-c { top: 80%; left: 2%; }
.tf-chip-ok {
    top: 4%; right: 6%;
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--tf-navy); color: var(--tf-white); border-color: var(--tf-navy);
}
.tf-chip-ok svg { width: 14px; height: 14px; fill: none; stroke: var(--tf-amber); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 991px) {
    .tf-hero-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 64px; }
    .tf-hero h1 { font-size: 2.25rem; }
    .tf-hero-visual { max-width: 420px; }
}
@media (max-width: 575px) {
    .tf-hero h1 { font-size: 1.875rem; }
    .tf-hero-facts { grid-template-columns: 1fr; gap: 12px; }
    .tf-chip { font-size: 0.6875rem; padding: 5px 10px; }
    .tf-chip-b { right: 0; }
}

/* ---------- Abschnitte ---------- */
.tf-section { padding: 88px 0; }
.tf-section-mist { background-color: var(--tf-mist); }
.tf-section-navy { background-color: var(--tf-navy); }
.tf-section-navy h2,
.tf-section-navy h3 { color: var(--tf-white) !important; }
.tf-section-navy p,
.tf-section-navy li { color: #CFE3EC !important; }
.tf-lead { font-size: 1.125rem; color: var(--tf-slate); max-width: 68ch; }
.tf-section-navy .tf-lead { color: #CFE3EC !important; }
.tf-body { max-width: 72ch; }
.tf-body p { margin-bottom: 18px; }
.tf-center { text-align: center; }
.tf-center .tf-lead,
.tf-center .tf-body { margin-left: auto; margin-right: auto; }

.tf-head { text-align: center; }
.tf-lineage { margin: 14px auto 0; font-size: 1rem; color: var(--tf-slate); }
.tf-lineage a { color: var(--tf-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tf-lineage a:hover { color: var(--tf-navy, #0B2545); }
.tf-head hr.tf-rule { margin-left: auto; margin-right: auto; }
.tf-head .tf-lead { margin-left: auto; margin-right: auto; }

.tf-head .tf-body { text-align: left; margin-left: auto; margin-right: auto; }
.tf-head .tf-body .tf-lead { text-align: center; }

.tf-split { align-items: center; }

/* ---------- Projektdaten ---------- */
.tf-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    background: var(--tf-navy);
    border-radius: 18px;
    padding: 8px;
    position: relative;
    overflow: hidden;
}
.tf-facts::after {
    content: ""; position: absolute; right: -78px; top: -78px;
    width: 150px; height: 150px; transform: rotate(45deg);
    border: 2px solid rgba(124, 194, 242, 0.25);
}
.tf-facts > div { padding: 22px 26px; position: relative; z-index: 1; }
.tf-facts > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.tf-facts dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tf-teal-light, #7CC2F2);
    margin-bottom: 8px;
}
.tf-facts dd { margin: 0; font-size: 1rem; color: var(--tf-white); font-weight: 500; }

.tf-figure { margin: 8px 0 0; }
.tf-figure.tf-figure-plain img { border: 0; border-radius: 0; }
.tf-figure img {
    width: 100%; height: auto; display: block;
    border: 1px solid var(--tf-line);
    border-radius: 12px;
}
.tf-figure figcaption {
    font-size: 0.875rem; color: var(--tf-slate); margin-top: 10px;
}

/* ---------- Merkmal-Karten ---------- */
.tf-cards { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.tf-card {
    display: grid; grid-template-columns: 64px 1fr; gap: 4px 20px; align-items: start; align-content: start;
    background: var(--tf-white);
    border: 1px solid var(--tf-line);
    border-radius: 18px;
    padding: 26px 28px;
    transition: border-color .15s ease, transform .15s ease;
}
.tf-card:hover { border-color: var(--tf-teal); transform: translateY(-2px); }
.tf-card .tf-card-icon {
    grid-row: span 2;
    width: 46px; height: 46px; margin: 9px;
    transform: rotate(45deg);
    border-radius: 8px;
    background: var(--tf-navy);
    color: var(--tf-white);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 6px rgba(46, 155, 230, 0.16);
}
.tf-card .tf-card-icon svg { width: 22px; height: 22px; transform: rotate(-45deg); color: #7CC2F2; }
.tf-card h3 { font-size: 1.125rem; margin: 2px 0 6px; }
.tf-card p { font-size: 0.9375rem; color: var(--tf-slate); margin: 0; }

/* ---------- Arbeitspakete ---------- */
.tf-ap { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.tf-ap-item {
    background: var(--tf-white);
    border: 1px solid var(--tf-line);
    border-left: 4px solid var(--tf-teal);
    border-radius: 0;
    padding: 22px 24px;
}
.tf-ap-item .tf-ap-no {
    font-size: 0.8125rem; font-weight: 500; color: var(--tf-teal-dark);
    display: block; margin-bottom: 4px;
}
.tf-ap-item h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.tf-ap-item p { font-size: 0.9375rem; color: var(--tf-slate); margin: 0; }

/* ---------- Partner ---------- */
.tf-tag {
    display: inline-block;
    background: var(--tf-navy);
    color: var(--tf-white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: 999px;
}
.tf-tag-light { background: rgba(46, 155, 230, 0.14); color: var(--tf-teal-dark); }
.tf-partner-place { color: var(--tf-teal-dark); font-weight: 500; font-size: 0.875rem; margin-bottom: 12px; }
.tf-partner-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.9375rem; margin-top: auto;
}
.tf-partner-link svg {
    width: 16px; height: 16px; fill: none; stroke: currentColor;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    transition: transform .15s ease;
}
.tf-partner-link:hover svg { transform: translateX(3px); }

.tf-lead-partner {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--tf-white);
    border: 1px solid var(--tf-line);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}
.tf-lead-partner-logo {
    display: flex; align-items: center; justify-content: center;
    padding: 32px;
    border-right: 1px solid var(--tf-line);
    position: relative;
}
.tf-lead-partner-logo img { max-width: 100%; max-height: 150px; height: auto; }
.tf-lead-partner-body { padding: 32px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.tf-lead-partner-body .tf-tag { margin-bottom: 14px; }
.tf-lead-partner-body h3 { margin: 0 0 4px; }
.tf-lead-partner-body p { color: var(--tf-slate); }

.tf-partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tf-partner-card {
    display: flex; flex-direction: column;
    background: var(--tf-white);
    border: 1px solid var(--tf-line);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tf-partner-card:hover { border-color: var(--tf-teal); box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08); }
.tf-partner-card-logo {
    height: 120px;
    display: flex; align-items: center; justify-content: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--tf-line);
}
.tf-partner-card-logo img { max-width: 220px; max-height: 66px; width: auto; height: auto; }
.tf-partner-card-body { padding: 24px 28px 26px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.tf-partner-card-body h3 { font-size: 1.25rem; margin: 0 0 4px; }
.tf-partner-card-body p, .tf-lead-partner-body p { margin: 0 0 16px; }
.tf-partner-card-body .tf-partner-place, .tf-lead-partner-body .tf-partner-place { margin-bottom: 12px; color: var(--tf-teal-dark); }
.tf-partner-card-body p { color: var(--tf-slate); font-size: 0.9375rem; }

/* ---------- News (Mittelachse, abwechselnd links/rechts) ---------- */
.tf-stories { list-style: none; margin: 0; padding: 0; position: relative; }
.tf-stories::before {
    content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; margin-left: -1px; background: var(--tf-line);
}
.tf-story { position: relative; width: 50%; padding-right: 48px; }
.tf-story:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 48px; }
.tf-story + .tf-story { margin-top: -150px; }
.tf-story-dot {
    position: absolute; top: 36px; right: -8px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--tf-white); border: 3px solid var(--tf-teal);
    z-index: 1;
}
.tf-story:nth-child(even) .tf-story-dot { right: auto; left: -8px; }
.tf-story-card {
    background: var(--tf-white);
    border: 1px solid var(--tf-line);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tf-story-card:hover { border-color: var(--tf-teal); box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08); }
.tf-story-media img { width: 100%; height: 170px; object-fit: cover; display: block; }
.tf-story-body { padding: 22px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.tf-story-date { font-size: 0.8125rem; font-weight: 600; color: var(--tf-teal-dark); margin-bottom: 6px; }
.tf-story-body h3 { font-size: 1.125rem; margin: 0 0 8px; }
.tf-story-body h3 a { color: var(--tf-navy); font-weight: 600; }
.tf-story-body p { font-size: 0.9375rem; color: var(--tf-slate); margin: 0 0 14px; }

/* ---------- Termine (Zeitleiste) ---------- */
.tf-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.tf-timeline::before {
    content: ""; position: absolute; left: 96px; top: 8px; bottom: 8px;
    width: 2px; background: var(--tf-line);
}
.tf-event { display: grid; grid-template-columns: 80px 1fr; gap: 40px; align-items: center; position: relative; }
.tf-event + .tf-event { margin-top: 24px; }
.tf-event::before {
    content: ""; position: absolute; left: 90px; top: 50%;
    width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
    background: var(--tf-white); border: 2px solid var(--tf-teal);
}
.tf-event-next::before { background: var(--tf-amber); border-color: var(--tf-amber); box-shadow: 0 0 0 6px rgba(242, 165, 65, 0.22); }
.tf-event-date { text-align: right; line-height: 1.1; }
.tf-event-day { display: block; font-size: 2.25rem; font-weight: 600; color: var(--tf-navy); }
.tf-event-month { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--tf-slate); margin-top: 4px; }
.tf-event-card {
    background: var(--tf-white); border: 1px solid var(--tf-line);
    border-radius: 16px; padding: 20px 24px;
}
.tf-event-label {
    display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
    color: #8A5A12; background: rgba(242, 165, 65, 0.18);
    padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.tf-event-card h3 { font-size: 1.25rem; margin: 0 0 4px; }
.tf-event-place { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--tf-teal-dark); font-weight: 500; font-size: 0.9375rem; }
.tf-event-place svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tabelle Termine ---------- */
.tf-table { width: 100%; border-collapse: collapse; background: var(--tf-white); }
.tf-table th {
    text-align: left; font-weight: 500; font-size: 0.8125rem;
    color: var(--tf-slate); padding: 12px 16px;
    border-bottom: 2px solid var(--tf-line);
}
.tf-table td {
    padding: 14px 16px; border-bottom: 1px solid var(--tf-line);
    font-size: 0.9375rem; color: var(--tf-ink); vertical-align: top;
}
.tf-table tbody tr:hover { background: var(--tf-mist); }

/* ---------- Veröffentlichungen ---------- */
.tf-pub { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.tf-pub:first-child { padding-top: 0; }
.tf-pub:last-child { border-bottom: 0; }
.tf-pub h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; margin: 0 0 8px; }
.tf-pub p { font-size: 0.9375rem; line-height: 1.6; margin: 0; }
.tf-pub strong { color: var(--tf-white); font-weight: 600; }
.tf-pub em { font-style: italic; }
.tf-pub a { word-break: break-word; }
.tf-pub h3 a { font-weight: 600; text-underline-offset: 3px; }
.tf-pub-prev { margin-top: 40px; }
.tf-pub-prev h3.tf-pub-prev-title { font-size: 1.375rem; margin: 0 0 10px; }
.tf-pub-prev-intro { font-size: 0.9375rem; margin: 0 0 20px; }
.tf-section-navy .tf-pub-prev-intro a { color: #7CC2F2 !important; }
.tf-pub-more summary {
    display: inline-flex; align-items: center; gap: 10px;
    cursor: pointer; list-style: none;
    padding: 10px 18px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--tf-white); font-weight: 600; font-size: 0.9375rem;
}
.tf-pub-more summary::-webkit-details-marker { display: none; }
.tf-pub-more summary::after { content: "+"; font-size: 1.125rem; line-height: 1; color: #7CC2F2; }
.tf-pub-more[open] summary::after { content: "\2212"; }
.tf-pub-more summary:hover { border-color: #7CC2F2; }
.tf-pub-more[open] summary { margin-bottom: 8px; }
.tf-pub-year { font-size: 0.8125rem !important; font-weight: 600 !important; letter-spacing: 0.08em; color: #7CC2F2 !important; margin: 28px 0 0 !important; }
.tf-pub-more .tf-pub:first-of-type { padding-top: 14px; }
.tf-section-navy .tf-pub a { color: var(--tf-teal) !important; }

/* ---------- Kontakt / Förderung ---------- */
.tf-contact-box {
    background: var(--tf-mist);
    border-radius: 12px;
    padding: 44px 40px;
    text-align: center;
}
.tf-contact-box a { font-size: 1.125rem; }
.tf-contact-box hr.tf-rule { margin-left: auto; margin-right: auto; }
.tf-funding { text-align: center; padding: 64px 0; }
.tf-funding-label { display: block; font-size: 0.8125rem; color: var(--tf-slate); margin-bottom: 10px; }
.tf-funding img { max-width: 280px; width: 100%; height: auto; }
.tf-funding p { font-size: 0.875rem; color: var(--tf-slate); max-width: 62ch; margin: 20px auto 0; }

/* ---------- Footer ---------- */
#footer .footer-copyright,
#footer .footer-copyright.bg-primary {
    background-color: var(--tf-navy) !important;
    border-top: 0;
}
#footer .footer-copyright p,
#footer .footer-copyright a {
    color: #CFE3EC !important;
    font-size: 0.875rem;
    text-transform: none;
    font-weight: 400;
    margin: 0;
}
#footer .footer-copyright a:hover { color: var(--tf-white) !important; }
.tf-footer-row {
    display: flex; flex-wrap: wrap; gap: 12px 28px;
    align-items: center; justify-content: space-between;
    padding: 26px 0;
}
.tf-footer-links { display: flex; gap: 24px; }

/* ---------- Rechtstexte ---------- */
.tf-legal { max-width: 78ch; padding: 64px 0 88px; }
.tf-legal h2 { margin-bottom: 8px; }
.tf-legal h3 { font-size: 1.25rem; margin: 40px 0 12px; }
.tf-legal h4 { font-size: 1.0625rem; margin: 26px 0 8px; }
.tf-legal p, .tf-legal li { color: var(--tf-ink); }
.tf-legal ol, .tf-legal ul { padding-left: 20px; }
.tf-legal li { margin-bottom: 8px; }
.tf-legal .tf-legal-caps { font-size: 0.875rem; color: var(--tf-slate); }

/* ---------- Artikelseiten ---------- */
.tf-article { max-width: 76ch; padding: 64px 0 88px; }
.tf-article .tf-news-date { margin-bottom: 20px; font-size: 0.9375rem; }
.tf-article img { width: 100%; height: auto; border-radius: 12px; margin: 28px 0 10px; }
.tf-article figcaption { font-size: 0.875rem; color: var(--tf-slate); margin-bottom: 28px; }

/* ---------- Fokus ---------- */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--tf-teal);
    outline-offset: 2px;
}
.tf-skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--tf-navy); color: #fff; padding: 12px 20px;
}
.tf-skip-link:focus { left: 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 991px) {
    #header .header-container { min-height: 60px; padding-block: 10px; }
    #header .header-body { position: relative; }
    #header .header-nav { display: flex; align-items: center; justify-content: flex-end; }
    #header .header-nav-main {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--tf-white);
        border-bottom: 1px solid var(--tf-line);
        box-shadow: 0 10px 24px rgba(11, 37, 69, 0.10);
        padding: 4px 16px 10px;
    }
    #header .header-nav-main nav { width: 100%; }
    #header .header-nav-main nav > ul { flex-direction: column; gap: 0; }
    #header .header-nav-main nav > ul > li { width: 100%; }
    #header .header-nav-main nav > ul > li > a {
        display: block;
        padding: 12px 4px;
        border-bottom: 1px solid var(--tf-line);
    }
    #header .header-nav-main nav > ul > li > a::before { display: none; }
    #header .header-nav-main nav { display: none; }
    #header.tf-nav-open .header-nav-main nav { display: block; }
    #header.tf-nav-open .header-nav-main { width: 100%; }
}
@media (max-width: 991px) {
    
    .tf-news { grid-template-columns: repeat(2, 1fr); }
    .tf-section { padding: 64px 0; }
}
@media (max-width: 767px) {
    .tf-cards, .tf-ap, .tf-news { grid-template-columns: 1fr; }
    .tf-stories::before { left: 7px; }
    .tf-story, .tf-story:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 0 36px; }
    .tf-story + .tf-story { margin-top: 24px; }
    .tf-story-dot, .tf-story:nth-child(even) .tf-story-dot { left: 0; right: auto; }
    .tf-timeline::before { left: 70px; }
    .tf-event { grid-template-columns: 52px 1fr; gap: 40px; }
    .tf-event::before { left: 64px; }
    .tf-event-day { font-size: 1.75rem; }
    .tf-facts { grid-template-columns: 1fr; }
    .tf-facts > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
    .tf-lead-partner, .tf-partner-grid { grid-template-columns: 1fr; }
    .tf-lead-partner-logo { border-right: 0; border-bottom: 1px solid var(--tf-line); }
    .tf-lead-partner-body { padding: 26px 22px; }
    .tf-lead-partner-logo { padding: 20px; }
    .tf-lead-partner-logo img { max-height: 110px; }
    body h2 { font-size: 1.625rem; }
    .tf-contact-box { padding: 32px 22px; }
    .tf-footer-row { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- Assoziierte Partner ---------- */
.tf-assoc {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
    margin-top: 24px; padding: 18px 24px;
    border: 1px dashed #B9C6D3; border-radius: 16px;
}
.tf-assoc p { margin: 0; color: var(--tf-slate); font-size: 0.9375rem; }
.tf-assoc strong { color: var(--tf-ink); font-weight: 600; }

.tf-partner-card-logo img[src*="hsb"] { max-height: 78px; }
