/* Two kinetic covers, enabled through the native article's CSS classes. */
main .ibu-flyer-reveal--ready {
 --ibu-editorial-background:#fff!important;background:#fff!important;padding-block:0!important;
}
/* Contao editors can explicitly choose the article surface in CSS-Klasse. */
main .ibu-flyer-reveal--ready.background-white {
 --ibu-editorial-background:#fff!important;background:#fff!important;
}
main .ibu-flyer-reveal--ready.background-soft {
 --ibu-editorial-background:#f6f7f9!important;background:#f6f7f9!important;
}
main .ibu-flyer-reveal--ready > .root > .width-large > .row { display:block;margin:0; }
main .ibu-flyer-reveal--ready.ibu-flyer-reveal--education { padding-block:34px!important; }
main .ibu-flyer-reveal--ready.ibu-flyer-reveal--network { padding-top:22px!important;padding-bottom:34px!important; }
main .ibu-flyer-portal__heading { width:100%;max-width:none;margin:0;padding:0;font:inherit; }
main .ibu-flyer-career-links { margin-top:24px; }
main .ibu-flyer-career-links ul { display:flex;flex-wrap:wrap;gap:10px 24px;margin:0;padding:0;list-style:none; }
main .ibu-flyer-career-links li { margin:0;padding:0;font-size:13px;line-height:1.7; }
main .ibu-flyer-career-links li::before { display:none; }
main button.ibu-flyer-portal {
 --portal-x:72%;--portal-y:40%;--portal-dx:0px;--portal-dy:0px;
 position:relative;isolation:isolate;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;width:100%;min-width:0;min-height:148px;height:auto;
 margin:0;padding:24px 36px;overflow:hidden;border:0;border-radius:12px;box-shadow:none;
 background:#192f43;color:#fff;cursor:pointer;text-align:left;text-transform:none;
 font-family:var(--ibu-type-family,Montserrat,Arial,sans-serif);font-weight:600;line-height:1;letter-spacing:normal;
 appearance:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
 transition:box-shadow .35s ease,background-color .35s ease;
 scroll-margin-top:24px;
}
main button.ibu-flyer-portal::before {
 content:'';position:absolute;z-index:-2;inset:0;pointer-events:none;
 background:radial-gradient(ellipse at var(--portal-x) var(--portal-y),#e4379940,transparent 53%),
 linear-gradient(118deg,transparent 36%,#44617a55 65%,#bf258a44 100%);
}
main button.ibu-flyer-portal::after {
 content:'';position:absolute;z-index:-1;inset:-100% -70%;pointer-events:none;
 background:linear-gradient(115deg,transparent 40%,#ffffff09 48%,#ffffff15 50%,transparent 54%);
 transform:translateX(-32%);animation:ibu-portal-sheen 11s ease-in-out infinite;
}
main .ibu-flyer-portal:hover { box-shadow:0 12px 30px #203a4b1a; }
main .ibu-flyer-portal:focus:not(:focus-visible) { outline:none; }
main .ibu-flyer-portal:focus-visible { outline:3px solid #d12982;outline-offset:5px; }
main .ibu-flyer-portal__label { position:relative;z-index:2;display:block;margin-bottom:9px;color:#ff9bcf;font-size:11px;font-weight:600;line-height:1.7;letter-spacing:.13em;text-transform:lowercase; }
main .ibu-flyer-portal__name {
 position:relative;z-index:2;display:block;width:max-content;max-width:65%;
 font-size:clamp(28px,2.8vw,36px);font-weight:600;line-height:1.3;letter-spacing:normal;
 hyphens:manual;word-break:normal;overflow-wrap:break-word;
}
main .ibu-flyer-portal__name > span { display:inline; }
main .ibu-flyer-portal__name > span + span { color:#ff94cb; }
main .ibu-flyer-portal__art {
 position:absolute;z-index:1;inset:-6px 3% -6px 57%;pointer-events:none;
 transform:translate(var(--portal-dx),var(--portal-dy));transition:transform .45s ease-out;
}
main .ibu-flyer-portal__art > svg { display:block;width:100%;height:100%;overflow:visible; }
main .ibu-flyer-portal__corner { position:absolute;z-index:3;right:22px;bottom:18px;display:flex;align-items:center;gap:12px; }
main .ibu-flyer-portal__count { color:inherit;font-size:11px;font-weight:500;line-height:1.4;letter-spacing:.06em;opacity:.85; }
main .ibu-flyer-portal__arrow {
 display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff61;border-radius:50%;
 color:#fff;background:#ffffff0a;transition:transform .5s cubic-bezier(.22,.7,.2,1),background .3s ease;
}
main .ibu-flyer-portal__arrow svg { display:block;width:22px;height:22px; }
main .ibu-flyer-portal:hover .ibu-flyer-portal__arrow { background:#d12982;border-color:#d12982; }
main .is-expanded .ibu-flyer-portal__arrow { transform:rotate(45deg); }
main .ibu-flyer-portal__leaf { transform-box:fill-box;transform-origin:50% 70%;animation:ibu-portal-paper 7s ease-in-out infinite; }
main .ibu-flyer-portal__leaf--back { animation-delay:-4.6s; }
main .ibu-flyer-portal__leaf--middle { animation-delay:-2.3s; }
main .ibu-flyer-portal__trace { animation:ibu-portal-trace 9s linear infinite; }
main .ibu-flyer-portal__spark { transform-origin:center;animation:ibu-portal-spark 6s ease-in-out infinite; }
main .ibu-flyer-portal__constellation { transform-box:fill-box;transform-origin:center;animation:ibu-portal-network 9s ease-in-out infinite; }
main .ibu-flyer-portal__hub { transform-box:fill-box;transform-origin:center;animation:ibu-portal-hub 7s ease-in-out infinite; }
main .ibu-flyer-portal:not(.is-in-view)::after,
main .ibu-flyer-portal:not(.is-in-view) :is(.ibu-flyer-portal__leaf,.ibu-flyer-portal__trace,.ibu-flyer-portal__spark,.ibu-flyer-portal__constellation,.ibu-flyer-portal__hub) { animation-play-state:paused; }

/* The second cover belongs to the same family, with its own light network world. */
main .ibu-flyer-reveal--network .ibu-flyer-portal { background:#f4edf3;color:#203a4b; }
main .ibu-flyer-reveal--network .ibu-flyer-portal::before {
 background:radial-gradient(ellipse at var(--portal-x) var(--portal-y),#f3acd46b,transparent 57%),
 repeating-linear-gradient(0deg,transparent 0 29px,#bfa1b814 29px 30px),
 repeating-linear-gradient(90deg,transparent 0 29px,#bfa1b814 29px 30px),linear-gradient(115deg,#f8f3f7,#eaeef4);
}
main .ibu-flyer-reveal--network .ibu-flyer-portal::after { background:linear-gradient(115deg,transparent 40%,#ffffff30 48%,#ffffff80 50%,transparent 54%);animation-delay:-5s; }
main .ibu-flyer-reveal--network .ibu-flyer-portal__name > span + span { color:#bf2378; }
main .ibu-flyer-reveal--network .ibu-flyer-portal__label { color:#c02178; }
main .ibu-flyer-reveal--network .ibu-flyer-portal__arrow { color:#b71f72;border-color:#ce93b7;background:#ffffff5c; }
main .ibu-flyer-reveal--network .ibu-flyer-portal:hover .ibu-flyer-portal__arrow { color:#fff;background:#c02178;border-color:#c02178; }

/* Native cards, original copy and editor controls live inside this one disclosure. */
main .ibu-flyer-portal__panel { box-sizing:border-box;width:100%;min-width:0;padding:0; }
main .ibu-flyer-portal__panel[hidden] { display:none!important; }
main .ibu-flyer-portal__panel.is-transitioning { overflow:hidden; }
main .ibu-flyer-portal__content { display:flex;flex-wrap:wrap;gap:22px;width:100%;min-width:0;padding:28px 0 12px; }
main .ibu-flyer-portal__content > * { width:100%;max-width:100%;margin:0!important;padding-inline:0; }
main .ibu-flyer-portal__content > .ibu-flyer-grid { margin:0!important; }
main .ibu-flyer-portal__footer { display:flex;justify-content:center;width:100%;padding:12px 0 4px; }
main button.ibu-flyer-portal__close {
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;height:auto;max-width:100%;
 margin:0;padding:10px 18px;border:1px solid #d8b9cb;border-radius:8px;background:#fff;color:#a91c6a;
 font:600 13px/1.5 var(--ibu-type-family,Montserrat,Arial,sans-serif);letter-spacing:normal;text-transform:none;white-space:normal;
 cursor:pointer;appearance:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
 transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}
main .ibu-flyer-portal__close svg { flex:0 0 20px;width:20px;height:20px; }
main .ibu-flyer-portal__close:hover { border-color:#c6217c;background:#fdf0f7;color:#a91c6a; }
main .ibu-flyer-portal__close:active { background:#f8ddeb; }
main .ibu-flyer-portal__close:focus-visible { outline:3px solid #d12982;outline-offset:4px; }
main .ibu-flyer-portal__close:disabled { cursor:default; }
main .ibu-flyer-reveal--ready .ibu-flyer-portal__source-heading,
main .ibu-flyer-reveal--ready .ibu-flyer-portal__heading-only { display:none; }
/* The native title keeps its real editing target when the preview helper is active. */
main .ibu-flyer-reveal--ready .ibu-flyer-portal__heading-only[data-frontend-helper] { display:block;min-height:24px; }
main .ibu-flyer-portal__heading-only[data-frontend-helper]::before { content:'Titel bearbeiten';display:inline-block;color:#7b5e71;font:500 11px/24px var(--ibu-type-family,Montserrat,Arial,sans-serif); }
main .ibu-flyer-portal__content .ce_text > .inner > :last-child { margin-bottom:0; }
/* Optional native HTML element for an editor-owned banner illustration. */
/* Keep the source editable in the backend without exposing editor copy in previews. */
main .ibu-flyer-art-editor, main [data-ibu-flyer-art-source] { display:none!important; }

@keyframes ibu-portal-paper { 0%,100% { transform:translateY(0) rotate(0); } 50% { transform:translateY(-11px) rotate(3deg); } }
@keyframes ibu-portal-network { 0%,100% { transform:translateY(0) rotate(-2deg); } 50% { transform:translateY(-8px) rotate(2deg); } }
@keyframes ibu-portal-hub { 0%,100% { transform:rotate(-3deg); } 50% { transform:rotate(5deg); } }
@keyframes ibu-portal-trace { to { stroke-dashoffset:-1130; } }
@keyframes ibu-portal-spark { 0%,100% { opacity:.5;transform:translateY(0); } 50% { opacity:1;transform:translateY(-8px); } }
@keyframes ibu-portal-sheen { 0%,20% { transform:translateX(-32%); } 65%,100% { transform:translateX(32%); } }
@media(max-width:959px) {
 main button.ibu-flyer-portal { min-height:148px;padding:22px 28px; }
 main .ibu-flyer-portal__name { font-size:28px;max-width:62%; }
 main .ibu-flyer-portal__art { left:55%;right:0; }
}
@media(max-width:599px) {
 main .ibu-flyer-reveal--ready.ibu-flyer-reveal--education { padding-block:24px!important; }
 main .ibu-flyer-reveal--ready.ibu-flyer-reveal--network { padding-top:16px!important;padding-bottom:24px!important; }
 main button.ibu-flyer-portal { min-height:164px;padding:20px;border-radius:11px;justify-content:flex-start; }
 main .ibu-flyer-portal__label { font-size:10px;margin-bottom:7px; }
 main .ibu-flyer-portal__name { max-width:100%;font-size:clamp(23px,6.3vw,28px);line-height:1.3;letter-spacing:normal; }
 main .ibu-flyer-reveal--education .ibu-flyer-portal__name { font-size:clamp(21px,6.3vw,28px);white-space:normal; }
 main .ibu-flyer-reveal--education button.ibu-flyer-portal { padding-bottom:95px; }
 main .ibu-flyer-reveal--education .ibu-flyer-portal__art { inset:auto -20px -8px 33%;height:112px; }
 main .ibu-flyer-portal__art { inset:68px -20px -8px 33%; }
 main .ibu-flyer-portal__corner { right:14px;bottom:13px;gap:8px; }
 main .ibu-flyer-portal__count { padding:4px 7px;border-radius:20px;background:#192f43b3;font-size:9px;opacity:1; }
 main .ibu-flyer-reveal--network .ibu-flyer-portal__count { background:#ffffffc2; }
 main .ibu-flyer-portal__arrow { width:30px;height:30px; }
 main .ibu-flyer-portal__arrow svg { width:18px;height:18px; }
 main .ibu-flyer-reveal--network .ibu-flyer-portal__name { max-width:75%; }
 main .ibu-flyer-reveal--network .ibu-flyer-portal__name > span { display:block; }
 main .ibu-flyer-reveal--network .ibu-flyer-portal__art { left:49%;top:34px; }
 main .ibu-flyer-portal__content { padding-top:22px; }
 main .ibu-flyer-portal__footer { justify-content:stretch;padding-top:8px; }
 main button.ibu-flyer-portal__close { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
 main .ibu-flyer-portal,main .ibu-flyer-portal::after,main .ibu-flyer-portal * { animation:none!important;transition:none!important; }
 main .ibu-flyer-portal__art { transform:none; }
 main .ibu-flyer-portal__close { transition:none; }
}
@media print {
 main button.ibu-flyer-portal { min-height:0;padding:12px 0;background:none!important;color:#203a4b!important; }
 main .ibu-flyer-portal__name { font-size:26px;max-width:none; }
 main .ibu-flyer-portal__name > span { display:inline; }
 main .ibu-flyer-portal__name > span + span::before { content:' '; }
 main .ibu-flyer-portal :is(.ibu-flyer-portal__label,.ibu-flyer-portal__art,.ibu-flyer-portal__corner),main .ibu-flyer-portal::before,main .ibu-flyer-portal::after { display:none; }
 main .ibu-flyer-portal__panel { display:block!important; }
 main .ibu-flyer-portal__footer { display:none!important; }
}
