.flx_text-block, .flx_text-block.text-block-red{
margin-bottom: 0;
}
.flx_text-block {
margin-top: 50px; background-color: #FFD21F;
}
.flx_slider.professoren+.flx_text-block {
margin-top: 0;
}
.text-block-black:has(+ .introblock-yellow-slider) {
margin-bottom: 0 !important;
}
.text-block-title {
font-size: 30px;
font-weight: 700;
margin: 0;
line-height: 1.1;
text-transform: uppercase;
font-style: italic;
}
.text-block-title {
text-transform: uppercase;
font-style: italic;
color: #333;
margin-bottom: 10px;
font-weight: 700 !important;
text-align: center;
}
.text-block-subtitle {
font-weight: 600;
color: #333;
font-size: 24px;
margin-bottom: 2rem;
}
.text-block-inner {
border-radius: 30px;
padding: 50px 0;
max-width: 800px;
margin: 0 auto;
display: flex;
flex-direction: column;
justify-content: center;
}
.text-block-img {
height: 100px;
object-fit: contain;
margin: 0 auto;
margin-bottom: 28px;
}
.text-block-text {
font-weight: 500;
color: #000;
margin: 0;
text-align: center;
}
.text-block-subtitle {
text-align: center;
}
.text-block-black {
background-color: #000;
}
.text-block-red {
background-color: #C8230A;
}
.text-block-black .text-block-title {
color: #fff;
}
.textblock-btn {
text-align: center;
font-size: 16px;
line-height: 24px;
font-weight: 600;
color: #fff;
border: 2px solid #fff;
border-radius: 25px;
padding: 10px 20px;
text-transform: uppercase;
min-width: 180px;
width: fit-content;
display: inline-block;
}
.text-block-black .textblock-btn {
display: flex;
justify-content: center;
margin: 0 auto;
margin-top: 2rem;
}
.text-block-red .textblock-btn {
background-color: #FFD20F;
color: #000000;
border-color: #FFD20F;
display: flex;
margin: 0 auto;
justify-content: center;
margin-top: 2rem;
width: fit-content;
}
.text-block-red .text-block-title,
.text-block-red .text-block-text {
color: #fff;
}
.text-block-img-wrap {
max-width: 40%;
margin: 0 auto;
margin-top: 2rem;
}
@media (min-width: 769px) {
.textblock-btn {
margin-top: 80px;
font-size: 18px;
}
.flx_text-block.text-block-red{
margin-bottom: 90px;
}
.flx_text-block {
margin-top: 100px;
}
.text-block-red .textblock-btn {
display: block;
margin: 0;
margin-top: 2rem;
width: fit-content;
justify-content: center;
}
.text-block-inner {
padding: 35px 86px;
}
.text-block-black .text-block-inner {
padding: 80px 86px;
}
.flx_text-block {
margin: 100px 0;
}
.text-block-header {
margin: 0 auto;
}
.text-block-red .text-block-inner {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
.text-block-title {
font-size: 35px;
}
.text-block-red .text-block-title,
.text-block-red .text-block-text {
text-align: left;
}
.text-block-img-wrap {
height: 120%;
position: absolute;
right: 0;
bottom: -30px;
right: 86px; margin: 0;
margin-top: 0;
}
.text-block-img-wrap img {
height: 108%;
object-fit: contain;
width: 100%;
}
.text-block-red .text-block-inner {
max-width: 850px;
position: relative;
}
.flx_slider.professoren+.flx_text-block {
margin-top: 120px;
}
}
@media (min-width: 998px) {
.flx_text-block {
margin: 120px 0;
}
.text-block-img {
height: 150px;
margin-bottom: 32px;
}
.text-block-inner {
padding: 35px 86px;
}
.text-block-black .text-block-inner {
padding: 80px 86px;
}
.text-block-text {
font-weight: 500;
}
}
@media (min-width: 1280px) {
.text-block-title {
font-size: 48px;
line-height: 1;
}
}