.block-item:has(.tpa-lesespalte, .tpa-gzw, .tpa-fragen):not(:has(img)) > .grid {
  justify-content: center; }

.block-item:has(.tpa-lesespalte, .tpa-gzw, .tpa-fragen):not(:has(img)) .right-col {
  display: none; }

.block-item:has(.tpa-lesespalte, .tpa-gzw, .tpa-fragen):not(:has(img)) .text-block {
  width: auto; }

.block-item .text-block ul.tpa-gzw {
  list-style: none;
  margin: 0;
  padding: 0 0 20px; }

.block-item .text-block ul.tpa-gzw > li {
  position: relative;
  min-height: 24px;
  line-height: 24px;
  margin-bottom: 1em;
  padding-left: 39px; }

.block-item .text-block ul.tpa-gzw > li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 24px 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D7FAF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.6v.1'/%3E%3C/svg%3E"); }

.block-item .text-block ul.tpa-gzw > li.tpa-gzw-dauer::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D7FAF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

.block-item .text-block ul.tpa-gzw > li.tpa-gzw-kleidung::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D7FAF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4L4 6.5 2.5 11l3 1.2L7 10v10h10V10l1.5 2.2 3-1.2L20 6.5 15 4c-.6 1.4-1.6 2.2-3 2.2S9.6 5.4 9 4z'/%3E%3C/svg%3E"); }

.block-item .text-block ul.tpa-gzw > li.tpa-gzw-befunde::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D7FAF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 15h6M9 18h4'/%3E%3C/svg%3E"); }

.block-item .text-block ul.tpa-gzw > li.tpa-gzw-weg::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D7FAF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-6.2-6-11a6 6 0 0 1 12 0c0 4.8-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2'/%3E%3C/svg%3E"); }

.block-item .text-block ul.tpa-gzw > li.tpa-gzw-buchung::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D7FAF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M9 15l2 2 4-4'/%3E%3C/svg%3E"); }

.block-item .text-block h3.tpa-fragen {
  margin: 2rem 0 0; }

.text-overlay h1.tpa-h1,
.text-overlay h1:has(.tpa-h1) {
  font-size: 1em;
  margin: 0; }

.slider-full-wrapper .text-overlay h1.tpa-h1-wie-h2,
.slider-full-wrapper .text-overlay h1:has(.tpa-h1-wie-h2) {
  font-size: 1.5em;
  margin: 4.49em 0 0.83em; }

.slider-full-wrapper .text-overlay h1.tpa-h1-hoch,
.slider-full-wrapper .text-overlay h1:has(.tpa-h1-hoch) {
  margin: 0 0 9em;
  margin: 0 0 min(9em, calc(100vh - 252px - 1lh)); }

@media (max-width: 768px) {
  .page-2 .text-block:has(.tpa-lesespalte, .tpa-gzw, .tpa-fragen),
  .page-2 .tpa-text {
    color: #878787; }

  .page-2 .text-block:has(.tpa-lesespalte, .tpa-gzw, .tpa-fragen) a,
  .page-2 .tpa-text a {
    color: #5D7FAF; }

  .page-2 .text-block:has(.tpa-lesespalte, .tpa-gzw, .tpa-fragen) .btn {
    border-color: #5D7FAF; } }

@media (min-width: 769px) {
  .page-2 .block-item:has(.tpa-lesespalte, .tpa-gzw, .tpa-fragen) .block-headline {
    color: #fff; }

  .page-2 .frame-layout-0 + .small-container > .block-item:has(.tpa-lesespalte, .tpa-gzw, .tpa-fragen) {
    margin-top: -3.5rem; } }

@media (min-width: 769px) {
  .slider-full-wrapper:has(.tpa-kopf) {
    height: auto;
    max-height: calc(100vh - 180px); } }

.slider-full-wrapper .text-overlay-wrapper:has(.tpa-kopf) {
  top: auto;
  bottom: 48px;
  left: calc(50% - 500px);
  width: 560px;
  transform: none;
  font-size: 16px;
  font-weight: 400; }

.slider-full-wrapper .text-overlay:has(.tpa-kopf) {
  background: #fff;
  padding: 32px 40px; }

.slider-full-wrapper .text-overlay h1.tpa-kopf {
  font-size: 2.6rem;
  line-height: 1.1;
  font-weight: 700;
  color: #5D7FAF;
  margin: 0; }

.slider-full-wrapper .text-overlay .tpa-kopf-satz {
  font-size: 20px;
  line-height: 1.4;
  font-style: italic;
  color: #646464;
  margin: 16px 0 0; }

.slider-full-wrapper .text-overlay .tpa-kopf-knopf {
  margin: 24px 0 0; }

.slider-full-wrapper .text-overlay .tpa-kopf-knopf a,
.block-item .text-block .tpa-abschluss-knopf a {
  display: inline-block;
  background: #5D7FAF;
  color: #fff;
  border: 1px solid #5D7FAF;
  padding: 20px 32px;
  font-size: 16px;
  transition: all 0.3s; }

.slider-full-wrapper .text-overlay .tpa-kopf-knopf a:hover,
.block-item .text-block .tpa-abschluss-knopf a:hover {
  background: #425a7c;
  border-color: #425a7c;
  color: #fff; }

@media (max-width: 1199px) {
  .slider-full-wrapper .text-overlay-wrapper:has(.tpa-kopf) {
    left: 40px;
    bottom: 40px;
    width: 520px; }

  .slider-full-wrapper .text-overlay h1.tpa-kopf {
    font-size: 1.8rem; } }

@media (max-width: 768px) {
  .slider-full-wrapper .text-overlay-wrapper:has(.tpa-kopf) {
    position: static;
    width: auto; }

  .slider-full-wrapper:has(.tpa-kopf) video {
    display: block;
    object-fit: cover; }

  .slider-full-wrapper .text-overlay:has(.tpa-kopf) {
    padding: 28px 30px 0; }

  .slider-full-wrapper .text-overlay .tpa-kopf-satz {
    font-size: 18px; } }

.small-container > .block-item:has(.tpa-kopf) {
  margin: 40px 0 0; }

.block-item:has(.tpa-kopf) .block-headline:empty,
.block-item:has(.tpa-kopf) .block-subheadline:empty,
.block-item:has(.tpa-kopf) .text-block > .overlay-image:not(:has(img)),
.block-item:has(.tpa-kopf) > .grid > .right-col:not(:has(img)) {
  display: none; }

.block-item:has(.tpa-kopf) > .grid {
  display: block;
  margin: 0; }

.block-item:has(.tpa-kopf) > .grid > .text-block-outer {
  width: auto;
  padding: 0; }

.block-item:has(.tpa-kopf) .text-block {
  width: auto;
  margin: 0; }

.block-item .text-block h1.tpa-kopf {
  max-width: 820px;
  font-size: 2.6rem;
  line-height: 1.1;
  font-weight: 700;
  color: #5D7FAF;
  margin: 0; }

.block-item .text-block .tpa-kopf-satz {
  max-width: 820px;
  font-size: 20px;
  line-height: 1.4;
  font-style: italic;
  color: #646464;
  margin: 14px 0 0; }

@media (max-width: 1199px) {
  .block-item .text-block h1.tpa-kopf {
    font-size: 1.8rem; } }

@media (max-width: 768px) {
  .small-container > .block-item:has(.tpa-kopf) {
    margin-top: 28px; }

  .block-item .text-block .tpa-kopf-satz {
    font-size: 18px; } }

.small-container > .block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) {
  --tpa-rand: 0px;
  --tpa-innen: 40px; }

@media (min-width: 1200px) {
  .small-container > .block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) {
    width: calc(100vw - 160px);
    margin-left: calc(50% - 50vw + 80px);
    --tpa-rand: calc(50vw - 580px);
    --tpa-innen: calc(50vw - 580px); } }

@media (max-width: 768px) {
  .small-container > .block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) {
    margin-left: -30px;
    margin-right: -30px;
    --tpa-rand: 30px;
    --tpa-innen: 30px; } }

.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) .block-headline:empty,
.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) .block-subheadline:empty,
.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) .text-block > .overlay-image:not(:has(img)),
.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) .text-block > .img-wrapper:not(:has(img)),
.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) > .grid > .right-col:not(:has(img)) {
  display: none; }

.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) > .grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  margin: 0; }

.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) > .grid > .text-block-outer,
.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) > .grid > .right-col {
  width: auto;
  padding: 0;
  margin: 0; }

.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) .text-block {
  width: auto;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #646464; }

.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) .text-block p {
  margin: 0 0 1em; }

.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) .text-block a {
  color: #5D7FAF; }

.block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) .text-block a:hover {
  color: #425a7c; }

.block-item .text-block h2.tpa-h2 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  color: #5D7FAF;
  margin: 0 0 12px; }

.block-item .text-block .tpa-unterzeile {
  font-size: 20px;
  line-height: 1.4;
  font-style: italic;
  color: #878787;
  margin: 0 0 28px; }

.block-item:has(.tpa-h2) .text-block h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #646464;
  margin: 28px 0 8px; }

.block-item:has(.tpa-h2) .text-block ul:not([class*="tpa-"]) {
  margin: 0 0 1em;
  padding: 0 0 0 20px; }

.block-item:has(.tpa-h2) .text-block > .btn.btn-large {
  display: inline-block;
  width: auto;
  margin: 16px 16px 0 0;
  padding: 20px 32px;
  font-size: 16px;
  border-color: #5D7FAF;
  color: #5D7FAF; }

.block-item:has(.tpa-h2) .text-block > .btn.btn-large:hover {
  background: #5D7FAF;
  color: #fff; }

@media (max-width: 1199px) {
  .block-item .text-block h2.tpa-h2 {
    font-size: 30px; } }

@media (max-width: 768px) {
  .block-item .text-block h2.tpa-h2 {
    font-size: 24px; }

  .block-item .text-block .tpa-unterzeile {
    font-size: 18px;
    margin-bottom: 20px; }

  .block-item:has(.tpa-h2) .text-block > .btn.btn-large {
    display: block;
    margin-right: 0; } }

.block-item:has(.tpa-h2):has(.right-col img):not(:has(.tpa-band, .tpa-schritte, .tpa-karten, .tpa-frage)) > .grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.block-item:has(.tpa-h2):has(.right-col img):not(:has(.tpa-band, .tpa-schritte, .tpa-karten, .tpa-frage)) > .grid > .text-block-outer {
  align-self: center;
  padding: 48px 64px 48px var(--tpa-rand); }

.block-item.image-left-item:has(.tpa-h2):has(.right-col img):not(:has(.tpa-band, .tpa-schritte, .tpa-karten, .tpa-frage)) > .grid > .text-block-outer {
  padding: 48px var(--tpa-rand) 48px 64px; }

.block-item:has(.tpa-h2):has(.right-col img) > .grid > .right-col {
  position: relative;
  min-height: 520px; }

.block-item:has(.tpa-h2):has(.right-col img) > .grid > .right-col img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; }

@media (max-width: 1199px) {
  .block-item:has(.tpa-h2):has(.right-col img):not(:has(.tpa-band, .tpa-schritte, .tpa-karten, .tpa-frage)) > .grid > .text-block-outer {
    padding: 32px 40px 32px var(--tpa-rand); }

  .block-item.image-left-item:has(.tpa-h2):has(.right-col img):not(:has(.tpa-band, .tpa-schritte, .tpa-karten, .tpa-frage)) > .grid > .text-block-outer {
    padding: 32px var(--tpa-rand) 32px 40px; }

  .block-item:has(.tpa-h2):has(.right-col img) > .grid > .right-col {
    min-height: 420px; } }

@media (max-width: 768px) {
  .block-item:has(.tpa-h2):has(.right-col img):not(:has(.tpa-band, .tpa-schritte, .tpa-karten, .tpa-frage)) > .grid {
    grid-template-columns: minmax(0, 1fr); }

  .block-item:has(.tpa-h2):has(.right-col img) > .grid > .right-col {
    order: -1;
    min-height: 0;
    aspect-ratio: 3 / 2; }

  .block-item:has(.tpa-h2):has(.right-col img):not(:has(.tpa-band, .tpa-schritte, .tpa-karten, .tpa-frage)) > .grid > .text-block-outer,
  .block-item.image-left-item:has(.tpa-h2):has(.right-col img):not(:has(.tpa-band, .tpa-schritte, .tpa-karten, .tpa-frage)) > .grid > .text-block-outer {
    padding: 28px var(--tpa-rand) 0; } }

.block-item.image-left-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid {
  grid-template-columns: minmax(0, min(400px, 42%)) minmax(0, 1fr); }

.block-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid > .right-col {
  position: static;
  min-height: 0; }

.block-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid > .right-col img {
  position: static;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: initial; }

.block-item.image-left-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid > .text-block-outer {
  padding: 48px var(--tpa-rand) 48px 64px; }

.block-item:has(.tpa-portraet) .text-block {
  max-width: 560px; }

@media (max-width: 1199px) {
  .block-item.image-left-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid {
    grid-template-columns: minmax(0, min(320px, 40%)) minmax(0, 1fr); }

  .block-item.image-left-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid > .text-block-outer {
    padding: 32px var(--tpa-rand) 32px 40px; } }

@media (max-width: 768px) {
  .block-item.image-left-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid {
    grid-template-columns: minmax(0, 1fr); }

  .block-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid > .right-col {
    aspect-ratio: auto;
    padding: 0 var(--tpa-rand); }

  .block-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid > .right-col img {
    max-width: min(100%, 240px); }

  .block-item.image-left-item:has(.tpa-portraet):has(.tpa-h2):has(.right-col img) > .grid > .text-block-outer {
    padding: 28px var(--tpa-rand) 0; } }

.block-item:has(.tpa-h2):not(:has(.right-col img, .tpa-band, .tpa-schritte, .tpa-karten, .tpa-fakten, .tpa-frage, .tpa-abschluss)) .text-block {
  display: flow-root;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--tpa-innen); }

@media (min-width: 1200px) {
  .block-item:has(.tpa-h2):not(:has(.right-col img, .tpa-band, .tpa-schritte, .tpa-karten, .tpa-fakten, .tpa-frage, .tpa-abschluss)) .text-block {
    padding: 0; } }

@media (min-width: 769px) {
  .block-item:has(.tpa-h2):not(:has(.right-col img, .tpa-band, .tpa-schritte, .tpa-karten, .tpa-fakten, .tpa-frage, .tpa-abschluss)) .text-block > h2.tpa-h2,
  .block-item:has(.tpa-h2):not(:has(.right-col img, .tpa-band, .tpa-schritte, .tpa-karten, .tpa-fakten, .tpa-frage, .tpa-abschluss)) .text-block > .tpa-unterzeile {
    float: left;
    clear: left;
    width: 37%; }

  .block-item:has(.tpa-h2):not(:has(.right-col img, .tpa-band, .tpa-schritte, .tpa-karten, .tpa-fakten, .tpa-frage, .tpa-abschluss)) .text-block > :not(h2.tpa-h2, .tpa-unterzeile) {
    margin-left: 45%; }

  .block-item:has(.tpa-h2):not(:has(.right-col img, .tpa-band, .tpa-schritte, .tpa-karten, .tpa-fakten, .tpa-frage, .tpa-abschluss)) .text-block > :not(h2.tpa-h2, .tpa-unterzeile):first-of-type,
  .block-item:has(.tpa-h2):not(:has(.right-col img, .tpa-band, .tpa-schritte, .tpa-karten, .tpa-fakten, .tpa-frage, .tpa-abschluss)) .text-block > h3:first-child {
    margin-top: 0; } }

.block-item:has(.tpa-band):has(.right-col img) > .grid > .right-col {
  min-height: 0;
  aspect-ratio: 8 / 3; }

.block-item:has(.tpa-band) > .grid > .text-block-outer {
  position: relative;
  z-index: 1;
  justify-self: start;
  width: calc(100% - 2 * var(--tpa-innen));
  max-width: 760px;
  margin: -80px 0 0 var(--tpa-innen);
  padding: 40px 48px 8px;
  background: #fff; }

@media (max-width: 1199px) {
  .block-item:has(.tpa-band) > .grid > .text-block-outer {
    margin-left: 40px;
    width: calc(100% - 80px); } }

@media (max-width: 768px) {
  .block-item:has(.tpa-band):has(.right-col img) > .grid > .right-col {
    aspect-ratio: 8 / 3; }

  .block-item:has(.tpa-band) > .grid > .text-block-outer {
    width: auto;
    margin: 0;
    padding: 28px var(--tpa-rand) 0; } }

.block-item:has(.tpa-schritte) {
  background: #EDEDED;
  padding: 64px 0; }

.block-item:has(.tpa-schritte) .text-block {
  padding: 0 max(var(--tpa-innen), 40px); }

.block-item:has(.tpa-schritte) .text-block > :not(ol) {
  max-width: 760px; }

.block-item .text-block ol.tpa-schritte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  list-style: none;
  counter-reset: tpa-schritt;
  margin: 36px 0 0;
  padding: 0; }

.block-item .text-block ol.tpa-schritte > li {
  counter-increment: tpa-schritt;
  background: #fff;
  padding: 28px 28px 24px;
  margin: 0; }

.block-item .text-block ol.tpa-schritte > li::before {
  content: counter(tpa-schritt);
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 700;
  color: #5D7FAF;
  margin: 0 0 16px; }

.block-item .text-block ol.tpa-schritte > li > strong:first-child {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  color: #646464;
  margin: 0 0 8px; }

.block-item:has(.tpa-schritte):has(.right-col img) {
  padding: 0; }

.block-item:has(.tpa-schritte):has(.right-col img) > .grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.block-item.image-left-item:has(.tpa-schritte):has(.right-col img) > .grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.block-item:has(.tpa-schritte):has(.right-col img) .text-block {
  padding: 64px 64px 64px max(var(--tpa-rand), 40px); }

.block-item.image-left-item:has(.tpa-schritte):has(.right-col img) .text-block {
  padding: 64px max(var(--tpa-rand), 40px) 64px 64px; }

.block-item:has(.tpa-schritte):has(.right-col img) .text-block ol.tpa-schritte {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px; }

.block-item:has(.tpa-schritte):has(.right-col img) .text-block ol.tpa-schritte > li {
  position: relative;
  padding: 22px 28px 18px 88px; }

.block-item:has(.tpa-schritte):has(.right-col img) .text-block ol.tpa-schritte > li::before {
  position: absolute;
  left: 28px;
  top: 20px; }

@media (min-width: 769px) and (max-width: 1199px) {
  .block-item:has(.tpa-schritte):has(.right-col img) .text-block,
  .block-item.image-left-item:has(.tpa-schritte):has(.right-col img) .text-block {
    padding: 48px 40px; }

  .block-item .text-block ol.tpa-schritte:has(> li:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 768px) {
  .block-item:has(.tpa-schritte) {
    padding: 48px 0; }

  .block-item:has(.tpa-schritte):has(.right-col img) {
    padding: 0 0 48px; }

  .block-item:has(.tpa-schritte):has(.right-col img) > .grid,
  .block-item.image-left-item:has(.tpa-schritte):has(.right-col img) > .grid {
    grid-template-columns: minmax(0, 1fr); }

  .block-item:has(.tpa-schritte):has(.right-col img) .text-block,
  .block-item.image-left-item:has(.tpa-schritte):has(.right-col img) .text-block {
    padding: 28px var(--tpa-innen) 0; }

  .block-item .text-block ol.tpa-schritte {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px; }

  .block-item .text-block ol.tpa-schritte > li,
  .block-item:has(.tpa-schritte):has(.right-col img) .text-block ol.tpa-schritte > li {
    position: relative;
    padding: 20px 20px 16px 72px; }

  .block-item .text-block ol.tpa-schritte > li::before,
  .block-item:has(.tpa-schritte):has(.right-col img) .text-block ol.tpa-schritte > li::before {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 1.8rem; } }

.block-item:has(.tpa-karten) .text-block {
  padding: 0 max(var(--tpa-innen), 0px); }

.block-item:has(.tpa-karten) .text-block > :not(ul) {
  max-width: 760px; }

.block-item .text-block ul.tpa-karten {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
  list-style: none;
  margin: 36px 0 0;
  padding: 0; }

@media (min-width: 992px) {
  .block-item .text-block ul.tpa-karten > li {
    grid-column: span 2; }

  .block-item .text-block ul.tpa-karten > li:nth-last-child(2):nth-child(3n + 1),
  .block-item .text-block ul.tpa-karten > li:last-child:nth-child(3n + 2) {
    grid-column: span 3; }

  .block-item .text-block ul.tpa-karten:has(> li:nth-child(4):last-child) > li {
    grid-column: span 3; } }

.block-item .text-block ul.tpa-karten > li {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #EDEDED;
  padding: 28px 28px 24px;
  margin: 0;
  transition: all 0.3s; }

.block-item .text-block ul.tpa-karten > li > strong:first-child,
.block-item .text-block ul.tpa-karten > li > h3:first-child {
  display: block;
  font-size: 20px;
  line-height: 1.3;
  color: #5D7FAF;
  margin: 0 0 10px; }

.block-item .text-block ul.tpa-karten > li > p {
  margin: 0; }

.block-item .text-block ul.tpa-karten > li > p:last-child:not(:first-of-type) {
  margin-top: auto;
  padding-top: 16px; }

.block-item .text-block ul.tpa-karten > li > a {
  margin-top: auto;
  padding-top: 16px; }

.block-item .text-block ul.tpa-karten > li a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; }

.block-item .text-block ul.tpa-karten > li:has(a:hover) {
  background: #5D7FAF;
  color: #fff; }

.block-item .text-block ul.tpa-karten > li:has(a:hover) > strong:first-child,
.block-item .text-block ul.tpa-karten > li:has(a:hover) > h3:first-child,
.block-item .text-block ul.tpa-karten > li:has(a:hover) a {
  color: #fff; }

@media (max-width: 991px) {
  .block-item .text-block ul.tpa-karten {
    grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 769px) and (max-width: 991px) {
  .block-item .text-block ul.tpa-karten > li:last-child:nth-child(odd) {
    grid-column: 1 / -1; } }

@media (max-width: 768px) {
  .block-item:has(.tpa-karten) .text-block {
    padding: 0 var(--tpa-innen); }

  .block-item .text-block ul.tpa-karten {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px; }

  .block-item .text-block ul.tpa-karten > li {
    padding: 20px 20px 16px; } }

.block-item:has(.tpa-fakten) {
  background: #5D7FAF;
  padding: 56px 0; }

.block-item:has(.tpa-fakten) .text-block {
  padding: 0 max(var(--tpa-innen), 40px);
  color: #fff; }

.block-item:has(.tpa-fakten) .text-block h2.tpa-h2,
.block-item:has(.tpa-fakten) .text-block .tpa-unterzeile {
  color: #fff; }

.block-item .text-block ul.tpa-fakten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0; }

.block-item .text-block ul.tpa-fakten > li {
  overflow-wrap: break-word;
  border-left: 1px solid #fff;
  padding: 4px 0 4px 24px;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #fff; }

.block-item .text-block ul.tpa-fakten > li > strong:first-child {
  display: block;
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 6px; }

.block-item .text-block ul.tpa-fakten:has(> li:nth-child(4)) > li > strong:first-child {
  font-size: 30px; }

@media (max-width: 1199px) {
  .block-item .text-block ul.tpa-fakten > li > strong:first-child {
    font-size: 30px; } }

@media (max-width: 768px) {
  .block-item:has(.tpa-fakten) {
    padding: 40px 0; }

  .block-item .text-block ul.tpa-fakten {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px; }

  .block-item .text-block ul.tpa-fakten > li {
    padding-left: 16px; }

  .block-item .text-block ul.tpa-fakten > li > strong:first-child,
  .block-item .text-block ul.tpa-fakten:has(> li:nth-child(4)) > li > strong:first-child {
    font-size: 1.8rem; } }

.block-item:has(.tpa-frage) {
  background: #EDEDED;
  padding: 64px 0; }

.block-item:has(.tpa-frage) .text-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-flow: row dense;
  column-gap: 30px;
  padding: 0 max(var(--tpa-innen), 40px); }

.block-item:has(.tpa-frage) .text-block > * {
  grid-column: 1 / -1; }

.block-item:has(.tpa-frage) .text-block > h3.tpa-frage {
  display: flex;
  align-items: flex-end;
  background: #fff;
  padding: 28px 32px 10px;
  margin: 0;
  font-size: 20px;
  color: #5D7FAF; }

.block-item:has(.tpa-frage) .text-block > h3.tpa-frage + p {
  background: #fff;
  padding: 0 32px 28px;
  margin: 0 0 30px; }

.block-item:has(.tpa-frage) .text-block > h3.tpa-frage:nth-of-type(odd),
.block-item:has(.tpa-frage) .text-block > h3.tpa-frage:nth-of-type(odd) + p {
  grid-column: 1; }

.block-item:has(.tpa-frage) .text-block > h3.tpa-frage:nth-of-type(even),
.block-item:has(.tpa-frage) .text-block > h3.tpa-frage:nth-of-type(even) + p {
  grid-column: 2; }

.block-item:has(.tpa-frage) .text-block > .tpa-unterzeile {
  margin-bottom: 36px; }

@media (max-width: 768px) {
  .block-item:has(.tpa-frage) {
    padding: 48px 0; }

  .block-item:has(.tpa-frage) .text-block {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 var(--tpa-innen); }

  .block-item:has(.tpa-frage) .text-block > h3.tpa-frage:nth-of-type(n),
  .block-item:has(.tpa-frage) .text-block > h3.tpa-frage:nth-of-type(n) + p {
    grid-column: 1; }

  .block-item:has(.tpa-frage) .text-block > h3.tpa-frage {
    padding: 20px 20px 8px;
    font-size: 18px; }

  .block-item:has(.tpa-frage) .text-block > h3.tpa-frage + p {
    padding: 0 20px 20px;
    margin-bottom: 16px; } }

.block-item:has(.tpa-h2) .text-block ul.tpa-gzw > li {
  line-height: 24px;
  margin-bottom: 14px; }

.block-item:has(.tpa-abschluss) {
  background: #EDEDED;
  padding: 56px 0; }

.small-container:has(.tpa-frage) + .small-container > .block-item:has(.tpa-abschluss) {
  margin-top: -4rem;
  padding-top: 0; }

.block-item:has(.tpa-abschluss) .text-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 60px;
  align-items: center;
  padding: 0 max(var(--tpa-innen), 40px); }

.block-item:has(.tpa-abschluss) .text-block > * {
  grid-column: 1; }

.block-item .text-block p.tpa-abschluss {
  grid-row: 1 / span 2;
  font-size: 24px;
  line-height: 1.4;
  color: #646464;
  margin: 0; }

.block-item:has(.tpa-abschluss) .text-block > .tpa-abschluss-knopf,
.block-item:has(.tpa-abschluss) .text-block > .btn.btn-large {
  grid-column: 2;
  grid-row: 1;
  margin: 0; }

.block-item:has(.tpa-abschluss) .text-block > .btn.btn-large {
  background: #5D7FAF;
  color: #fff; }

.block-item:has(.tpa-abschluss) .text-block > .btn.btn-large:hover {
  background: #425a7c;
  border-color: #425a7c;
  color: #fff; }

.block-item:has(.tpa-abschluss) .text-block > .tpa-abschluss-telefon {
  grid-column: 2;
  grid-row: 2;
  margin: 14px 0 0;
  font-size: 16px; }

.block-item:has(.tpa-abschluss) .text-block > .tpa-abschluss-telefon a {
  font-weight: 700; }

@media (max-width: 991px) {
  .block-item:has(.tpa-abschluss) .text-block {
    grid-template-columns: minmax(0, 1fr); }

  .block-item .text-block p.tpa-abschluss,
  .block-item:has(.tpa-abschluss) .text-block > .tpa-abschluss-knopf,
  .block-item:has(.tpa-abschluss) .text-block > .btn.btn-large,
  .block-item:has(.tpa-abschluss) .text-block > .tpa-abschluss-telefon {
    grid-column: 1;
    grid-row: auto; }

  .block-item:has(.tpa-abschluss) .text-block > .tpa-abschluss-knopf {
    margin-top: 24px; } }

@media (max-width: 768px) {
  .block-item:has(.tpa-abschluss) {
    padding: 40px 0; }

  .block-item .text-block p.tpa-abschluss {
    font-size: 20px; }

  .block-item .text-block .tpa-abschluss-knopf a {
    display: block;
    text-align: center; } }

@media (min-width: 769px) {
  .page-2 main:has(.tpa-kopf) {
    background-size: 0 0; }

  .page-2 main:has(.tpa-kopf) > .container {
    width: auto;
    max-width: none;
    padding: 0;
    background-image: inherit;
    background-size: 0 0; }

  .page-2 main:has(.tpa-kopf) > .container > .grid {
    margin: 0;
    background-image: inherit;
    background-size: 0 0; }

  .page-2 main:has(.tpa-kopf) > .container > .grid > .main {
    display: grid;
    grid-template-columns: [voll-start] minmax(30px, 1fr) [inhalt-start links-start] minmax(0, 370px) [links-end] minmax(0, 80px) [rechts-start] minmax(0, 550px) [rechts-end inhalt-end] minmax(30px, 1fr) [voll-end];
    align-items: start;
    padding: 0;
    background-image: inherit;
    background-size: 0 0; }

  .page-2 main .main > .frame-type-list:has(.tpa-kopf),
  .page-2 main .frame-type-list:has(.tpa-kopf) .tx-br-jobs,
  .page-2 main .frame-type-list:has(.tpa-kopf) .jobs-bottom {
    display: contents; }

  .page-2 main .main:has(.tpa-kopf) > .small-container,
  .page-2 .jobs-bottom:has(.tpa-kopf) > * {
    grid-column: inhalt; }

  .page-2 main .main:has(.tpa-kopf)::before {
    content: "";
    grid-column: voll;
    grid-row: 1 / 5;
    align-self: stretch;
    background-image: inherit;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat; }

  .page-2 main .main:has(.tpa-kopf):not(:has(.tpa-kopf-knopf))::before {
    grid-row: 1 / 4; }

  .page-2 .jobs-bottom:has(.tpa-kopf) > a:first-child {
    grid-row: 1; }

  .page-2 .jobs-bottom > h1.tpa-kopf {
    grid-row: 2;
    max-width: 560px;
    font-size: 2.6rem;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    margin: 10rem 0 0; }

  .page-2 .jobs-bottom > .tpa-kopf-satz {
    grid-row: 3;
    max-width: 560px;
    font-size: 20px;
    line-height: 1.4;
    font-style: italic;
    color: #fff;
    margin: 16px 0 0; }

  .page-2 .jobs-bottom > .tpa-kopf-knopf {
    grid-row: 4;
    margin: 32px 0 72px; }

  .page-2 .jobs-bottom:not(:has(> .tpa-kopf-knopf)) > .tpa-kopf-satz {
    margin-bottom: 72px; }

  .page-2 .jobs-bottom:has(.tpa-kopf) > h2.tpa-h2 {
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    color: #5D7FAF;
    margin: 64px 0 12px; }

  .page-2 .jobs-bottom:has(.tpa-kopf) > h2.tpa-einstieg {
    grid-column: links;
    grid-row: span 2;
    padding-right: 30px; }

  .page-2 .jobs-bottom:has(.tpa-kopf) > .tpa-einstieg-unter,
  .page-2 .jobs-bottom:has(.tpa-kopf) > .tpa-einstieg-text {
    grid-column: rechts; }

  .page-2 .jobs-bottom:has(.tpa-kopf) > .tpa-einstieg-unter {
    margin-top: 64px; }

  .page-2 .jobs-bottom:has(.tpa-kopf) > .tpa-unterzeile {
    font-size: 20px;
    line-height: 1.4;
    font-style: italic;
    color: #878787;
    margin-bottom: 20px; }

  .page-2 .jobs-bottom:has(.tpa-kopf) > p:not(.tpa-kopf-satz, .tpa-kopf-knopf, .tpa-unterzeile) {
    font-size: 16px;
    line-height: 1.6;
    color: #646464;
    margin: 0 0 1em; }

  .page-2 .jobs-bottom:has(.tpa-kopf) .job-item h3 a {
    color: #5D7FAF; }

  .page-2 .jobs-bottom:has(.tpa-kopf) .job-item .subheadline {
    color: #878787; } }

@media (min-width: 769px) and (max-width: 991px) {
  .page-2 main:has(.tpa-kopf) > .container > .grid > .main {
    grid-template-columns: [voll-start] minmax(0, 1fr) [inhalt-start links-start] minmax(0, 370px) [links-end] minmax(0, 60px) [rechts-start] minmax(0, 550px) [rechts-end inhalt-end] minmax(0, 1fr) [voll-end]; }

  .page-2 main .main:has(.tpa-kopf)::before {
    margin: -15px -30px 0; }

  .page-2 .jobs-bottom > h1.tpa-kopf {
    margin-top: 8rem; }

  .page-2 .jobs-bottom > h1.tpa-kopf,
  .page-2 .jobs-bottom > .tpa-kopf-satz {
    max-width: 420px; } }

.page-2 .jobs-bottom .tpa-kopf-knopf {
  margin: 8px 0 28px; }

.page-2 .jobs-bottom .tpa-kopf-knopf a {
  display: inline-block;
  background: #5D7FAF;
  color: #fff;
  border: 1px solid #5D7FAF;
  padding: 20px 32px;
  font-size: 16px;
  transition: all 0.3s; }

.page-2 .jobs-bottom .tpa-kopf-knopf a:hover {
  background: #425a7c;
  border-color: #425a7c;
  color: #fff; }

.page-2 .jobs-bottom:has(.tpa-kopf) a:not(.tpa-kopf-knopf a) {
  color: #5D7FAF; }

@media (max-width: 768px) {
  .page-2 .small-container > .block-item:has(.tpa-h2, .tpa-fakten, .tpa-abschluss) {
    margin-left: 0;
    margin-right: 0; }

  .page-2 .jobs-bottom h1.tpa-kopf {
    font-size: 1.8rem;
    line-height: 1.1;
    color: #5D7FAF;
    margin: 12px 0 0; }

  .page-2 .jobs-bottom .tpa-kopf-satz {
    font-size: 18px;
    line-height: 1.4;
    font-style: italic;
    color: #646464;
    margin: 14px 0 36px; }

  .page-2 .jobs-bottom h2.tpa-h2 {
    font-size: 24px;
    line-height: 1.15;
    color: #5D7FAF;
    margin: 0 0 10px; }

  .page-2 .jobs-bottom .tpa-unterzeile {
    font-size: 18px;
    font-style: italic;
    color: #878787;
    margin: 0 0 20px; }

  .page-2 .jobs-bottom:has(.tpa-kopf) p {
    font-size: 16px;
    line-height: 1.6;
    color: #646464; }

  .page-2 .jobs-bottom:has(.tpa-kopf) a:not(.tpa-kopf-knopf a) {
    color: #5D7FAF; } }
