/* Institutsauftritt: Ergänzung zum freigegebenen genres-Stylesheet. */
.institut-site .head .brand {width:auto;max-width: min(65vw, 470px);}
.institut-site .institut-logo {display:block;width:100%;max-width:410px;height:auto;max-height:85px;object-fit:contain;object-position:left center;}
.institut-site .head.is-compact .institut-logo {max-height:60px;}
.institut-site .institut-hero {background:#eaf3f7;padding:clamp(2rem,5vw,4.5rem) 0;border-bottom:4px solid #006DA2;}
.institut-site .institut-hero h1 {font-size:clamp(1.9rem,4.4vw,3.5rem);line-height:1.16;max-width:26ch;color:#004c74;margin:0 0 1.5rem;overflow-wrap:break-word;hyphens:auto;}
.institut-site .institut-hero p:not(.eyebrow) {max-width:85ch;line-height:1.7;margin:0 0 1rem;}
.institut-site .institut-lead {font-size:1.17rem;font-weight:700;}
.institut-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2rem);margin-top:1.5rem;}
.institut-card {display:flex;flex-direction:column;align-items:flex-start;min-width:0;border:1px solid #c8d6dc;border-top:4px solid #006DA2;padding:clamp(1rem,2vw,1.6rem);background:#fff;}
.institut-card:nth-child(2) {border-top-color:#127e77;}
.institut-card .mini-logo {display:block;object-fit:contain;object-position:left center;width:100%;height:90px;margin:0 0 1rem;}
.institut-card .mini-photo {width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0 0 1rem;}
.institut-card h3 {font-size:1.35rem;line-height:1.3;margin:.5rem 0;overflow-wrap:anywhere;}
.institut-card .linkline {margin-top:auto;padding-top:.8rem;text-decoration:underline;}
.institut-site a:focus-visible,.institut-site button:focus-visible,.institut-site input:focus-visible,.institut-site textarea:focus-visible,.institut-site summary:focus-visible {outline:3px solid #004c74 !important;outline-offset:4px;}
.institut-site main {scroll-margin-top:110px;}
.institut-site section[id] {scroll-margin-top:110px;}
.institut-site .checkline label {margin:0;}
.institut-site .contact-note p,.institut-site .field-help {overflow-wrap:anywhere;}
.institut-site .footer-identity p:first-child {font-weight:700;}
@media(max-width:730px){.institut-grid {grid-template-columns:1fr;}.institut-site .institut-logo {max-height:65px;}.institut-site .institut-hero h1{font-size:2rem;}}
@media(prefers-reduced-motion:reduce){.institut-site *{scroll-behavior:auto!important;transition:none!important;animation:none!important;}}
.institut-site .head .brand {flex:0 1 410px;max-width: min(65vw, 410px);}
.institut-site .head.is-compact .brand {flex-basis:300px;max-width:min(65vw,300px);}
.institut-site .menu a {font-weight:400;}
.institut-site .legal-content h1,.institut-site .legal-content h2,.institut-site .section h2 {overflow-wrap:anywhere;hyphens:auto;}
.institut-site .skip-link:focus {position:fixed;left:12px;top:12px;z-index:1000;}
@media(max-width:1120px){.institut-site .head .brand,.institut-site .head.is-compact .brand {flex:0 1 300px;max-width:calc(100% - 95px);}}

/* 1.1: gemeinsame Fluchtlinien für sämtliche Inhaltscontainer */
.institut-site .head > .wrap,.institut-site main > section > .wrap,.institut-site footer.genres-footer > .wrap,.institut-site main > .wrap {width:min(1120px,calc(100% - 64px));max-width:1120px;margin-inline:auto;padding-inline:0;}
.institut-site .institut-hero h1 {max-width:100%;font-size:clamp(1.65rem,4.4vw,3.5rem);line-height:1.18;hyphens:manual;overflow-wrap:normal;word-break:normal;text-wrap:balance;}
.institut-site .institut-lead {font-weight:400;font-size:1rem;}
.institut-site .institut-hero p {font-size:1rem;}
.institut-site section[id],.institut-site main {scroll-margin-top:130px;}
.institut-topics {background:#f4f7f8;border-top:1px solid #dce5e8;}
.topics-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,2.5vw,1.75rem);align-items:start;}
.topic-card {min-width:0;background:#fff;border:1px solid #c8d6dc;border-top:4px solid #006da2;}
.topic-card:nth-child(2),.topic-card:nth-child(3){border-top-color:#127e77;}
.topic-card summary {display:flex;flex-direction:column;gap:.65rem;min-height:210px;cursor:pointer;padding:clamp(1rem,2.5vw,1.6rem);list-style:none;}
.topic-card summary::-webkit-details-marker {display:none;}
.topic-card summary h3 {margin:0;line-height:1.35;hyphens:auto;overflow-wrap:break-word;color:#004c74;}
.topic-card summary p {margin:0;line-height:1.65;}
.topic-action {display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:auto;padding-top:.65rem;color:#004c74;font-weight:700;text-decoration:underline;text-underline-offset:.2em;}
.topic-symbol {width:14px;height:14px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);flex:none;margin-right:.35rem;}
.topic-close,.topic-card[open] .topic-open {display:none;}
.topic-card[open] .topic-close {display:inline;}
.topic-card[open] .topic-symbol {transform:rotate(225deg);}
.topic-content {padding:1.3rem clamp(1rem,2.5vw,1.6rem);border-top:1px solid #c8d6dc;overflow-wrap:anywhere;}
.topic-content p:last-child {margin-bottom:0;}
.partner-offer {border-left:4px solid #127e77;padding:1rem;background:#f1f6f6;}
.partner-offer h4 {font-size:1rem;margin:0 0 .8rem;line-height:1.4;}
.institut-site .topic-card summary:focus-visible {outline-offset:-5px;}
@media(max-width:730px){.institut-site .head > .wrap,.institut-site main > section > .wrap,.institut-site footer.genres-footer > .wrap,.institut-site main > .wrap{width:calc(100% - 34px)}.topics-grid{grid-template-columns:minmax(0,1fr)}.topic-card summary{min-height:0}.institut-site .institut-hero h1{font-size:clamp(1.65rem,6.5vw,2.5rem);overflow-wrap:break-word}.institut-site section[id],.institut-site main{scroll-margin-top:100px}}
@media(max-width:360px){.institut-site .head > .wrap,.institut-site main > section > .wrap,.institut-site footer.genres-footer > .wrap,.institut-site main > .wrap{width:calc(100% - 28px)}}
/* Überschriften außerhalb der nativen Aufklappsteuerung bleiben für Screenreader navigierbar. */
.topic-tile {min-width:0;background:#fff;border:1px solid #c8d6dc;border-top:4px solid #006da2;}
.topic-tile:nth-child(2),.topic-tile:nth-child(3){border-top-color:#127e77;}
.topic-tile > h3 {padding:clamp(1rem,2.5vw,1.6rem) clamp(1rem,2.5vw,1.6rem) 0;margin:0;line-height:1.35;color:#004c74;hyphens:auto;overflow-wrap:break-word;}
.topic-tile .topic-card{border:0;background:transparent;}
.topic-tile .topic-card summary{min-height:140px;padding-top:.65rem;}
.topic-teaser{display:block;line-height:1.65;}
@media(max-width:730px){.topic-tile .topic-card summary{min-height:0}}
/* Bei extremer Textvergrößerung nur dann umbrechen, wenn ein Wort nicht mehr passt. */
.institut-site .institut-hero h1{overflow-wrap:break-word;}

/* 1.3 – visuelle Eigenständigkeit, abgeleitet vom Originalsignet. */
.institut-site .institut-hero {background:linear-gradient(110deg,#f3f8fa 0%,#e5f1f3 100%);position:relative;isolation:isolate;}
.institut-site .institut-hero > .wrap {position:relative;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);column-gap:clamp(1.5rem,5vw,4rem);align-items:start;}
.institut-site .institut-hero > .wrap::after {content:"";grid-column:2;grid-row:1 / 5;align-self:center;aspect-ratio:1;display:block;background:url('assets/favicon.svg') center / contain no-repeat;opacity:.78;pointer-events:none;}
.institut-site .institut-hero > .wrap > * {grid-column:1;min-width:0;}
.institut-site .institut-hero h1 {font-size:clamp(2rem,3.8vw,3.3rem);text-wrap:balance;text-align:left;}
.institut-site .institut-hero p {max-width:70ch;}
.institut-site .head:not(.is-compact) .institut-logo {max-width:410px;max-height:90px;}
.institut-site .institut-card {padding:0;border:0;border-bottom:2px solid #006da2;background:#f4f8fa;}
.institut-site .institut-card:nth-child(2){border-bottom-color:#127e77;background:#f1f7f6;}
.institut-site .institut-card .mini-logo {width:calc(100% - 3rem);height:100px;margin:.75rem 1.5rem;}
.institut-site .institut-card .mini-photo {aspect-ratio:16/9;width:100%;margin:0;}
.institut-site .institut-card h3,.institut-site .institut-card p,.institut-site .institut-card .linkline {margin-inline:clamp(1rem,2.5vw,1.6rem);}
.institut-site .institut-card h3 {margin-top:1.4rem;}
.institut-site .institut-card .linkline {padding-bottom:1.5rem;}
.institut-site .institut-topics {background:#eaf2f4;}
.institut-site .topic-tile {--tile:#005a86;--tile-accent:#e1f2fa;position:relative;border:0;border-radius:2px;background:var(--tile);color:#fff;}
.institut-site .topic-tile:nth-child(2),.institut-site .topic-tile:nth-child(3){--tile:#106b65;--tile-accent:#d9f2ed;}
.institut-site .topic-tile > h3 {color:#fff;position:relative;isolation:isolate;min-height:5.3rem;padding-top:1.5rem;font-size:clamp(1.25rem,2vw,1.55rem);}
.institut-site .topic-tile > h3::after {content:"";position:absolute;z-index:-1;right:0;top:0;width:7rem;height:5.5rem;background:url('assets/favicon.svg') right -2rem top -2rem / 8rem auto no-repeat;opacity:.13;pointer-events:none;}
.institut-site .topic-tile .topic-card summary {color:#fff;min-height:155px;padding-top:.5rem;}
.institut-site .topic-tile .topic-action {color:#fff;border-top:1px solid #ffffff80;margin-top:auto;padding-top:.9rem;}
.institut-site .topic-tile .topic-card summary:hover {background:#ffffff0b;}
.institut-site .topic-tile .topic-card summary:focus-visible {outline:3px solid #fff!important;outline-offset:-5px;}
.institut-site .topic-tile .topic-content {background:#fff;color:#153c4b;border:1px solid #c8d6dc;border-top:0;}
.institut-site .topic-tile .topic-content a:focus-visible {outline-color:#004c74!important;}
@media(max-width:900px){.institut-site .institut-hero > .wrap{grid-template-columns:minmax(0,1fr);}.institut-site .institut-hero > .wrap::after{display:none;}.institut-site .institut-hero h1{max-width:26ch;}}
@media(max-width:730px){.institut-site .topic-tile > h3{min-height:0;}.institut-site .topic-tile .topic-card summary{min-height:0;}.institut-site .institut-card .mini-logo{height:75px;}}
@media(prefers-reduced-motion:reduce){.institut-site *{transition:none!important;animation:none!important;scroll-behavior:auto!important;}}
@media(min-width:731px) and (max-width:900px){.institut-site .topic-tile > h3{min-height:7.2rem;}.institut-site .topic-tile .topic-card summary{min-height:180px;}}

/* 1.5 – Einzeilige, breit verteilte Fußzeile; Umbruch nur bei Platzmangel. */
.institut-site footer.genres-footer{padding:36px 0 20px;}
.institut-site footer.genres-footer > .wrap{width:calc(100% - 64px);max-width:1550px;}
.institut-site footer.genres-footer .genres-footer-grid.footer-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr) minmax(0,.8fr) minmax(0,1.7fr) minmax(0,1.15fr);gap:clamp(16px,2.2vw,40px);align-items:start;margin:0 0 1.5rem;}
.institut-site footer.genres-footer .genres-footer-grid.footer-row > *{min-width:0;width:auto;max-width:100%;margin:0;padding:0;justify-self:stretch;}
.institut-site footer.genres-footer .footer-logo-group .footer-label{min-height:2.5em;margin-bottom:.4rem;line-height:1.35;}
.institut-site footer.genres-footer .footer-logo-group .footer-mark{height:100px;min-height:0;padding:0;justify-content:flex-start;gap:10px;}
.institut-site footer.genres-footer .footer-quality .footer-certificates{width:100%;gap:8px;}
.institut-site footer.genres-footer .footer-quality .footer-certificates > img{width:calc((100% - 8px)/2);height:auto;max-height:65px;max-width:65px;object-fit:contain;flex:0 1 auto;}
.institut-site footer.genres-footer .footer-membership .footer-logo-link{max-width:100%;}
.institut-site footer.genres-footer .footer-membership .footer-logo-link img.footer-sign{width:145px;max-width:100%;height:auto;}
.institut-site footer.genres-footer .footer-participation .footer-partner-logos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:12px;}
.institut-site footer.genres-footer .footer-participation .footer-partner-logos>a{min-width:0;max-width:100%;width:100%;}
.institut-site footer.genres-footer .footer-participation .footer-partner-logos>a img{width:100%;max-width:170px;height:auto;}
.institut-site footer.genres-footer .footer-landesmarketing .footer-mark a{width:100%;max-width:100%;}
.institut-site footer.genres-footer .footer-landesmarketing .footer-mv-sign{width:220px;max-width:100%;height:auto;}
.institut-site footer.genres-footer .footer-identity a{overflow-wrap:anywhere;}
@media(max-width:1050px){.institut-site footer.genres-footer .genres-footer-grid.footer-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}}
@media(max-width:650px){.institut-site footer.genres-footer > .wrap{width:calc(100% - 34px);}.institut-site footer.genres-footer .genres-footer-grid.footer-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}.institut-site footer.genres-footer .footer-identity{grid-column:1/-1;}.institut-site footer.genres-footer .footer-logo-group .footer-mark{height:auto;min-height:70px;}}
@media(max-width:400px){.institut-site footer.genres-footer .genres-footer-grid.footer-row{grid-template-columns:minmax(0,1fr);}.institut-site footer.genres-footer .footer-logo-group .footer-label{min-height:0;}}

/* 1.7 – WCAG-Nachprüfung: Fokus, Bedienflächen und Kontraste. */
.institut-site :is(input:not([type=hidden]),textarea,button,summary,a){scroll-margin-top:125px;scroll-margin-bottom:72px;}
.institut-site .footer-bottom nav a,.institut-site .footer-identity p a,.institut-site #privacy-link a{min-height:24px;display:inline-flex;align-items:center;}
.institut-site .footer-identity p a{margin-block:2px;}
.institut-site .topic-content .partner-offer a{display:inline-block;min-height:24px;}
.institut-site .topic-tile > h3::after{opacity:.07;}
.institut-site #genres-kontaktformular :is(input:not([type=hidden]),textarea){border-color:#687e88;}
.institut-site #genres-kontaktformular [aria-invalid=true]{border-color:#a21634;outline:2px solid #a21634;outline-offset:1px;}
.institut-site .form-status.error{color:#a21634;}
.institut-site .form-status.success{color:#106b65;}
.institut-site #genres-kontaktformular .btn:disabled{background:#526b76;color:#fff;opacity:1;}
.institut-site .head .menu.open{max-height:calc(100dvh - 96px);overflow-y:auto;}
@media(max-height:500px){.institut-site .head{position:relative;}.institut-site .head .menu.open{max-height:none;position:relative;top:auto;}.institut-site .head:has(.menu.open) .head-inner{height:auto;flex-wrap:wrap;}.institut-site .head .menu.open{flex-basis:100%;}}
.institut-site a[href^="tel:"],.institut-site a[href^="mailto:"]{display:inline-block;min-height:24px;}
.institut-site .related-pages{margin-top:1.25rem;font-size:.88rem;}
.institut-site .related-pages a{display:inline-flex;min-height:24px;align-items:center;}
/* Vergrößerte Linkziele auf Informationsseiten, einschließlich einzeln verlinkter Absätze. */
.institut-site main.inner-page .back,.institut-site main.inner-page p:has(>a:only-child) > a:only-child{min-height:24px;display:inline-block;}

/* 1.9 – gezielte WCAG-Korrekturen; freigegebene Gestaltung bleibt erhalten. */
.institut-site .related-pages{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;align-items:center;}
.institut-site .related-pages a{min-height:24px;text-decoration:underline;}
.institut-site .head .hamburger{border-color:#687e88;}
.institut-site .topic-tile .topic-action{border-top-color:#fff;}
.institut-site .topic-tile .topic-card summary:focus-visible{outline:3px solid #fff!important;outline-offset:-5px;}
.institut-site .contact-form-panel .checkline input{accent-color:#005a86;}
.institut-site :is(a,button,input:not([type=hidden]),textarea):focus-visible{box-shadow:0 0 0 2px #fff;}
.institut-site .floating:focus-visible{outline-color:#004c74!important;}
.institut-site .head .menu a:focus-visible{outline-offset:-3px;}
@media(forced-colors:active){.institut-site :is(a,button,input,textarea,summary):focus-visible{outline:3px solid Highlight!important;box-shadow:none!important;}.institut-site .head .hamburger{border-color:ButtonText;}.institut-site .head .hamburger::before,.institut-site .head .hamburger::after{forced-color-adjust:none;background:ButtonText;}}
.institut-site .head .brand{min-height:24px;}
.institut-site #genres-kontaktformular :is(input,textarea)[aria-invalid=true]{border-color:#a21634;}
