:root {
    --color-accent: #00a7d5;
    --color-light-accent: #d0fbf9;
    --color-text: #000;
    --color-muted: rgba(0, 0, 0, 0.55);
    --color-white: #fff;
    --color-bau: #319e31;
    --color-elektro: #cd1013;
    --color-maschinenbau: #1f3c79;
    --color-ki: #ef7800;
    --font-sans: "Inter", "Arial", sans-serif;
    --font-plex: "IBM Plex Sans", "Arial", sans-serif;
    --font-plex-condensed: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
    --font-encode-condensed: "Encode Sans Semi Condensed", "Arial Narrow", sans-serif;
    --font-encode-expanded: "Encode Sans Expanded", "Arial", sans-serif;
    --page-max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--color-white);
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-white);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.45;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 93px;
    padding: 24px 64px;
    background: var(--color-white);
}

.site-header__logo {
    display: block;
    flex: 0 0 auto;
    width: 215px;
}

.site-header__logo img {
    width: 215px;
    height: 45px;
}

.site-nav__list,
.site-footer__nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a,
.site-footer__nav a {
    position: relative;
    display: block;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    white-space: nowrap;
}

.site-nav a {
    text-transform: uppercase;
}

.site-nav {
    position: relative;
    z-index: 30;
}

.site-nav__item {
    position: relative;
}

.site-nav__link {
    padding: 16px 0;
}

.site-nav__item.has-children > .site-nav__link {
    padding-right: 16px;
}

.site-nav__item.has-children > .site-nav__link::before,
.site-nav__submenu-item.has-children > .site-nav__submenu-link::before {
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
}

.site-nav__item.has-children > .site-nav__link::before {
    transform: translateY(-65%) rotate(45deg);
}

.site-nav__submenu-item.has-children > .site-nav__submenu-link::before {
    right: 16px;
    transform: translateY(-50%) rotate(-45deg);
}

.site-nav__submenu,
.site-nav__flyout {
    position: absolute;
    z-index: 40;
    display: block;
    min-width: 260px;
    margin: 0;
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--color-white);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
    list-style: none;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate(-100vw, 8px);
    transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
}

.site-nav__submenu {
    top: 100%;
    left: -24px;
}

.site-nav__item:nth-last-child(-n+4) > .site-nav__submenu {
    right: 0;
    left: auto;
}

.site-nav__flyout {
    top: -11px;
    left: calc(100% - 1px);
    min-width: 250px;
    transform: translateX(8px);
}

.site-nav__item:nth-last-child(-n+4) .site-nav__flyout {
    right: calc(100% - 1px);
    left: auto;
    transform: translateX(-8px);
}

.site-nav__item:hover > .site-nav__submenu,
.site-nav__item:focus-within > .site-nav__submenu,
.site-nav__submenu-item:hover > .site-nav__flyout,
.site-nav__submenu-item:focus-within > .site-nav__flyout {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate(0, 0);
    transition-delay: 0s;
}

.site-nav__submenu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 12px;
    content: "";
}

.site-nav__submenu-item {
    position: relative;
}

.site-nav__submenu-link,
.site-nav__flyout-link {
    min-height: 44px;
    padding: 12px 42px 12px 18px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    text-transform: none;
    white-space: normal;
}

.site-nav__flyout-link {
    padding-right: 18px;
}

.site-nav__submenu-link:hover,
.site-nav__submenu-link:focus-visible,
.site-nav__flyout-link:hover,
.site-nav__flyout-link:focus-visible,
.site-nav__submenu-item.is-active > .site-nav__submenu-link,
.site-nav__flyout-item.is-active > .site-nav__flyout-link,
.site-nav__flyout-item.is-current > .site-nav__flyout-link {
    background: color-mix(in srgb, var(--color-accent) 10%, white);
}

.site-header__menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-text);
    cursor: pointer;
}

.site-header__menu-toggle:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
    outline-offset: 3px;
}

.site-header__menu-line {
    position: absolute;
    left: 11px;
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.site-header__menu-line:nth-child(1) {
    top: 14px;
}

.site-header__menu-line:nth-child(2) {
    top: 21px;
}

.site-header__menu-line:nth-child(3) {
    top: 28px;
}

.site-header.is-menu-open .site-header__menu-line:nth-child(1) {
    top: 21px;
    transform: matrix(0.76, 0.76, -0.76, 0.76, 0, 0);
}

.site-header.is-menu-open .site-header__menu-line:nth-child(2) {
    opacity: 0;
}

.site-header.is-menu-open .site-header__menu-line:nth-child(3) {
    top: 21px;
    transform: matrix(0.76, -0.76, 0.76, 0.76, 0, 0);
}

.site-header.is-menu-open .site-header__menu-toggle {
    border-color: var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 8%, white);
}

.site-mobile-drawer[hidden] {
    display: none;
}

.site-mobile-drawer {
    position: fixed;
    inset: 93px 0 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: rgba(0, 0, 0, 0.18);
}

.site-mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
}

.site-mobile-nav {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 93px);
    max-height: calc(100dvh - 93px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 32px 34px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--color-white);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

html.is-mobile-menu-open,
body.is-mobile-menu-open {
    overflow: hidden;
}

.site-mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-mobile-nav__list {
    max-width: 720px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.site-mobile-nav__item,
.site-mobile-nav__child,
.site-mobile-nav__grandchild {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.site-mobile-nav__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: stretch;
}

.site-mobile-nav__link {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 58px;
    padding: 16px 14px;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.site-mobile-nav__link--child {
    min-height: 48px;
    padding: 12px 14px 12px 34px;
    font-size: 16px;
    font-weight: 650;
    text-transform: none;
}

.site-mobile-nav__link--grandchild {
    min-height: 42px;
    padding: 10px 14px 10px 58px;
    color: rgba(0, 0, 0, 0.72);
    font-size: 15px;
    font-weight: 550;
    text-transform: none;
}

.site-mobile-nav__expand {
    position: relative;
    width: 48px;
    min-height: 58px;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
}

.site-mobile-nav__expand--child {
    min-height: 48px;
}

.site-mobile-nav__expand span::before,
.site-mobile-nav__expand span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 160ms ease;
}

.site-mobile-nav__expand span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.site-mobile-nav__expand[aria-expanded="true"] span::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.site-mobile-nav__children {
    background: rgba(0, 0, 0, 0.025);
}

.site-mobile-nav__children--nested {
    background: rgba(0, 0, 0, 0.045);
}

.site-mobile-nav__children[hidden] {
    display: none;
}

.site-mobile-nav__item.is-active > .site-mobile-nav__row,
.site-mobile-nav__child.is-active > .site-mobile-nav__row,
.site-mobile-nav__grandchild.is-active > .site-mobile-nav__link,
.site-mobile-nav__link:hover,
.site-mobile-nav__link:focus-visible,
.site-mobile-nav__expand:hover,
.site-mobile-nav__expand:focus-visible {
    background: color-mix(in srgb, var(--color-accent) 10%, white);
}

.site-mobile-nav__item:last-child > .site-mobile-nav__row .site-mobile-nav__link {
    background: var(--color-accent);
    color: var(--color-white);
}

.site-mobile-nav__item:last-child > .site-mobile-nav__row .site-mobile-nav__link:hover,
.site-mobile-nav__item:last-child > .site-mobile-nav__row .site-mobile-nav__link:focus-visible {
    background: color-mix(in srgb, var(--color-accent) 86%, black);
}

.site-nav li.is-active > a,
.site-footer__nav li.is-active > a {
    font-weight: 700;
}

.site-nav__link::after,
.site-footer__nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 4px;
    background: var(--color-accent);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-footer__nav a:hover::after,
.site-footer__nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.sub-nav {
    width: 100%;
    padding: 0 64px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: color-mix(in srgb, var(--color-accent) 5%, white);
}

.sub-nav ul {
    display: flex;
    align-items: center;
    gap: 34px;
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 17px 0 15px;
    list-style: none;
}

.sub-nav a {
    position: relative;
    display: block;
    padding: 4px 0;
    color: rgba(0, 0, 0, 0.78);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.sub-nav li.is-active > a,
.sub-nav li.is-current > a {
    color: var(--color-text);
    font-weight: 800;
}

.sub-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 4px;
    background: var(--color-accent);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 160ms ease, transform 160ms ease;
}

.sub-nav a:hover::after,
.sub-nav a:focus-visible::after,
.sub-nav li.is-active > a::after,
.sub-nav li.is-current > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 650px;
}

.hero__background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__layer {
    position: absolute;
    display: block;
    max-width: none;
    pointer-events: none;
}

.hero__layer--elektro {
    top: -23px;
    left: -14px;
    width: 101%;
    height: 738px;
    object-fit: cover;
    opacity: 0.8;
}

.hero__layer--bau {
    left: 0;
    bottom: 0;
    width: 478px;
    height: 239px;
    object-fit: contain;
}

.hero__layer--ki {
    top: 208px;
    left: 50%;
    width: 385px;
    height: 483px;
    object-fit: contain;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.hero__layer--maschinenbau {
    top: 11px;
    right: 58px;
    width: 241px;
    height: 233px;
    object-fit: contain;
    transform: rotate(180deg) scaleY(-1);
}

.hero__content {
    position: absolute;
    top: 105px;
    left: 0;
    display: flex;
    align-items: center;
    width: 559px;
    min-height: 147px;
    padding: 0 30px;
    background: var(--color-accent);
}

.hero h1 {
    max-width: 536px;
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-plex-condensed);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0;
}

.specialties {
    position: relative;
    width: 100%;
    padding: 120px 10px 31px;
    background: var(--color-white);
}

.specialties__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 0 auto 88px;
    text-align: center;
}

.specialties__intro h2 {
    margin: 0;
    font-family: var(--font-plex-condensed);
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
}

.specialties__intro p {
    margin: 0;
    color: var(--color-muted);
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.45;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    text-align: center;
}

.button--primary {
    min-height: 50px;
    padding: 12px 16px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
}

.specialties__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.specialty-card {
    display: grid;
    grid-template-rows: 310px 98px;
    min-width: 0;
    color: var(--color-white);
    font-family: var(--font-plex);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.specialty-card img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.specialty-card--maschinenbau img {
    object-fit: contain;
    background: #dff8ff;
}

.specialty-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 12px 16px;
}

.specialty-card--bau span {
    background: var(--color-bau);
}

.specialty-card--elektro span {
    background: var(--color-elektro);
}

.specialty-card--maschinenbau span {
    background: var(--color-maschinenbau);
}

.specialty-card--ki span {
    background: var(--color-ki);
}

.category-news {
    width: 100%;
    padding: 54px 10px 98px;
    background: var(--color-white);
}

.category-news__inner {
    width: 100%;
    margin: 0 auto;
}

.category-news__intro {
    margin: 0 auto 28px;
    text-align: center;
}

.category-news__intro h2 {
    margin: 0;
    font-family: var(--font-plex-condensed);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.05;
}

.category-news__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.category-news-card {
    --category-color: var(--color-accent);
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 460px;
    padding: 0 24px 24px;
    border-top: 8px solid var(--category-color);
    background: color-mix(in srgb, var(--category-color) 9%, white);
    color: var(--color-text);
}

.category-news-card__category {
    margin: 22px 0 14px;
    color: var(--category-color);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.category-news-card__image {
    display: block;
    order: 2;
    margin: 0 -24px 18px;
}

.category-news-card__image img {
    width: 100%;
    aspect-ratio: 20 / 11;
    object-fit: cover;
}

.category-news-card__date {
    order: 3;
    margin: 0 0 12px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.2;
}

.category-news-card h3 {
    order: 4;
    margin: 0 0 18px;
    font-family: var(--font-plex-condensed);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.08;
}

.category-news-card h3 a {
    color: inherit;
}

.category-news-card__teaser {
    order: 5;
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.5;
}

.category-news-card__more {
    order: 6;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 42px;
    margin-top: auto;
    padding: 10px 14px;
    background: var(--category-color);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
}

.general-news {
    margin: 70px 0 0;
}

.general-news__intro {
    margin: 0 auto 28px;
    text-align: center;
}

.general-news__intro h2 {
    margin: 0;
    font-family: var(--font-plex-condensed);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.05;
}

.general-news-card {
    --category-color: var(--color-accent);
    display: grid;
    grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
    width: calc(100% - 52px);
    margin: 0 auto;
    padding: 28px 30px;
    border-top: 6px solid var(--category-color);
    background: color-mix(in srgb, var(--category-color) 10%, white);
}

.general-news-card__image {
    display: block;
}

.general-news-card__image img {
    width: 100%;
    aspect-ratio: 400 / 283;
    object-fit: cover;
}

.general-news-card__content {
    min-width: 0;
}

.general-news-card__category {
    margin: 0 0 8px;
    color: var(--category-color);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.general-news-card__date {
    display: block;
    margin: 0 0 12px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.2;
}

.general-news-card h3 {
    margin: 0 0 18px;
    font-family: var(--font-plex-condensed);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.08;
}

.general-news-card__teaser {
    margin: 0 0 24px;
    font-size: 18px;
    line-height: 1.55;
}

.general-news-card__more {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    background: var(--category-color);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
}

.cta {
    width: 100%;
    padding: 149px 160px;
    background: var(--color-accent);
    color: var(--color-white);
    text-align: center;
}

.cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1080px;
    margin: 0 auto;
}

.cta h2 {
    margin: 0;
    font-family: var(--font-encode-condensed);
    font-size: 37px;
    font-weight: 600;
    line-height: 1.1;
}

.cta p {
    margin: 0;
    font-family: var(--font-encode-condensed);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}

.button--light {
    min-width: 129px;
    min-height: 49px;
    padding: 18px;
    background: var(--color-light-accent);
    color: var(--color-text);
    font-family: var(--font-encode-expanded);
    font-size: 13px;
    line-height: 0.9;
}

.site-footer {
    position: relative;
    width: 100%;
    height: 163px;
    padding: 0;
    background: var(--color-white);
}

.site-footer__logo {
    position: absolute;
    top: 48.5px;
    left: 64px;
    width: 311px;
}

.site-footer__logo img {
    width: 311px;
    height: 66px;
}

.site-footer__text {
    position: absolute;
    top: 48.5px;
    left: 442px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 521px;
    height: auto;
    margin: 0;
    color: var(--color-text);
}

.site-footer__text-title {
    display: block;
    font-family: "Roboto", var(--font-sans);
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.site-footer__text-detail {
    display: block;
    font-family: var(--font-encode-condensed);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.34px;
    white-space: nowrap;
}

.site-footer__nav a {
    font-size: 16px;
}

.site-footer__nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-footer__nav--primary {
    position: absolute;
    top: 80px;
    left: 1030px;
    width: 186px;
}

.site-footer__nav--legal {
    position: absolute;
    top: 115px;
    left: 442px;
    width: 404px;
}

.site-footer__nav--legal ul {
    justify-content: flex-start;
}

.page-stage {
    padding: 96px 64px 48px;
    background: var(--color-accent);
    color: var(--color-white);
}

.page-stage h1 {
    max-width: 1080px;
    margin: 0 auto;
    font-family: var(--font-plex-condensed);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.05;
}

.page-content {
    max-width: 1080px;
    min-height: 320px;
    margin: 0 auto;
    padding: 64px;
}

.migrated-page {
    --section-color: var(--color-accent);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.7;
}

.page-content {
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.7;
}

.migrated-page__eyebrow {
    margin: 0 0 16px;
    color: var(--section-color);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.migrated-page h1,
.migrated-page h2,
.migrated-page h3,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content .ce-headline-left {
    color: var(--color-text);
    font-family: var(--font-plex-condensed);
    font-weight: 500;
    line-height: 1.1;
}

.migrated-page h1 {
    margin: 0 0 28px;
    font-size: 44px;
}

.migrated-page h2,
.page-content h2,
.page-content .ce-header h2 {
    margin: 44px 0 16px;
    font-size: 32px;
}

.migrated-page h3,
.page-content h3,
.page-content .ce-header h3 {
    margin: 32px 0 12px;
    font-size: 25px;
}

.migrated-page p,
.migrated-page ul,
.migrated-page ol,
.migrated-page blockquote,
.migrated-page table,
.page-content p,
.page-content ul,
.page-content ol,
.page-content blockquote,
.page-content table,
.page-content .ce-text,
.page-content .ce-image,
.page-content .ce-table {
    margin-top: 0;
    margin-bottom: 24px;
}

.migrated-page ul,
.migrated-page ol,
.page-content ul,
.page-content ol {
    padding-left: 1.4em;
}

.migrated-page li + li,
.page-content li + li {
    margin-top: 8px;
}

.migrated-page a,
.page-content a {
    color: var(--section-color);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.migrated-page img,
.page-content .ce-image img,
.page-content .ce-gallery img {
    width: auto;
    max-width: 100%;
    max-height: 520px;
    margin: 24px 0;
    object-fit: contain;
}

.migrated-page table,
.page-content .ce-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    font-size: 16px;
}

.migrated-page th,
.migrated-page td,
.page-content th,
.page-content td {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    vertical-align: top;
}

.migrated-page tr:first-child td,
.migrated-page th,
.page-content tr:first-child td,
.page-content th {
    background: color-mix(in srgb, var(--section-color) 12%, white);
    font-weight: 700;
}

.migrated-page blockquote,
.page-content blockquote {
    padding: 24px 28px;
    border-left: 6px solid var(--section-color);
    background: rgba(0, 167, 213, 0.08);
}

.legal-page {
    overflow-wrap: anywhere;
}

.legal-page > h2:first-child {
    margin-top: 0;
}

.legal-page .legal-table {
    width: 100%;
    margin: 0 0 28px;
    overflow-x: auto;
}

.legal-page .legal-table table {
    min-width: 640px;
    margin: 0;
}

.legal-page h2 + h3 {
    margin-top: 18px;
}

.erasmus-page {
    --section-color: var(--color-accent);
}

.erasmus-page__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 300px);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    margin-bottom: 52px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.erasmus-page__intro p {
    max-width: 760px;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.55;
}

.erasmus-page__logo {
    justify-self: end;
    width: min(100%, 280px);
    padding: 24px;
    background: #f6f8fb;
}

.erasmus-page__logo img {
    width: 100%;
    margin: 0;
}

.erasmus-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 56px;
}

.erasmus-page__panel {
    padding: 28px;
    border-left: 6px solid var(--color-accent);
    background: rgba(0, 167, 213, 0.08);
}

.erasmus-page__panel h2 {
    margin-top: 0;
}

.erasmus-page + .news-overview {
    margin-top: 10px;
}

.erasmus-page + .news-overview .news-card,
.erasmus-page + .news-overview .news-card__category {
    --news-category-color: var(--color-accent);
}

.migrated-page__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    list-style: none;
}

.migrated-page__links a {
    display: block;
    padding: 18px 20px;
    background: color-mix(in srgb, var(--section-color) 10%, white);
    text-decoration: none;
}

.department-hero {
    --department-color: var(--color-accent);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    align-items: stretch;
    min-height: 560px;
    overflow: hidden;
    background: color-mix(in srgb, var(--department-color) 14%, white);
}

.department-hero::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(52vw, 670px);
    background: var(--department-color);
    content: "";
}

.department-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(72px, 8vw, 124px) clamp(32px, 6vw, 86px);
    color: var(--color-white);
}

.department-hero__eyebrow {
    margin: 0 0 24px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.department-hero h1 {
    max-width: 610px;
    margin: 0;
    font-family: var(--font-plex-condensed);
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 500;
    line-height: 0.95;
}

.department-hero__slogan {
    align-self: flex-start;
    max-width: 520px;
    margin: 34px 0 0;
    padding: 14px 20px;
    background: var(--color-white);
    color: var(--department-color);
    font-family: var(--font-plex-condensed);
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 500;
    line-height: 1;
}

.department-hero__media {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    padding: 48px clamp(20px, 5vw, 72px) 0 0;
}

.department-hero__media img {
    width: min(100%, 650px);
    max-height: 560px;
    object-fit: contain;
    object-position: bottom center;
}

.department-hero--maschinenbau .department-hero__media {
    align-items: center;
}

.department-overview {
    padding: 76px 64px 54px;
    background: var(--color-white);
}

.department-overview__content {
    max-width: 1080px;
    margin: 0 auto;
}

.department-overview .migrated-page h1:first-child,
.department-overview .migrated-page h1:first-of-type,
.department-overview .migrated-page__eyebrow:first-child {
    display: none;
}

.department-overview .migrated-page > p:first-of-type {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    font-size: 22px;
    text-align: center;
}

.department-overview .migrated-page > ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    max-width: 1080px;
    margin: 28px auto 0;
    padding: 0;
    list-style: none;
}

.department-overview .migrated-page > ul a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 16px;
    background: color-mix(in srgb, var(--section-color) 10%, white);
    color: var(--section-color);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.department-news {
    --department-color: var(--color-accent);
    padding: 72px 64px 96px;
    background: color-mix(in srgb, var(--department-color) 8%, white);
}

.department-news__inner {
    max-width: 1152px;
    margin: 0 auto;
}

.department-news__intro {
    margin: 0 0 32px;
}

.department-news__intro p {
    margin: 0 0 10px;
    color: var(--department-color);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.department-news__intro h2 {
    margin: 0;
    font-family: var(--font-plex-condensed);
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 500;
    line-height: 1;
}

.department-news-card {
    display: grid;
    grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 82px);
    align-items: stretch;
    padding: clamp(24px, 4vw, 42px);
    border-top: 8px solid var(--department-color);
    background: var(--color-white);
}

.department-news-card__image {
    display: block;
    min-width: 0;
}

.department-news-card__image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.department-news-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.department-news-card__date {
    display: block;
    margin: 0 0 14px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.2;
}

.department-news-card h3 {
    margin: 0 0 18px;
    font-family: var(--font-plex-condensed);
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 500;
    line-height: 1.05;
}

.department-news-card__teaser {
    margin: 0 0 26px;
    font-size: 18px;
    line-height: 1.55;
}

.department-news-card__more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 46px;
    padding: 12px 18px;
    background: var(--department-color);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
}

.news {
    --news-border: rgba(0, 0, 0, 0.12);
    color: var(--color-text);
}

.news-list-view {
    display: grid;
    gap: 0;
}

.news-list-view .article {
    display: grid;
    grid-template-areas:
        "image header"
        "image teaser";
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 28px;
    padding: 34px 0;
    border-bottom: 1px solid var(--news-border);
}

.news-list-view .article:not(:has(.news-img-wrap)) {
    grid-template-areas:
        "header"
        "teaser";
    grid-template-columns: minmax(0, 760px);
}

.news-list-view .article:first-child {
    border-top: 1px solid var(--news-border);
}

.news-list-view .news-img-wrap {
    grid-area: image;
}

.news-list-view .news-img-wrap a {
    display: block;
}

.news-list-view .news-img-wrap img {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    object-fit: cover;
}

.news-list-view .header h3 {
    margin: 0 0 10px;
    font-family: var(--font-plex-condensed);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.12;
}

.news-list-view .header {
    grid-area: header;
}

.news-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 800;
}

.news-list-view .header a,
.news .more,
.news-backlink-wrap a {
    color: var(--color-text);
    text-decoration: none;
}

.news-list-view .header a:hover,
.news-list-view .header a:focus-visible,
.news .more:hover,
.news .more:focus-visible,
.news-backlink-wrap a:hover,
.news-backlink-wrap a:focus-visible {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

.news-list-view .teaser-text {
    grid-area: teaser;
    font-size: 17px;
    line-height: 1.65;
}

.news-list-view .teaser-text p {
    margin: 0 0 16px;
}

.news .more {
    display: inline-block;
    margin-top: 4px;
    font-weight: 800;
}

.news-list-view .footer,
.news-single .footer {
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.news-list-view .footer p,
.news-single .footer p {
    margin: 0;
}

.news-list-category,
.news-list-tags,
.news-list-author {
    margin-left: 14px;
}

.news-overview {
    --news-category-color: var(--color-accent);
}

.page-content:has(.news-overview) {
    max-width: 1420px;
    padding-right: 32px;
    padding-left: 32px;
}

.news-overview__head {
    max-width: 980px;
    margin: 0 0 52px;
}

.news-overview__head p {
    margin: 0 0 12px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.news-overview__head h2 {
    margin: 0;
    font-family: var(--font-plex-condensed);
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 500;
    line-height: 0.98;
}

.news-overview .news-list-view {
    display: grid;
    gap: 24px;
}

.news-overview .news-card {
    --news-category-color: var(--color-accent);
    position: relative;
    display: grid;
    grid-template-areas: "image body";
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch;
    min-width: 0;
    padding: 0;
    border: 0;
    border-left: 8px solid var(--news-category-color);
    background: color-mix(in srgb, var(--news-category-color) 7%, white);
}

.news-overview .news-card--category-bau,
.news-overview .news-card:has(.news-card__category--bau),
.news-overview .news-card__category--bau {
    --news-category-color: var(--color-bau);
}

.news-overview .news-card--category-elektro,
.news-overview .news-card:has(.news-card__category--elektro),
.news-overview .news-card__category--elektro {
    --news-category-color: var(--color-elektro);
}

.news-overview .news-card--category-maschinenbau,
.news-overview .news-card:has(.news-card__category--maschinenbau),
.news-overview .news-card__category--maschinenbau {
    --news-category-color: var(--color-maschinenbau);
}

.news-overview .news-card--category-ki,
.news-overview .news-card:has(.news-card__category--ki),
.news-overview .news-card__category--ki {
    --news-category-color: var(--color-ki);
}

.news-overview .news-card--featured {
    min-height: 0;
}

.news-overview .news-card:not(:has(.news-img-wrap)) {
    grid-template-areas: "body";
    grid-template-columns: minmax(0, 1fr);
}

.news-overview .news-img-wrap {
    grid-area: image;
    align-self: start;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: color-mix(in srgb, var(--news-category-color) 12%, white);
}

.news-overview .news-img-wrap a {
    display: block;
    height: 100%;
}

.news-overview .news-img-wrap img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.news-overview .news-card__body {
    grid-area: body;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(24px, 3vw, 34px) clamp(26px, 3.4vw, 46px) clamp(24px, 3vw, 34px) 0;
}

.news-overview .header,
.news-overview .teaser-text {
    min-width: 0;
}

.news-overview .header {
    display: flex;
    flex-direction: column;
    align-self: start;
}

.news-overview .teaser-text {
    margin-top: 18px;
    color: rgba(0, 0, 0, 0.78);
    font-size: 17px;
    line-height: 1.6;
}

.news-overview .news-card:not(:has(.news-img-wrap)) .news-card__body {
    padding-left: clamp(24px, 3.4vw, 44px);
}

.news-card__categories {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.news-card__category {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 8px;
    background: var(--news-category-color);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.news-overview .news-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0 0 10px;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 750;
}

.news-overview .news-list-meta time::after {
    margin-left: 10px;
    color: rgba(0, 0, 0, 0.28);
    content: "/";
}

.news-overview .header h3 {
    margin: 0;
    font-family: var(--font-plex-condensed);
    font-size: clamp(28px, 2.4vw, 38px);
    font-weight: 500;
    line-height: 1.04;
}

.news-overview .header a:hover,
.news-overview .header a:focus-visible {
    color: var(--news-category-color);
    text-decoration-color: var(--news-category-color);
}

.news-overview .teaser-text p {
    margin: 0 0 14px;
}

.news-overview .news-card__more {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-top: 0;
    padding: 10px 14px;
    background: var(--news-category-color);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
}

.news-overview .news-card__more:hover,
.news-overview .news-card__more:focus-visible {
    background: color-mix(in srgb, var(--news-category-color) 86%, black);
    color: var(--color-white);
    text-decoration: none;
}

.news-overview .f3-widget-paginator {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    margin: 24px 0 0;
    padding: 42px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    list-style: none;
}

.news-overview .f3-widget-paginator li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    margin: 0;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.news-overview .f3-widget-paginator a,
.news-overview .f3-widget-paginator .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: var(--color-white);
    color: var(--color-text);
    text-decoration: none;
}

.news-overview .f3-widget-paginator .current {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-white);
}

.news-overview .f3-widget-paginator a:hover,
.news-overview .f3-widget-paginator a:focus-visible {
    border-color: var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 10%, white);
    color: var(--color-accent);
    outline: none;
}

.news-overview .f3-widget-paginator .previous a,
.news-overview .f3-widget-paginator .next a {
    min-width: 96px;
    padding-right: 16px;
    padding-left: 16px;
}

.news-overview .f3-widget-paginator .next {
    margin-left: 4px;
}

.news-single .header h1 {
    margin: 0 0 18px;
    font-family: var(--font-plex-condensed);
    font-size: 46px;
    font-weight: 500;
    line-height: 1.08;
}

.news-single .footer {
    margin-bottom: 32px;
}

.news-single > .article > .news-img-wrap {
    display: none;
}

.news-single .teaser-text {
    display: none;
}

.news-single .news-text-wrap {
    font-size: 18px;
    line-height: 1.7;
}

.news-single .news-text-wrap p,
.news-single .news-text-wrap ul,
.news-single .news-text-wrap ol,
.news-single .news-text-wrap figure {
    margin-top: 0;
    margin-bottom: 24px;
}

.news-single .news-text-wrap figure {
    max-width: 760px;
}

.news-single .news-text-wrap img,
.news-single .news-img-wrap img {
    width: auto;
    max-width: 100%;
    max-height: 560px;
    margin: 0;
    object-fit: contain;
}

.news-single .news-text-wrap figcaption {
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.45;
}

.news .pager,
.news .f3-widget-paginator {
    display: flex;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.news .news-overview .f3-widget-paginator {
    gap: 8px;
    margin: 24px 0 0;
    padding: 42px 0 0;
}

.news-backlink-wrap {
    margin-top: 42px;
    font-weight: 800;
}

.powermail_form {
    max-width: 980px;
    margin: 0 auto;
}

.powermail_form fieldset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
    margin: 0 0 36px;
    padding: 30px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #fff;
}

.powermail_form legend {
    width: auto;
    padding: 0 10px;
    color: #0b3b75;
    font-size: 22px;
    font-weight: 800;
}

.powermail_fieldwrap {
    min-width: 0;
}

.powermail_fieldwrap_type_text,
.powermail_fieldwrap_type_html,
.powermail_fieldwrap_type_submit,
.powermail_fieldwrap_type_file,
.powermail_fieldwrap_type_textarea {
    grid-column: 1 / -1;
}

.powermail_label {
    display: block;
    margin-bottom: 8px;
    color: #172033;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.powermail_input,
.powermail_textarea,
.powermail_date,
.powermail_file {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cbd6e2;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    font: inherit;
}

.powermail_input,
.powermail_textarea,
.powermail_date {
    padding: 10px 12px;
}

.powermail_input:focus,
.powermail_textarea:focus,
.powermail_date:focus,
.powermail_file:focus,
.powermail_radio:focus,
.powermail_check:focus {
    outline: 3px solid rgba(0, 88, 170, 0.22);
    border-color: #0058aa;
}

.powermail_radiowrap,
.powermail_checkwrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0;
    line-height: 1.45;
}

.powermail_radio,
.powermail_check {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #0058aa;
    flex: 0 0 auto;
}

.powermail_fieldwrap_type_file .powermail_description,
.powermail_fieldwrap_type_text .powermail_description,
.powermail_fieldwrap_type_html {
    color: #43556a;
    font-size: 14px;
    line-height: 1.55;
}

.powermail_fieldwrap_type_html {
    padding: 16px 18px;
    border-left: 4px solid #0058aa;
    background: #f5f8fb;
}

.powermail_submit,
.powermail_form .btn-primary {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 6px;
    background: #0058aa;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.powermail_submit:hover,
.powermail_submit:focus,
.powermail_form .btn-primary:hover,
.powermail_form .btn-primary:focus {
    background: #003f7c;
}

.powermail_field_error,
.powermail_fieldwrap .parsley-error {
    border-color: #b42318;
}

.powermail_field_error_container,
.powermail_message_error {
    color: #b42318;
    font-size: 14px;
    font-weight: 700;
}

.bh-cond--hidden {
    display: none !important;
}

.bh-signature {
    display: grid;
    gap: 12px;
}

.bh-signature__canvas {
    width: 100%;
    height: 190px;
    border: 1px solid #cbd6e2;
    border-radius: 6px;
    background: #fff;
    touch-action: none;
}

.bh-signature__clear {
    justify-self: start;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #cbd6e2;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    font-weight: 700;
    cursor: pointer;
}

.bh-signature__clear:hover,
.bh-signature__clear:focus {
    border-color: #0058aa;
    color: #0058aa;
}

@media (max-width: 1219px) {
    .site-header {
        min-height: 93px;
        padding-right: 32px;
        padding-left: 32px;
    }

    .site-header__menu-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-nav {
        display: none;
    }
}

@media (max-width: 1219px) {
    .site-header,
    .site-footer,
    .sub-nav {
        padding-right: 32px;
        padding-left: 32px;
    }

    .site-footer {
        display: grid;
        grid-template-columns: 260px minmax(240px, 1fr);
        gap: 24px 40px;
        height: auto;
        min-height: 163px;
        padding-top: 24px;
        padding-bottom: 25px;
    }

    .site-footer__logo,
    .site-footer__text,
    .site-footer__nav--primary,
    .site-footer__nav--legal {
        position: static;
        width: auto;
        margin-top: 0;
    }

    .site-footer__logo {
        grid-column: 1;
        grid-row: 1;
    }

    .site-footer__text {
        grid-column: 2;
        grid-row: 1;
    }

    .site-footer__text-detail {
        white-space: normal;
    }

    .site-footer__nav--primary {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: start;
        justify-content: flex-start;
    }

    .site-footer__nav--legal {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-self: start;
    }

    .sub-nav ul {
        gap: 22px;
        overflow-x: auto;
        padding-bottom: 17px;
    }
}

@media (max-width: 900px) {
    .site-header,
    .site-footer,
    .site-footer__nav ul {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header {
        align-items: center;
        flex-direction: row;
    }

    .specialties__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .general-news-card {
        grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
        gap: 34px;
        width: 100%;
    }

    .department-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .department-hero::before {
        width: 100%;
        height: 58%;
    }

    .department-hero__content {
        padding: 62px 32px 28px;
    }

    .department-hero__media {
        justify-content: flex-end;
        min-height: 300px;
        padding: 0 24px;
    }

    .department-hero__media img {
        max-height: 360px;
    }

    .department-overview,
    .department-news {
        padding-right: 32px;
        padding-left: 32px;
    }

    .department-overview .migrated-page > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .department-news-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sub-nav {
        padding-right: 24px;
        padding-left: 24px;
    }

    .sub-nav ul {
        align-items: flex-start;
        gap: 16px;
    }

    .news-list-view .article {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "header"
            "teaser";
        gap: 18px;
    }

    .news-list-view .news-img-wrap {
        grid-row: auto;
    }

    .news-list-view .header h3,
    .news-single .header h1 {
        font-size: 30px;
    }

    .news-overview .news-card,
    .news-overview .news-card--featured {
        grid-template-areas:
            "image"
            "body";
        grid-template-columns: 1fr;
        min-height: 0;
        border-top: 8px solid var(--news-category-color);
        border-left: 0;
    }

    .news-overview .news-card:not(:has(.news-img-wrap)) {
        grid-template-areas: "body";
        grid-template-columns: 1fr;
    }

    .news-overview .news-img-wrap img,
    .news-overview .news-card--featured .news-img-wrap img {
        min-height: 0;
    }

    .news-overview .news-img-wrap,
    .news-overview .news-card--featured .news-img-wrap {
        aspect-ratio: 16 / 10;
    }

    .news-overview .news-card__body,
    .news-overview .news-card:not(:has(.news-img-wrap)) .news-card__body {
        padding: 22px 24px;
    }

    .erasmus-page__intro,
    .erasmus-page__grid {
        grid-template-columns: 1fr;
    }

    .erasmus-page__logo {
        justify-self: start;
        width: min(100%, 240px);
    }

    .powermail_form fieldset {
        grid-template-columns: 1fr;
        padding: 22px;
    }
}

@media (max-width: 560px) {
    .category-news {
        padding: 42px 10px 72px;
    }

    .category-news__grid,
    .specialties__grid {
        grid-template-columns: 1fr;
    }

    .category-news-card {
        min-height: 260px;
        padding: 20px;
    }

    .category-news-card__image {
        margin-right: -20px;
        margin-left: -20px;
    }

    .general-news-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 20px;
    }

    .general-news-card h3 {
        font-size: 28px;
    }

    .general-news-card__teaser {
        font-size: 16px;
    }

    .department-hero__content {
        padding: 46px 24px 22px;
    }

    .department-hero h1 {
        font-size: 46px;
    }

    .department-hero__slogan {
        max-width: 100%;
        font-size: 28px;
    }

    .department-hero__media {
        min-height: 230px;
        padding: 0 16px;
    }

    .department-hero__media img {
        max-height: 280px;
    }

    .department-overview,
    .department-news {
        padding: 44px 24px;
    }

    .department-overview .migrated-page > p:first-of-type {
        font-size: 18px;
        text-align: left;
    }

    .department-overview .migrated-page > ul {
        grid-template-columns: 1fr;
    }

    .department-news-card {
        padding: 20px;
    }

    .department-news-card__image img {
        min-height: 220px;
    }

    .department-news-card__teaser {
        font-size: 16px;
    }

    .news-overview__head {
        margin-bottom: 32px;
    }

    .news-overview .news-list-view {
        gap: 18px;
    }

    .news-overview .teaser-text {
        margin-top: 16px;
        font-size: 16px;
    }

    .news-card__categories {
        gap: 6px;
    }

    .news-card__category {
        max-width: 100%;
    }

    .news-overview .f3-widget-paginator {
        gap: 6px;
        padding-top: 22px;
    }

    .news-overview .f3-widget-paginator li,
    .news-overview .f3-widget-paginator a,
    .news-overview .f3-widget-paginator .current {
        min-width: 38px;
        min-height: 38px;
        font-size: 14px;
    }

    .news-overview .f3-widget-paginator .previous a,
    .news-overview .f3-widget-paginator .next a {
        min-width: 82px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .site-footer__logo,
    .site-footer__text {
        width: 100%;
    }

    .site-footer__text,
    .site-footer__nav--primary,
    .site-footer__nav--legal {
        grid-column: 1;
    }

    .site-footer__logo {
        grid-row: 1;
    }

    .site-footer__text {
        grid-row: 2;
    }

    .site-footer__nav--primary {
        grid-row: 3;
    }

    .site-footer__nav--legal {
        grid-row: 4;
    }

    .site-footer__logo img {
        width: min(311px, 100%);
        height: auto;
    }

    .site-footer__nav--primary,
    .site-footer__nav--legal,
    .site-footer__nav ul {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
    }
}
