/* ------------------------------------------------ */
/*  !Reset  */
/* ------------------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: hsla(300, 0%, 20%, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

img,
picture {
  max-width: 100%;
  display: block;
}

figure img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: none;
}

a {
  text-decoration: none;
}

/* ------------------------------------------------ */
/*  !Fonts  */
/* ------------------------------------------------ */
/* noto-sans-display-300 - latin */
@font-face {
  font-family: "Noto Sans Display";
  font-style: normal;
  font-weight: 300;
  src:
    local(""),
    url("../fonts/noto-sans-display-v13-latin-300.woff2") format("woff2"),
    url("../fonts/noto-sans-display-v13-latin-300.woff") format("woff");
  font-display: swap;
}

/* noto-sans-display-regular - latin */
@font-face {
  font-family: "Noto Sans Display";
  font-style: normal;
  font-weight: 400;
  src:
    local(""),
    url("../fonts/noto-sans-display-v13-latin-regular.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url("../fonts/noto-sans-display-v13-latin-regular.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

/* noto-sans-display-600 - latin */
@font-face {
  font-family: "Noto Sans Display";
  font-style: normal;
  font-weight: 600;
  src:
    local(""),
    url("../fonts/noto-sans-display-v13-latin-600.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url("../fonts/noto-sans-display-v13-latin-600.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

/* noto-sans-display-italic - latin */
@font-face {
  font-family: "Noto Sans Display";
  font-style: italic;
  font-weight: 400;
  src:
    local(""),
    url("../fonts/noto-sans-display-v13-latin-italic.woff2") format("woff2"),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url("../fonts/noto-sans-display-v13-latin-italic.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

/* ------------------------------------------------ */
/*  !Vars  */
/* ------------------------------------------------ */
:root {
  --black: #020303;
  --darkgrey: #333333;
  --midgrey: #ebebeb;
  --lightgrey: #f5f5f5;
  --bordergrey: #f2f2f2;
  --white: #ffffff;
  --yellow: #ffb800;
  --separator: #555555;
  --font-14: 0.875rem;
  --font-15: 0.9375rem;
  --font-16: 1rem;
  --font-18: 1.125rem;
  --font-20: 1.25rem;
  --font-22: 1.375rem;
  --font-24: 1.5rem;
  --font-26: 1.625rem;
  --font-28: 1.75rem;
  --font-32: 2rem;
  --font-38: 2.375rem;
  --font-40: 2.5rem;
  --font-46: 2.875rem;
  --box-shadow-cards: 0 1px 16px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------------ */
/*  !Links  */
/* ------------------------------------------------ */
a {
  color: var(--yellow);
}

a:hover {
  color: var(--yellow);
}

main p a,
main li a,
.video-transcript a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-position: under;
}

main p a:hover,
main li a:hover,
.video-transcript a:hover {
  color: var(--black);
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
}

a.arw {
  color: var(--black);
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}

a.arw:hover {
  color: var(--black);
}

a.arw:hover::after {
  transform: translateX(4px);
}

a.arw::after {
  content: "";
  display: block;
  width: 16px;
  height: 13px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -340px -160px;
  margin: 2px 0 0 8px;
  transition: transform 0.15s ease;
}

a.img figure {
  overflow: hidden;
}

a.img img {
  transition: transform 0.15s ease;
}

a.img:hover img {
  transform: scale(1.02);
}

a.btn {
  display: inline-block;
  text-decoration: none;
  padding: 12px 24px;
  color: var(--white);
  background-color: var(--yellow);
  border-radius: 2px;
  font-weight: 600;
}

a.btn:hover {
  background-color: var(--black);
}

a.btn.outline {
  font-weight: 400;
  color: var(--black);
  background-color: var(--white);
  border: 2px solid var(--black);
  transition: none;
}

a.btn.outline:hover {
  color: var(--white);
  background-color: var(--black);
}

a.download figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a.download figure::after {
  position: absolute;
  bottom: 0;
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  background-color: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -340px -260px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    transform 0.2s ease,
    opacity 0.1s ease;
}

a.download:hover figure::after {
  opacity: 1;
  transform: translateY(21px);
}

/* ------------------------------------------------ */
/*  !Typo  */
/* ------------------------------------------------ */
h1,
h3,
h3,
h4 {
  text-wrap: balance;
}

h1,
h2.homepage-headline {
  font-size: var(--font-46);
  font-weight: 400;
  line-height: 1.2;
}

main h1 {
  font-size: var(--font-38);
  margin-bottom: 40px;
  max-width: 800px;
}

main h2,
main h3,
aside h3 {
  font-size: var(--font-26);
  margin-bottom: 8px;
  max-width: 800px;
  font-weight: 400;
  line-height: 1.3;
}

main h3 {
  font-size: var(--font-22);
  line-height: 1.3;
}

h3 {
  font-size: var(--font-32);
  font-weight: 400;
  line-height: 1.2;
}

h1 span,
h2 span,
h3 span {
  color: var(--yellow);
}

main p {
  margin-bottom: 24px;
}

main ul {
  margin-bottom: 40px;
}

main ul li,
.nl-grid ul li,
.box.presse li {
  padding: 0 0 0 14px;
  margin-bottom: 4px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -490px -479px;
}

strong {
  font-weight: 600;
}

sup,
sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
  font-size: 75%;
}

sub {
  top: 0.4em;
}

em {
  font-style: italic;
}

@media screen and (max-width: 560px) {
  main h1 {
    font-size: var(--font-32);
  }
}

@media screen and (max-width: 414px) {
  h2.homepage-headline {
    font-size: var(--font-40);
  }
}

/* ------------------------------------------------ */
/*  !Sektionen  */
/* ------------------------------------------------ */
.section-m-80 {
  margin: 0 0 80px 0;
}

.section-p-120 {
  padding: 40px 0;
}

.section-p-80 {
  padding: 40px 0;
}

.section-p-80:has(+ .section-p-80) {
  padding-bottom: 40px;
}

.c-lightgrey {
  background-color: var(--lightgrey);
}

@media screen and (min-width: 768px) {
  .section-p-80 {
    padding: 80px 0;
  }

  .section-p-120 {
    padding: 120px 0;
  }
}

/* ------------------------------------------------ */
/*  !Body  */
/* ------------------------------------------------ */
body {
  color: var(--black);
  background-color: var(--white);
  font-family: "Noto Sans Display", system-ui;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
}

/* ------------------------------------------------ */
/*  !Container  */
/* ------------------------------------------------ */
.container {
  max-width: 1480px;
  padding: 0 16px;
  margin: 0 auto;
}

.w-medium {
  max-width: 1240px;
}

/* Alle Inhalte werden zentriert */
@media screen and (max-width: 768px) {
  .content .container {
    max-width: 560px;
  }
}

@media screen and (min-width: 414px) {
  .container {
    padding: 0 40px;
  }
}

/* ------------------------------------------------ */
/*  !Inhaltsseit Main Aside Grid  */
/* ------------------------------------------------ */
.main-grid {
  display: grid;
  grid-template-columns: minmax(480px, 740px) minmax(360px, 440px);
  column-gap: 160px;
}

@media screen and (max-width: 1400px) {
  .main-grid {
    column-gap: 80px;
  }
}

@media screen and (max-width: 1024px) {
  .main-grid {
    column-gap: 56px;
  }
}

@media screen and (max-width: 960px) {
  .main-grid {
    display: block;
    width: 100%;
  }
}

/* ------------------------------------------------ */
/*  !Header  */
/* ------------------------------------------------ */
header {
  position: relative;
  padding: 40px 0;
  z-index: 12;
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 810px) {
  header {
    height: 128px;
  }
}

@media screen and (max-width: 375px) {
  header {
    padding: 24px 0;
    height: 96px;
  }
}

/* ------------------------------------------------ */
/*  !Logo  */
/* ------------------------------------------------ */
a.logo {
  display: block;
  width: 191px;
  height: 48px;
  text-indent: -9999px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -10px -10px;
  flex-shrink: 0;
}

@media screen and (max-width: 375px) {
  a.logo {
    width: 160px;
    height: 48px;
    background-position: -240px -10px;
  }
}

/* ------------------------------------------------ */
/*  !Header Navigation  */
/* ------------------------------------------------ */
header nav>ul {
  display: flex;
  align-items: flex-end;
}

header nav>ul li {
  margin: 0 0 0 40px;
  line-height: 1;
}

header nav>ul a {
  color: var(--black);
  text-decoration: none;
}

header a.submenu-link {
  display: inline-flex;
  align-items: center;
}

header a:hover {
  color: var(--black);
}

header a.submenu-link.active {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}

header a.submenu-link.active::after {
  transform: rotateZ(-180deg);
}

header a.submenu-link::after {
  content: "";
  display: block;
  width: 10px;
  height: 7px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -100px -100px;
  margin: 5px 0 0 6px;
  transition: transform 0.2s ease;
}

.search-link {
  display: block;
  width: 19px;
  height: 19px;
  text-indent: -9999px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -10px -100px;
  margin: 0 0 0 0;
}

header a.submenu-link.search-link::after {
  display: none;
}

.search-link:hover,
header a.submenu-link.search-link.active {
  background-position: -50px -100px;
}

@media screen and (max-width: 810px) {
  header nav {
    display: none;
  }
}

/* ------------------------------------------------ */
/*  !Submenu  */
/* ------------------------------------------------ */
@media screen and (max-width: 810px) {
  .submenu {
    display: none;
  }
}

@media screen and (min-width: 811px) {
  .submenu {
    position: relative;
    z-index: 11;
    background-color: var(--lightgrey);
    height: 0;
    visibility: hidden;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(-20px);
    will-change: transform;
  }

  .submenu.active {
    height: auto;
    visibility: visible;
    padding: 56px 0 120px 0;
    transform: translateY(0);
  }

  .submenu-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 24px;
  }

  .submenu a {
    color: var(--black);
    font-size: var(--font-16);
    display: inline-block;
    text-decoration: none;
    padding: 24px;
    background-color: var(--white);
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }

  .submenu a:hover {
    color: var(--black);
    background-color: var(--white);
    box-shadow: 0 1px 24px rgba(0, 0, 0, 0.1);
  }

  .submenu a span {
    color: var(--black);
    display: block;
    font-weight: 600;
    font-size: var(--font-20);
    margin: 0 0 4px 0;
  }

  .submenu-link-inner {
    display: flex;
    max-width: 320px;
  }

  .submenu-link-inner::before {
    content: "";
    display: inline-block;
    width: 23px;
    height: 23px;
    background-image: url("/assets/images/layout/sprites.svg");
    background-repeat: no-repeat;
    background-position: -450px -160px;
    margin: 4px 12px 0 0;
    flex-shrink: 0;
  }
}

@media screen and (max-width: 960px) {
  .submenu-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------------ */
/*  !Mobile Menu Link  */
/* ------------------------------------------------ */
@media screen and (min-width: 811px) {
  .mobile-menu-link {
    display: none;
  }
}

@media screen and (max-width: 810px) {
  .mobile-menu-link {
    display: block;
    width: 46px;
    height: 46px;
    text-indent: -9999px;
    background-image: url("/assets/images/layout/sprites.svg");
    background-repeat: no-repeat;
    background-position: -166px -82px;
  }
}

/* ------------------------------------------------ */
/*  !Mobile Menu */
/* ------------------------------------------------ */
@media screen and (min-width: 811px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu {
  height: 0;
  overflow: hidden;
  transition: transform 0.15s cubic-bezier(0.55, 0.09, 0.68, 0.53);
  transform: translateY(20px);
}

.mobile-menu.active {
  height: auto;
  overflow: auto;
  padding: 24px 40px;
  background-color: var(--darkgrey);
  min-height: calc(100vh - 128px);
  transform: translateY(0);
}

.mobile-menu-inner {
  max-width: 580px;
  margin: 0 auto;
}

.mobile-menu ul {
  margin-bottom: 40px;
}

.mobile-menu ul li {
  padding: 4px 0;
  border-bottom: 1px dashed var(--separator);
}

.mobile-menu a {
  display: block;
  color: var(--white);
  padding: 10px 0;
  text-decoration: none;
}

/* Suchfeld */
.search-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--midgrey);
  border-radius: 4px;
}

.search-wrapper input {
  border: none;
  color: var(--lightgrey);
  background: none;
  height: 40px;
  padding: 0 12px;
  width: calc(100% - 40px);
}

.search-wrapper button {
  display: block;
  width: 40px;
  height: 40px;
  text-indent: -9999px;
  border: none;
  background-color: transparent;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -42px -90px;
}

.search-wrapper::placeholder {
  opacity: 1;
  color: var(--midgrey);
}

@media screen and (max-width: 414px) {
  .mobile-menu.active {
    padding: 24px;
    min-height: calc(100vh - 96px);
  }
}

/* ------------------------------------------------ */
/*  !Suche Desktop  */
/* ------------------------------------------------ */
@media screen and (max-width: 810px) {
  .desktop-search {
    display: none;
  }
}

.desktop-search {
  position: relative;
  z-index: 11;
  height: 0;
  overflow: hidden;
  background-color: var(--lightgrey);
}

.desktop-search.active {
  height: auto;
  overflow: visible;
  padding: 56px 0;
}

.desktop-search-wrapper {
  display: flex;
  justify-content: space-between;
}

.desktop-search input {
  border: none;
  background-color: transparent;
  width: calc(100% - 124px);
  font-size: var(--font-22);
}

.desktop-search button {
  width: 120px;
  padding: 8px 0;
  color: var(--black);
  background-color: transparent;
  border: 2px solid var(--black);
  border-radius: 2px;
  cursor: pointer;
}

.desktop-search ::placeholder {
  opacity: 1;
}

/* ------------------------------------------------ */
/*  !Dimmer Navigation  */
/* ------------------------------------------------ */
#dimmer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.8);
}

@media screen and (max-width: 810px) {
  #dimmer {
    display: none;
  }
}

/* ------------------------------------------------ */
/*  !Slider Homepage  */
/* ------------------------------------------------ */
.slider {
  position: relative;
}

.slide {
  height: 0;
  visibility: hidden;
}

.slide.active {
  height: auto;
  visibility: visible;
}

.figure-wrapper {
  position: relative;
  height: 420px;
  width: 100%;
  background-color: var(--lightgrey);
  overflow: hidden;
}

.figure-wrapper .bildquelle {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 75%;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 1px 4px;
  border-radius: 2px;
  z-index: 10;
}

.slide figure {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition:
    transform 2s ease-out,
    opacity 2s ease-out;
  opacity: 0;
  transform: scale(1.05);
}

.slide.active figure {
  opacity: 1;
  transform: scale(1);
}

.slide-txt {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px;
  max-width: 680px;
  color: var(--white);
  background-color: rgba(255, 184, 0, 0.95);
  margin: -80px 0 16px 0;
  text-decoration: none;
}

.slide-txt:hover {
  color: var(--white);
}

.slide-txt p:nth-child(1) {
  margin-bottom: 16px;
}

.slide-txt h1 {
  font-size: var(--font-32);
  margin-bottom: 24px;
}

.slide-txt p:nth-child(3) {
  display: block;
  width: 44px;
  height: 44px;
  text-indent: -9999px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -10px -160px;
  margin: auto 0 0 0;
}

@media screen and (max-width: 810px) {
  .slide-txt {
    padding: 40px;
  }

  .figure-wrapper .bildquelle {
    top: 8px;
    bottom: auto;
  }
}

@media screen and (max-width: 480px) {
  .figure-wrapper {
    height: 210px;
  }

  .slide-txt {
    padding: 24px;
    margin: -40px 0 16px 0;
  }

  .slide-txt h1 {
    font-size: var(--font-28);
  }
}

/* ------------------------------------------------ */
/*  !Slider Navigation  */
/* ------------------------------------------------ */
.slider-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 680px;
  height: 40px;
}

.slider-nav li {
  padding: 4px 16px;
}

.slider-nav li:nth-child(2) {
  background-color: var(--midgrey);
  border-radius: 4px;
  font-size: var(--font-16);
}

.slider-nav li a {
  display: block;
  width: 19px;
  height: 15px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -220px -160px;
  text-indent: -9999px;
}

.slider-nav li:nth-child(3) a {
  background-position: -280px -160px;
}

/* ------------------------------------------------ */
/*  !Grid Themen Homepage  */
/* ------------------------------------------------ */
.homepage-themen>.container {
  position: relative;
}

.homepage-themen h2 {
  margin: -152px 0 80px 0;
}

.homepage-themen .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 40px;
}

@media screen and (max-width: 1080px) {
  .homepage-themen .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .homepage-themen .grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ------------------------------------------------ */
/*  !Grid Themen Homepage Item  */
/* ------------------------------------------------ */
.homepage-themen .grid-item {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.homepage-themen .grid-item figure img {
  flex-shrink: 0;
  min-height: 100px;
}

.homepage-themen .grid-item .txt {
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  height: 100%;
}

.homepage-themen .grid-item .txt p:first-child {
  font-size: var(--font-28);
  line-height: 1.2;
  margin-bottom: 8px;
}

.homepage-themen .grid-item .txt p:nth-child(2) {
  margin-bottom: 40px;
}

.homepage-themen .grid-item .txt p:nth-child(3) {
  margin: auto 0 0 0;
}

@media screen and (max-width: 768px) {
  .homepage-themen .container {
    max-width: 560px;
  }

  .homepage-themen .grid-item {
    margin: 0 auto;
  }
}

@media screen and (max-width: 375px) {
  .homepage-themen .grid-item .txt {
    padding: 24px;
  }
}

/* ------------------------------------------------ */
/*  !Homepage Section Headlines   */
/* ------------------------------------------------ */
.section-head {
  margin-bottom: 24px;
}

.section-text h2 {
  margin: 0 0 16px 0;
}

.section-text p {
  margin-bottom: 16px;
  max-width: 360px;
  font-size: var(--font-20);
  line-height: 1.4;
}

.section-head a {
  display: inline-flex;
  color: var(--white);
  background-color: var(--black);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: var(--font-15);
  line-height: 1;
}

.section-head a:hover {
  color: var(--white);
}

@media screen and (min-width: 1080px) {
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ------------------------------------------------ */
/*  !Homepage - Fokus  */
/* ------------------------------------------------ */
.homepage-fokus .container {
  width: min(100%, 560px);
}

.homepage-fokus-wrapper {
  box-shadow: var(--box-shadow-cards);
}

.homepage-fokus figure,
.homepage-fokus picture {
  height: 100%;
}

.homepage-fokus img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.homepage-fokus-wrapper .txt {
  padding: 40px 32px;
}

.homepage-fokus-wrapper h3 {
  font-size: var(--font-28);
  margin-bottom: 24px;
}

.homepage-fokus-wrapper h3::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -140px -400px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.homepage-fokus-wrapper p:has(+ p) {
  margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
  .homepage-fokus .container {
    width: 100%;
  }

  .homepage-fokus-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: none;
    padding: 40px;
    background-color: var(--lightgrey);
  }

  .homepage-fokus-wrapper .txt {
    box-shadow: var(--box-shadow-cards);
    background-color: var(--white);
  }

  .homepage-fokus-wrapper figure {
    order: 2;
  }

  .homepage-fokus img {
    aspect-ratio: 5 / 3;
  }
}

@media screen and (min-width: 960px) {
  .homepage-fokus-wrapper .txt {
    padding: 56px;
  }

  .homepage-fokus-wrapper p:has(+ p) {
    font-size: var(--font-20);
  }
}

/* ------------------------------------------------ */
/*  !Homepage Blog  */
/* ------------------------------------------------ */
.homepage-blog .blog-slider {
  display: grid;
  gap: 56px;
}

.homepage-blog .blog-item {
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  box-shadow: var(--box-shadow-cards);
}

.homepage-blog .blog-item::before {
  content: "";
  display: block;
  width: 33px;
  height: 30px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -10px -260px;
  margin: 0 0 40px 0;
}

.homepage-blog .blog-item p:nth-child(1) {
  font-size: var(--font-22);
  line-height: 1.3;
  margin-bottom: 16px;
}

.homepage-blog .blog-item p:nth-child(2) {
  margin: 0 0 56px 0;
}

.homepage-blog .blog-item p:nth-child(3) {
  margin: auto 0 0 0;
}

@media screen and (max-width: 768px) {
  .homepage-blog .container {
    max-width: 560px;
  }
}

@media screen and (min-width: 769px) {
  .homepage-blog .blog-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media screen and (min-width: 1081px) {
  .homepage-blog .blog-slider {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ------------------------------------------------ */
/*  !Homepage Top Downloads  */
/* ------------------------------------------------ */
.homepage-downloads .grid {
  display: flex;
  justify-content: space-between;
}

.homepage-downloads h2 {
  margin-bottom: 16px;
}

.homepage-downloads .col:nth-child(1) p:nth-child(2) {
  margin-bottom: 24px;
}

.homepage-downloads .col:nth-child(1) {
  max-width: 560px;
  padding: 0 80px 0 0;
}

.homepage-downloads .col:nth-child(2) {
  display: flex;
  width: 600px;
  max-width: 600px;
}

.homepage-downloads figure {
  max-width: 200px;
  min-width: 140px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.homepage-downloads figure:nth-child(1) {
  margin: 0 40px 0 0;
}

@media screen and (max-width: 1080px) {

  .homepage-downloads .col:nth-child(1),
  .homepage-downloads .col:nth-child(2) {
    width: calc(50% - 20px);
    padding: 0;
  }
}

@media screen and (max-width: 768px) {
  .homepage-downloads .container {
    max-width: 560px;
  }

  .homepage-downloads .grid {
    display: block;
  }

  .homepage-downloads .col:nth-child(1),
  .homepage-downloads .col:nth-child(2) {
    width: 100%;
  }

  .homepage-downloads .col:nth-child(1) {
    margin-bottom: 56px;
  }
}

@media screen and (max-width: 375px) {
  .homepage-downloads figure {
    max-width: 124px;
    min-width: 124px;
  }

  .homepage-downloads figure:nth-child(1) {
    margin: 0 16px 0 0;
  }
}

/* ------------------------------------------------ */
/*  !Newsletter und Handwerkssuche  */
/* ------------------------------------------------ */
.newsletter .container {
  display: flex;
  justify-content: space-between;
}

.newsletter .col {
  display: flex;
  flex-direction: column;
  width: calc(50% - 20px);
  padding: 80px;
  background-color: var(--lightgrey);
}

.newsletter h3 {
  margin-bottom: 16px;
  line-height: 1.3;
}

.newsletter h3+p {
  font-size: var(--font-20);
  margin-bottom: 24px;
  font-weight: 300;
}

.newsletter p:last-child {
  margin-top: auto;
}

@media screen and (max-width: 1080px) {
  .newsletter .col {
    padding: 56px;
  }
}

@media screen and (max-width: 768px) {
  .newsletter .container {
    max-width: 560px;
    display: block;
  }

  .newsletter .col {
    width: 100%;
  }

  .newsletter .col:first-child {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 480px) {
  .newsletter .col {
    padding: 40px 32px;
  }
}

@media screen and (max-width: 375px) {
  .newsletter h3+p {
    font-size: 100%;
    margin-bottom: 24px;
    font-weight: 400;
  }
}

/* ------------------------------------------------ */
/*  !Form Elements  */
/* ------------------------------------------------ */
input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--white);
  border: 1px solid var(--black);
  border-radius: 2px;
  margin: 0 8px 0 0;
  padding: 7px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border: 3px solid var(--white);
  background-color: var(--yellow);
}

button {
  border: none;
  display: inline-block;
  text-decoration: none;
  padding: 12px 24px;
  color: var(--white);
  font-weight: 600;
  background-color: var(--yellow);
  border-radius: 2px;
  cursor: pointer;
}

/* ------------------------------------------------ */
/*  !Footer  */
/* ------------------------------------------------ */
footer {
  color: var(--white);
  background-color: var(--darkgrey);
  padding: 120px 0;
}

/* Social Media Links */
.social-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(auto, 170px));
  column-gap: 16px;
  margin-bottom: 80px;
}

.social-links a {
  display: inline-flex;
  text-decoration: none;
  border: 1px solid var(--white);
  color: var(--white);
  padding: 12px 18px;
  min-width: 170px;
  border-radius: 2px;
}

.social-links a:hover {
  border-color: var(--yellow);
  background-color: var(--yellow);
}

.social-links a::before {
  content: "";
  display: block;
  width: 28px;
  height: 26px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -200px -260px;
  margin: 0 8px 0 0;
}

.social-links a.in::before {
  background-position: -260px -260px;
}

.social-links a.yt::before {
  background-position: -90px -258px;
}

.social-links a.bl::before {
  background-position: -150px -258px;
}

@media screen and (max-width: 810px) {
  .social-links {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 24px;
  }

  .social-links a {
    margin: 0;
    min-width: auto;
  }
}

@media screen and (max-width: 414px) {
  .social-links {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Themen */
footer nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(auto, 200px));
  column-gap: 24px;
  row-gap: 40px;
  margin-bottom: 56px;
}

footer nav ul:last-child li:nth-child(1) {
  color: var(--yellow);
}

footer nav ul:last-child li:nth-child(2) {
  font-size: var(--font-16);
}

footer nav ul li:first-child {
  text-transform: uppercase;
  font-size: var(--font-22);
  letter-spacing: 0.05rem;
  margin-bottom: 24px;
}

footer nav li {
  margin: 0 0 4px 0;
}

footer nav a {
  font-size: var(--font-16);
  text-decoration: none;
  color: var(--white);
  display: inline-block;
  padding: 4px 0;
}

footer nav a.arw {
  color: var(--white);
  font-size: var(--font-16);
  font-weight: 400;
}

footer nav a.arw:hover {
  color: var(--white);
}

@media screen and (max-width: 810px) {
  footer nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 560px) {
  footer nav {
    grid-template-columns: repeat(1, 1fr);
  }

  footer nav ul {
    padding-bottom: 32px;
    border-bottom: 1px dashed var(--midgrey);
  }

  footer nav ul:last-child {
    border: none;
    padding: 0;
  }
}

/* Footer hr */
footer hr {
  border: none;
  height: 1px;
  background-color: #484848;
  margin-bottom: 56px;
}

/* Footer legal */
.legal {
  display: flex;
}

.legal a {
  color: var(--white);
  text-decoration: none;
  font-size: var(--font-16);
}

.legal a:hover {
  color: var(--yellow);
}

.legal a::after {
  content: "|";
  color: var(--yellow);
  margin: 0 16px;
}

.legal li:nth-child(5) a::after,
.legal li:nth-child(6) a::after {
  display: none;
}

.legal li:nth-child(6) {
  margin-left: auto;
}

.legal li:nth-child(6) a {
  display: block;
  width: 30px;
  height: 30px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -160px -160px;
  text-indent: -9999px;
}

@media screen and (max-width: 480px) {
  .legal a::after {
    margin: 0 8px;
  }
}

@media screen and (max-width: 767px) {
  .legal {
    display: block;
  }

  .legal li {
    margin-bottom: 4px;
  }

  .legal a {
    display: inline-block;
    padding: 4px 0;
  }

  .legal a::after {
    display: none;
  }

  .legal li:nth-child(6) {
    margin: 40px 0 0 0;
  }
}

/* ------------------------------------------------ */
/*	!Bildstreifen Content	*/
/* ------------------------------------------------ */
@-webkit-keyframes imgFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 100;
  }
}

@-moz-keyframes imgFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 100;
  }
}

@keyframes imgFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 100;
  }
}

.top-image {
  position: relative;
  margin-bottom: 80px;
}

.top-image figure {
  height: 420px;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  animation: imgFadeIn 0.2s ease-in 0.7s forwards;
}

.top-image p {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 75%;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 1px 4px;
  border-radius: 2px;
  z-index: 11;
}

@media screen and (max-width: 768px) {
  .top-image figure {
    height: 210px;
  }
}

/* ------------------------------------------------ */
/*	!Grid Subthemen	*/
/* ------------------------------------------------ */
.subthemen {
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 80px;
  row-gap: 80px;
}

.subthemen .grid-item {
  box-shadow: var(--box-shadow-cards);
}

.subthemen .grid-item>a {
  display: block;
  overflow: hidden;
}

.subthemen .grid-item>div {
  padding: 40px;
}

.subthemen .grid-item figure {
  position: relative;
}

.subthemen .grid-item figure img {
  max-width: 100%;
  height: auto;
}

.subthemen .grid-item h3 {
  display: block;
  font-size: var(--font-22);
  margin: 0 0 24px 0;
}

.subthemen .grid-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  padding: 5px 10px;
  color: var(--white);
  background: var(--yellow);
}

@media screen and (max-width: 1280px) {
  .subthemen {
    column-gap: 40px;
    row-gap: 40px;
  }
}

@media screen and (max-width: 1080px) {
  .subthemen {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .subthemen {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 56px;
  }
}

@media screen and (max-width: 414px) {
  .subthemen .grid-item>div {
    padding: 40px 32px;
  }
}

/* ------------------------------------------------ */
/*  !Breadcrumbs  */
/* ------------------------------------------------ */
.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  font-size: var(--font-16);
  margin-bottom: 40px;
}

.breadcrumbs li {
  padding: 0;
  background-image: none;
  line-height: 1;
  margin: 0 0 8px 0;
}

.breadcrumbs li::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 7px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -450px -260px;
  margin: 0 8px 1px 8px;
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs a {
  color: var(--black);
  text-decoration: none;
}

/* ------------------------------------------------ */
/*  !Sticky Sidebar  */
/* ------------------------------------------------ */
aside {
  position: relative;
}

.sticky {
  position: sticky;
  top: 40px;
}

/* ------------------------------------------------ */
/*	!Fachkraft-Navigation	*/
/* ------------------------------------------------ */
aside nav {
  margin-bottom: 40px;
}

aside nav h3 {
  font-size: var(--font-38);
  font-weight: 400;
  color: var(--yellow);
  margin-bottom: 40px;
}

aside nav ul li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--midgrey);
}

aside nav li:after {
  content: "";
  display: block;
  width: 16px;
  height: 13px;
  background: transparent url("/assets/images/layout/sprites.svg") no-repeat -340px -160px;
  margin-left: auto;
}

aside nav ul li:last-child {
  border: none;
}

aside nav a {
  color: var(--black);
  font-size: var(--font-18);
  text-decoration: none;
}

aside nav a:hover,
aside nav a.active {
  color: var(--yellow);
}

@media screen and (max-width: 414px) {
  aside nav a {
    font-size: 100%;
  }
}

/* ------------------------------------------------ */
/*	!Box Seitenspalte	*/
/* ------------------------------------------------ */
.box {
  padding: 40px;
  margin-bottom: 40px;
  background-color: var(--lightgrey);
  border-radius: 2px;
}

.box h3 {
  font-size: var(--font-28);
  margin-bottom: 2rem;
}

/* Aktuell - Text + Button */
.box.presse>p:has(+ p > a.btn) {
  margin-bottom: 1.5rem;
}

.download_item {
  display: flex;
  flex-direction: column;
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px dashed var(--darkgrey);
}

.download_item:last-child {
  margin: 0;
  padding: 0;
  border: none;
}

.download_item figure {
  width: 160px;
  margin: 0 0 24px 0;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.download_item figure img {
  max-width: 100%;
  height: auto;
}

.download_item a {
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
}

.download_item div p:nth-child(1) {
  font-size: var(--font-18);
  margin-bottom: 0;
}

.download_item div p:last-child {
  font-size: 16px;
}

@media screen and (max-width: 960px) {
  .download_item {
    flex-direction: row;
  }

  .download_item figure {
    margin: 0 24px 0 0;
  }
}

@media screen and (max-width: 480px) {
  .download_item {
    flex-direction: column;
  }

  .download_item figure {
    margin: 0 0 24px 0;
  }
}

@media screen and (max-width: 414px) {
  .box {
    padding: 16px;
  }
}

/* ------------------------------------------------ */
/*	!Box im Content	*/
/* ------------------------------------------------ */
.box_content {
  position: relative;
  padding: 100px 40px 40px 40px;
  margin: 40px 0;
  background: var(--lightgrey);
}

.box_content h3 {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--white);
  min-width: 200px;
  font-size: var(--font-20);
  font-weight: 600;
  background: var(--yellow);
  padding: 12px 24px;
}

.box_content h4 {
  font-weight: 400;
  font-size: var(--font-20);
  margin-bottom: 5px;
}

.tipp h3:before {
  content: "";
  display: inline-block;
  width: 27px;
  height: 27px;
  margin-right: 10px;
  background: transparent url("/assets/images/layout/sprites.svg") no-repeat -10px -340px;
}

.box_content figure {
  margin: 0;
}

.box_content figcaption {
  margin: 8px 0 0 0;
  font-style: italic;
}

@media screen and (max-width: 414px) {
  .box_content {
    padding: 100px 20px 20px 20px;
  }
}

/* ------------------------------------------------ */
/*	!Bild im Content	*/
/* ------------------------------------------------ */
main figure {
  margin: 40px 0;
}

main figure img {
  max-width: 100%;
  height: auto;
}

main figure img.frame {
  border: 1px solid var(--midgrey);
  image-rendering: auto;
}

main figure figcaption {
  margin: 8px 0 0 0;
  font-style: italic;
}

/* ------------------------------------------------ */
/*	!Videos im Content	*/
/* ------------------------------------------------ */
.video_container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  margin: 40px 0 40px 0;
}

.video_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

/* ------------------------------------------------ */
/*	!PDF-Link mit Symbol im Content	*/
/* ------------------------------------------------ */
.pdf_content {
  margin: 24px 0;
  padding: 16px;
  border: 1px dashed var(--black);
}

.pdf_content a {
  color: var(--black);
  display: flex;
  align-items: flex-start;
  text-decoration: none;
}

.pdf_content a:hover {
  color: var(--yellow);
}

.pdf_content a::before {
  content: "";
  display: block;
  width: 22px;
  height: 28px;
  background: transparent url(/assets/images/layout/sprites.svg) no-repeat -100px -340px;
  margin: 0 16px 0 0;
  flex-shrink: 0;
}

@media screen and (max-width: 414px) {
  .pdf_content a {
    display: block;
  }

  .pdf_content a::before {
    margin: 0 0 16px 0;
  }
}

/* ------------------------------------------------ */
/*  !Ordered List  */
/* ------------------------------------------------ */
main ol.list {
  list-style: none;
  counter-reset: liste;
  margin-bottom: 32px;
}

main ol.list>li {
  display: flex;
  align-items: flex-start;
  counter-increment: liste;
  margin-bottom: 4px;
}

main ol>li:before {
  display: inline-block;
  margin-right: 6px;
  content: counter(liste) ". ";
}

/* ------------------------------------------------ */
/*	!Grid Presse	*/
/* ------------------------------------------------ */
.grid.presse {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 40px;
  padding: 56px 0;
}

.grid.presse .grid-item {
  display: flex;
  flex-direction: column;
  padding: 40px;
  background-color: var(--white);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.075);
}

.grid.presse .grid-item p:first-child {
  margin-bottom: 40px;
  font-size: var(--font-16);
}

.grid.presse .grid-item h3 {
  font-size: var(--font-22);
  font-weight: 400;
  margin: 0 0 20px;
  line-height: 1.4;
}

.grid.presse .grid-item h3+p {
  margin-bottom: 40px;
}

.grid.presse .grid-item p:nth-child(4) {
  margin: auto 0 0 0;
}

@media screen and (max-width: 1240px) {
  .grid.presse {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .grid.presse {
    grid-template-columns: repeat(1, 1fr);
    padding: 0 0 40px 0;
  }
}

@media screen and (max-width: 375px) {
  .grid.presse .grid-item {
    padding: 40px 24px;
  }
}

/* ------------------------------------------------ */
/*	!Pagination	*/
/* ------------------------------------------------ */
.pagination {
  display: flex;
  flex-wrap: wrap;
}

.pagination a,
.current {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--black);
  background: var(--white);
  width: 40px;
  height: 40px;
  margin: 0 8px 8px 0;
  border: 1px solid var(--black);
  text-decoration: none;
  transition: none;
}

.current,
.pagination a:hover {
  color: var(--white);
  background: var(--black);
}

/* ------------------------------------------------ */
/*	!Box Presse	*/
/* ------------------------------------------------ */
.box.presse {
  background-color: var(--white);
  border: 2px solid var(--bordergrey);
}

.box.presse p:nth-child(2) {
  margin-bottom: 8px;
}

.box.presse p:nth-child(2) a {
  font-size: var(--font-20);
  color: var(--yellow);
}

.box.presse p:nth-child(3) {
  font-size: var(--font-16);
}

.box.presse a {
  text-decoration: none;
}

.box.presse figure {
  margin-bottom: 40px;
  max-width: 280px;
}

.box.presse img {
  border-radius: 4px;
}

.box.presse figure:last-child {
  margin-bottom: 0;
}

.box.presse figure img.border {
  border: 1px solid var(--bordergrey);
}

.box.presse figcaption {
  font-size: var(--font-16);
  padding: 5px;
}

@media screen and (max-width: 375px) {
  .box.presse {
    padding: 24px;
  }

  .box.presse figure {
    max-width: 100%;
  }
}

/* ------------------------------------------------ */
/*	!Tabellen	*/
/* ------------------------------------------------ */
.table-wrapper {
  overflow-x: scroll;
  margin-bottom: 40px;
}

.table-wrapper>table {
  margin-bottom: 0;
}

table {
  width: 100%;
  margin-bottom: 40px;
  border-collapse: collapse;
  font-size: var(--font-16);
}

table th {
  text-align: left;
  border: 1px solid var(--lightgrey);
  padding: 10px;
  font-weight: 600;
  background: var(--yellow);
  white-space: nowrap;
}

table td {
  border: 1px solid var(--midgrey);
  padding: 10px;
  vertical-align: top;
}

table tr:nth-child(even) td {
  background: var(--lightgrey);
}

table+p.tab_unterzeile,
.table-wrapper+p.tab_unterzeile {
  margin: -20px 0 40px 0;
  font-style: italic;
}

/* Bullet in Tabellen */
span.bull {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 8px;
  background-color: var(--yellow);
  margin: 0 auto;
}

/* ------------------------------------------------ */
/*  !Specials  */
/* ------------------------------------------------ */
main ul.info>li {
  padding-left: 36px;
  margin-bottom: 10px;
  background: none;
}

main ul.info>li>ul {
  margin: 16px 0 24px 0;
}

main ul.info span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--yellow);
  margin: 0 8px 0 -36px;
}

/* ------------------------------------------------ */
/*	!Initiatoren	*/
/* ------------------------------------------------ */
.grid.initiatoren {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 40px;
  padding: 40px 0;
}

.grid.initiatoren .grid-item {
  padding: 40px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.075);
}

.grid.initiatoren .grid-item figure {
  margin-bottom: 40px;
  width: 100%;
}

.grid.initiatoren .grid-item h3 {
  font-size: var(--font-20);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 8px;
}

.grid.initiatoren p {
  margin-bottom: 16px;
}

.grid.initiatoren a {
  color: var(--black);
  text-decoration: none;
  font-size: 100%;
}

.grid.initiatoren a:hover {
  color: var(--yellow);
}

@media screen and (max-width: 1240px) {
  .grid.initiatoren {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .grid.initiatoren {
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
    column-gap: 0;
  }

  .grid.initiatoren .grid-item {
    padding: 24px;
  }
}

/* ------------------------------------------------ */
/*	!Downloads	*/
/* ------------------------------------------------ */
.grid-downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.grid-downloads-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.075);
}

.grid-downloads-item figure {
  margin: 0 0 40px 0;
  min-height: 200px;
  max-width: 160px;
}

.grid-downloads-item figure img {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
}

.grid-downloads-item h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 8px 0;
}

.grid-downloads-item p.dl-desc {
  margin-bottom: 40px;
  font-size: var(--font-16);
}

.grid-downloads-item p.dl-link {
  margin: auto 0 0 0;
}

.grid-downloads-item>a {
  display: block;
  max-width: 160px;
}

.download-label {
  display: inline;
  font-size: 14px;
  color: var(--white);
  background-color: var(--yellow);
  padding: 6px 12px;
  line-height: 1;
  margin-bottom: 12px;
  border-radius: 2px;
}

@media screen and (max-width: 1080px) {
  .grid-downloads {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .grid-downloads {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 375px) {
  .grid-downloads-item {
    padding: 24px;
  }
}

/* ------------------------------------------------ */
/*  !Download Filter 2023  */
/* ------------------------------------------------ */
.download-filter {
  margin-bottom: 24px;
}

.download-filter ul {
  display: grid;
  gap: 8px;
  background-color: var(--lightgrey);
  padding: 8px;
  border-radius: 4px;
}

.download-filter a {
  display: block;
  color: var(--black);
  background-color: var(--white);
  padding: 16px 16px;
  line-height: 1;
  text-align: center;
  border-radius: 2px;
  transition: background-color 0.1s ease-in-out;
}

.download-filter a.active {
  color: var(--white);
  background-color: var(--yellow);
}

.download-filter a.active:hover {
  background-color: var(--yellow);
}

.download-helptxt {
  margin-bottom: 12px;
  line-height: 1;
  font-size: var(--font-15);
}

@media screen and (min-width: 560px) {
  .download-filter ul {
    display: inline-grid;
    grid-template-columns: 210px 210px;
  }
}

/* ------------------------------------------------ */
/*  !Download Tags  */
/* ------------------------------------------------ */
.download-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.download-tags a {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
  color: var(--black);
  background-color: var(--lightgrey);
  border-radius: 4px;
  padding: 6px 10px;
  margin: 0 8px 8px 0;
}

.download-tags a.active,
.download-tags a:hover {
  color: var(--white);
  background-color: var(--black);
}

.download-tags a::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -300px -340px;
  margin: 0 8px 0 0;
}

.download-tags a.active::before,
.download-tags a:hover::before {
  background-position: -340px -340px;
}

/* ------------------------------------------------ */
/*  !Download Filter  */
/* ------------------------------------------------ */
.download_item div p.dl-status {
  display: inline-block;
  font-size: 14px;
  color: var(--white);
  background-color: var(--yellow);
  padding: 8px 8px;
  line-height: 1;
  margin-bottom: 12px;
  border-radius: 2px;
}

.dl_filter {
  margin-bottom: 40px;
}

.dl_filter ul {
  display: flex;
  flex-wrap: wrap;
}

.dl_filter ul li {
  margin: 0 8px 8px 0;
}

.dl_filter a {
  display: inline-block;
  padding: 4px 12px;
  color: var(--black);
  background: var(--lightgrey);
  border-radius: 2px;
  font-size: var(--font-16);
  text-decoration: none;
}

.dl_filter a.active {
  color: var(--white);
  background: var(--yellow);
}

/* ------------------------------------------------ */
/*	!Grid Newsletter Archiv	*/
/* ------------------------------------------------ */
.nl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 40px;
  padding: 40px 0;
}

.nl-grid-item {
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.075);
}

.nl-grid-item h3 {
  font-size: var(--font-26);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 24px;
}

.nl-grid-item p {
  margin-bottom: 16px;
}

.nl-grid ul {
  margin-bottom: 32px;
}

.nl-grid-item p:nth-child(3) {
  margin: auto 0 0 0;
}

.nl-grid-item a {
  text-decoration: none;
  font-size: 100%;
}

@media screen and (max-width: 1240px) {
  .nl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .nl-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
    column-gap: 0;
  }

  .nl-grid-item {
    padding: 24px;
  }
}

/* ------------------------------------------------ */
/*  !Fachbetriebssuche iFrame  */
/* ------------------------------------------------ */
iframe.fachbetriebssuche {
  width: 100%;
  height: 800px;
  padding-right: 24px;
  border: 1px solid var(--midgrey);
}

/* ------------------------------------------------ */
/*	!Suchergebnis	*/
/* ------------------------------------------------ */
.result-item {
  margin: 0 0 40px 0;
}

.result-item a {
  color: var(--black);
  text-decoration: underline;
}

.result-item a:hover {
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
}

.result-item p {
  margin-bottom: 4px;
}

.result-item p+p {
  color: hsl(0, 0%, 50%);
  font-size: var(--font-16);
  font-style: italic;
}

.result-item p+p::before {
  content: ".../";
}

/* ------------------------------------------------ */
/*  !Bildstrecke  */
/* ------------------------------------------------ */
.bildstrecke a {
  display: block;
  position: relative;
  color: var(--white);
}

.bildstrecke-count {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: var(--yellow);
  padding: 8px 12px;
  border-radius: 1px;
  font-size: var(--font-16);
  box-shadow: 0 1px 8px hsla(0, 0%, 0%, 0.4);
}

.bildstrecke-count:hover {
  background-color: hsl(42.3, 100%, 48%);
}

.bildstrecke-count::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 15px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -10px -400px;
  margin-right: 4px;
}

/* Slideout der Bildstrecke */
.bildstrecke-slideout {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden !important;
  color: var(--black);
  background-color: hsl(0, 0%, 100%);
  box-shadow: -2px 0 12px hsla(0, 0%, 0%, 0.15);
  transform: translateX(101%);
  will-change: transform;
}

.bildstrecke-slideout-container {
  width: calc(100% - 80px);
  max-width: 768px;
  margin: 0 auto;
  padding: 40px 0 80px 0;
}

.imagecount {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 1px;
  color: var(--white);
  background-color: var(--yellow);
  margin-bottom: 16px;
  font-size: var(--font-16);
  font-weight: 600;
}

.bildstrecke-slideout-container h2 {
  margin-bottom: 40px;
  line-height: 1.2;
  overflow-wrap: break-word;
  hyphens: auto;
}

.bildstrecke-slideout figure {
  margin-bottom: 40px;
  border-bottom: 1px dashed var(--darkgrey);
  padding-bottom: 32px;
}

.bildstrecke-slideout figure>img {
  box-shadow: 0 1px 6px hsla(0, 0%, 0%, 0.15);
}

.bildstrecke-slideout figure>picture+figcaption {
  margin-top: 24px;
}

.bildstrecke-slideout figcaption p:nth-child(1) {
  display: inline-block;
  margin-bottom: 16px;
  padding: 2px 6px;
  background-color: var(--midgrey);
  font-size: var(--font-16);
}

.bildstrecke-slideout figcaption p:nth-child(2) {
  margin-bottom: 8px;
}

.bildstrecke-slideout figcaption p.bildstrecke-quelle {
  font-size: var(--font-15);
  color: var(--darkgrey);
}

/* Topbar */
.bildstrecke-top-bar {
  display: flex;
  align-items: center;
  width: 100vw;
  height: 48px;
  padding: 0 40px;
  background-color: hsla(0, 0%, 0%, 0.8);
  font-size: var(--font-15);
}

.bildstrecke-top-bar a {
  color: var(--white);
}

.bildstrecke-top-bar a:hover {
  color: var(--yellow);
}

.bildstrecke-top-bar a::before {
  content: "‹";
  font-family: system-ui;
  margin-right: 4px;
  font-size: var(--font-18);
}

.bildstrecke-close {
  display: block;
  width: 44px;
  height: 44px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -180px -340px;
  text-indent: -9999px;
  margin-inline: auto;
  -webkit-tap-highlight-color: transparent;
}

@media screen and (max-width: 413px) {
  .bildstrecke-top-bar {
    padding: 0 24px;
  }

  .bildstrecke-slideout-container {
    width: min(100% - 48px, 768px);
  }
}

/* Bildstrecke Animation */
@keyframes bildstreckeActive {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes bildstreckeInactive {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(101%);
  }
}

.bildstrecke-slideout.active {
  animation: bildstreckeActive 0.5s 0.15s ease-in-out forwards;
}

.bildstrecke-slideout.inactive {
  animation: bildstreckeInactive 0.5s 0.15s ease-in-out backwards;
}

@media screen and (max-width: 414px) {
  .bildstrecke-slideout.active {
    animation-duration: 0.25s;
  }

  .bildstrecke-slideout.inactive {
    animation-duration: 0.25s;
  }
}

/* ------------------------------------------------ */
/*  !Videos Grid  */
/* ------------------------------------------------ */
#grid-videos,
#grid-more-videos {
  display: grid;
  gap: 56px;
}

#grid-videos .grid-item h3,
#grid-more-videos .grid-item h3 {
  display: block;
  font-size: var(--font-22);
  margin: 0 0 24px 0;
}

#grid-videos .grid-item,
#grid-more-videos .grid-item {
  box-shadow: var(--box-shadow-cards);
}

#grid-videos figure img,
#grid-more-videos figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center;
}

#grid-videos .txt,
#grid-more-videos .txt {
  padding: 40px 32px;
}

@media screen and (max-width: 768px) {
  .homepage-videos .container {
    max-width: 560px;
  }
}

@media screen and (min-width: 769px) {

  #grid-videos,
  #grid-more-videos {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media screen and (min-width: 1081px) {

  #grid-videos,
  #grid-more-videos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1280px) {
  #grid-videos {
    gap: 80px;
  }

  .homepage-videos #grid-videos {
    gap: 40px;
  }
}

/* ------------------------------------------------ */
/*  !Video Detailseite  */
/* ------------------------------------------------ */
.video_container.full-width {
  margin-bottom: 80px;
  overflow: hidden;
}

.video_container.full-width iframe {
  width: calc(100% + 4px);
  margin-left: -2px;
}

h3:has(+ #grid-more-videos) {
  margin-bottom: 24px;
}

/* ------------------------------------------------ */
/*  !Usercentrics Support CSS  */
/* ------------------------------------------------ */
.uc-no-consent {
  display: grid;
  place-content: center;
  font-size: 16px;
  padding: 24px;
  background-color: var(--lightgrey);
  width: 100%;
  text-align: center;
  aspect-ratio: 16 / 9;
}

.uc-no-consent p:first-child {
  margin-bottom: 16px;
}

.uc-no-consent a.btn {
  padding: 12px 16px;
  line-height: 1;
  border-radius: 4px;
}

.uc-no-consent a.btn:hover {
  background-color: var(--black);
}

/* ------------------------------------------------ */
/*  !Fokus - Hero  */
/* ------------------------------------------------ */
.fokus-hero {
  display: grid;
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .fokus-hero {
    margin-bottom: 40px;
  }
}

@media screen and (min-width: 960px) {
  .fokus-hero {
    grid-template-columns: 1.5fr 1fr;
    margin-bottom: 120px;
  }
}

/* ------------------------------------------------ */
/*  !Fokus - Hero Image  */
/* ------------------------------------------------ */
.fokus-hero figure {
  display: none;
}

.fokus-hero picture {
  height: 100%;
}

.fokus-hero figure img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 960px) {
  .fokus-hero figure {
    display: block;
    width: calc(100% + 40px);
    align-self: end;
    margin: 0 0 -40px -40px;
  }
}

/* ------------------------------------------------ */
/*  !Fokus - Hero Title  */
/* ------------------------------------------------ */
.fokus-hero-title {
  padding: 24px;
  color: var(--white);
  background-color: var(--yellow);
}

.fokus-hero-title .breadcrumbs {
  font-size: var(--font-16);
  color: var(--black);
}

.im-fokus {
  display: flex;
  align-items: center;
  font-size: var(--font-22);
  margin-bottom: 8px;
}

.im-fokus::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -100px -400px;
  margin: 0 8px 0 0;
}

.fokus-hero h1+p {
  width: min(100%, 560px);
}

.fokus-hero h1 {
  font-size: var(--font-28);
  line-height: 1.1;
  margin-bottom: 16px;
}

.fokus-hero h1+p {
  font-size: var(--font-18);
  line-height: 1.3;
}

@media screen and (min-width: 441px) {
  .fokus-hero h1 {
    font-size: var(--font-32);
  }
}

@media screen and (min-width: 560px) {
  .fokus-hero-title {
    padding: 40px;
  }

  .fokus-hero h1 {
    font-size: var(--font-40);
  }

  .fokus-hero h1+p {
    font-size: var(--font-20);
  }
}

@media screen and (min-width: 960px) {
  .fokus-hero-title {
    padding: 80px;
  }
}

/* ------------------------------------------------ */
/*  !Fokus - Articles  */
/* ------------------------------------------------ */
@media screen and (min-width: 960px) {
  .fokus-articles {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    width: min(100%, 1200px);
    margin-inline: auto;
    margin-bottom: 40px;
  }
}

@media screen and (min-width: 1080px) {
  .fokus-articles {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------ */
/*  !First Article  */
/* ------------------------------------------------ */
.first-article {
  margin-bottom: 40px;
}

.first-article .txt {
  padding: 32px 24px;
  background-color: var(--lightgrey);
}

.first-article .fokus-category {
  display: inline-block;
  font-size: var(--font-14);
  line-height: 1.2;
  padding: 6px 12px;
  margin: 0 0 16px 0;
  border-radius: 2px;
  color: var(--black);
  background-color: var(--midgrey);
}

.first-article h3 {
  font-size: var(--font-22);
  line-height: 1.3;
  margin-bottom: 16px;
}

.first-article p {
  margin-bottom: 24px;
}

.first-article p:has(> a) {
  margin: 0;
}

@media screen and (min-width: 768px) {
  .first-article {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }

  .first-article .txt {
    padding: 40px 80px 40px 40px;
  }

  .first-article figure {
    order: 2;
    margin: 40px 0 0 -40px;
    align-self: center;
  }

  .first-article figure img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }
}

@media screen and (min-width: 960px) {
  .first-article {
    display: block;
  }

  .first-article .txt {
    padding: 40px;
  }

  .first-article figure {
    order: 1;
    margin: 0;
    align-self: inherit;
  }

  .first-article figure img {
    aspect-ratio: 5 / 3;
  }
}

/* ------------------------------------------------ */
/*  !More Articles  */
/* ------------------------------------------------ */
.more-articles .article {
  margin-bottom: 40px;
}

.more-articles .txt {
  padding: 32px 24px;
}

.more-articles h3 {
  font-size: var(--font-22);
  margin-bottom: 16px;
}

.more-articles p {
  margin-bottom: 16px;
}

.more-articles p:has(> a) {
  margin: 0;
}

.more-articles figure img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 768px) {
  .more-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    column-gap: 40px;
  }

  .more-articles .txt {
    padding: 32px 24px 0 24px;
  }
}

@media screen and (min-width: 960px) {
  .more-articles {
    display: block;
    align-self: center;
  }

  .more-articles .article {
    border-bottom: 1px solid var(--midgrey);
  }

  .more-articles .article:last-child {
    border: none;
  }

  .more-articles figure {
    display: none;
  }

  .more-articles .txt {
    padding: 0 0 24px 0;
    font-size: var(--font-16);
  }

  .more-articles h3 {
    font-size: var(--font-20);
  }
}

@media screen and (min-width: 1080px) {
  .more-articles .article {
    display: grid;
    grid-template-columns: 1fr 120px;
    column-gap: 24px;
  }

  .more-articles figure {
    display: block;
    order: 2;
  }

  .more-articles figure img {
    aspect-ratio: 1 / 1;
  }
}

/* ------------------------------------------------ */
/*  !More Infos  */
/* ------------------------------------------------ */
.fokus-more-info {
  margin-bottom: 40px;
}

.fokus-more-info>h3 {
  font-size: var(--font-32);
  margin-bottom: 40px;
}

@media screen and (min-width: 960px) {
  .fokus-more-info {
    margin-bottom: 80px;
  }

  .fokus-more-info>h3 {
    font-size: var(--font-38);
  }
}

/* ------------------------------------------------ */
/*  !More Infos – Articles  */
/* ------------------------------------------------ */
.fokus-more-info .articles {
  display: grid;
  gap: 40px;
}

@media screen and (min-width: 768px) {
  .fokus-more-info .articles {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* ------------------------------------------------ */
/*  !More Infos – Article  */
/* ------------------------------------------------ */
.fokus-more-info .article {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--black);
}

.fokus-more-info .article h3 {
  font-size: var(--font-22);
  margin-bottom: 16px;
}

.fokus-more-info .article p {
  margin-bottom: 24px;
}

.fokus-more-info .article p:last-child {
  margin: auto 0 0 0;
}

.fokus-more-info .article h3::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -140px -400px;
  margin: 0 0 16px 0;
}

/* ------------------------------------------------ */
/*  !Fokus - Newsletter  */
/* ------------------------------------------------ */
.fokus-news {
  color: var(--white);
  background-color: var(--darkgrey);
  padding: 40px;
  margin-inline: auto;
  width: min(100%, 1400px);
}

.fokus-news p:first-child {
  font-size: var(--font-22);
  line-height: 1.4;
  margin-bottom: 4px;
}

.fokus-news .wrapper {
  display: grid;
  gap: 24px;
  width: min(100%, 560px);
  margin-inline: auto;
  text-wrap: balance;
}

.fokus-news .wrapper::before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  background-image: url("/assets/images/layout/plane.svg");
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
}

.fokus-news .txt p:nth-child(2) {
  color: hsl(0, 0%, 55%);
  font-size: var(--font-15);
  margin-bottom: 32px;
}

.fokus-news .txt p:nth-child(2) a {
  color: hsl(0, 0%, 55%);
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .fokus-news {
    padding: 80px;
  }

  .fokus-news .wrapper {
    grid-template-columns: 80px 1fr;
    gap: 40px;
  }
}

@media screen and (min-width: 960px) {
  .fokus-news {
    /* margin-bottom: 80px; */
  }
}

/* ------------------------------------------------ */
/*  !Weitere Fokusthemen  */
/* ------------------------------------------------ */
.more-fokus {}

.more-fokus h3 {
  margin-bottom: 40px;
}

.more-fokus .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  /* margin-bottom: 80px; */
}

.more-fokus .wrapper a {
  font-size: var(--font-18);
  display: inline-flex;
  align-items: flex-start;
  padding: 12px 16px;
  color: var(--black);
  background-color: var(--white);
  border: 1px solid var(--midgrey);
}

.more-fokus .wrapper a::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -140px -400px;
  margin: 8px 16px 0 0;
  flex-shrink: 0;
}

.more-fokus .wrapper a::after {
  content: "";
  display: block;
  width: 7px;
  height: 12px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -180px -400px;
  margin: 10px 0 0 16px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.more-fokus .wrapper a:hover::after {
  transform: translateX(4px);
}

.more-fokus .breadcrumbs ul {
  margin: 0;
}

@media screen and (min-width: 480px) {
  .more-fokus .wrapper a {
    padding: 24px 32px;
  }
}

/* ------------------------------------------------ */
/*  !Homepage - Tools V2  */
/* ------------------------------------------------ */
@media screen and (max-width: 768px) {
  .homepage-tools .container {
    max-width: 560px;
  }
}

.homepage-tools {}

.homepage-tools h2 {
  margin-bottom: 16px;
}

.homepage-tools h2+p {
  margin-bottom: 80px;
  max-width: 480px;
}

.tools-grid {
  display: grid;
  gap: 56px;
}

.tools-grid .txt p:first-child {
  font-size: var(--font-28);
  margin-bottom: 16px;
}

.tools-grid .txt p:first-child::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background-color: var(--yellow);
  margin-top: 8px;
}

.tools-grid .txt p:nth-child(2) {
  margin-bottom: 24px;
}

.tools-grid .grid-item>a {
  display: block;
  margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1080px) {
  .tools-grid {
    gap: 80px;
  }
}

/* ------------------------------------------------ */
/*  !Grid Medien  */
/* ------------------------------------------------ */

.grid-medien {
  display: grid;
  gap: 40px;
}

@media screen and (min-width: 769px) {
  .grid-medien {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1081px) {
  .grid-medien {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-medien>.grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.075);
  font-size: var(--font-16);
}

.grid-medien>.grid-item picture {
  height: 240px;
  /* feste Höhe für den Container */
  margin-bottom: 40px;
  display: flex;
  /* Flexbox für Zentrierung */
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* Überlauf verhindern */
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.grid-medien>.grid-item img {
  height: 100%;
  /* Bildhöhe passt sich an */
  width: auto;
  /* Breite bleibt proportional */
  object-fit: contain;
  /* Kein Stauchen oder Verzerren */
}

.grid-medien>.grid-item h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 8px 0;
}

.grid-medien>.grid-item h3+p {
  margin-bottom: 40px;
}

.grid-medien>.grid-item p:last-child {
  margin-top: auto;
}

@media screen and (min-width: 376px) {
  .grid-medien>.grid-item {
    display: flex;
    padding: 40px;
  }
}

/* ------------------------------------------------ */
/*  !Radio-Buttons Abfrage Download  */
/* ------------------------------------------------ */

.radio-container {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background-color: var(--lightgrey);
  margin-bottom: 0.5rem;
}

.radio-container p {
  margin-bottom: 0.5rem;
}

.radio-container label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.5rem;
  line-height: 1.2;
  cursor: pointer;
}

.radio-container input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  border: 2px solid var(--black);
  background-color: var(--white);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  margin-top: 1px;
}

.radio-container input:checked {
  border-color: var(--black);
}

.radio-container input::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: var(--yellow);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.25s ease-in-out;
}

.radio-container input:checked::before {
  transform: scale(1);
}

.radio-container+button:hover {
  background-color: var(--black);
}

.radio-container+p {
  font-size: var(--font-15);
  font-style: italic;
  margin-bottom: 2.5rem;
}

/* ------------------------------------------------ */
/*  !Danke Download  */
/* ------------------------------------------------ */

.danke-download {
  display: grid;
  gap: 2.5rem;
  padding: 2rem;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.075);
}

.danke-download figure {
  min-height: 200px;
  max-width: 160px;
  margin: 0;
}

.danke-download figure img {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
}

.danke-download h3 {
  font-size: 1.25rem;
}

.danke-download h3+p {
  font-size: 1rem;
}

.danke-download p:last-child {
  margin: 0;
}

@media (min-width: 375px) {
  .danke-download {
    padding: 2.5rem;
  }
}

@media (min-width: 768px) {
  .danke-download {
    grid-template-columns: 160px 1fr;
  }
}

/* ------------------------------------------------ */
/*  !Instafeed  */
/* ------------------------------------------------ */

.instafeed__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  align-items: stretch;
  /* Sicherstellen, dass die Zellen sich ausdehnen */
}

.instafeed__item {
  display: flex;
  flex-direction: column;
  box-shadow: var(--box-shadow-cards);
  height: 100%;
  /* Zelle füllt die gesamte Höhe der Grid-Zelle */
}

/* 3. und 4. Beitrag werden erst bei größeren Aflösungen berücksichtigt */
.instafeed__item:nth-child(3),
.instafeed__item:nth-child(4) {
  display: none;
}

.instafeed__item>div {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  flex-grow: 1;
  /* Textbereich wächst und nimmt den Platz ein */
}

.instafeed figure,
.instafeed img {
  aspect-ratio: 4 / 5;
}

.instafeed img {
  object-position: center;
  object-fit: contain;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid var(--midgrey);
}

.instafeed p:first-child {
  font-size: var(--font-15);
  margin-bottom: 1rem;
}

.instafeed__item>div p:nth-child(2) {
  margin-bottom: 2rem;
}

.instafeed__item>div p:last-child {
  margin-top: auto;
  /* Der Link wird immer nach unten verschoben */
}

.instafeed__item>div a[rel="noopener"] {
  color: var(--black);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.instafeed__item>div a[rel="noopener"]:hover::after {
  transform: rotate(45deg);
}

.instafeed__item>div a[rel="noopener"]::after {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background-image: url("/assets/images/layout/sprites.svg");
  background-repeat: no-repeat;
  background-position: -300px -400px;
  transition: transform 0.15s ease;
}

/* Kleine Geräte (bis 768px) - Handys */
@media screen and (max-width: 768px) {
  .instafeed .container {
    max-width: 560px;
  }
}

/* Mittlere Geräte (ab 768px) - Tablets */
@media (min-width: 768px) {
  .instafeed__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Große Geräte (ab 1080px) - kleinere Laptops */
@media (min-width: 960px) {
  .instafeed__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .instafeed__item:nth-child(3) {
    display: flex;
  }
}

/* Sehr große Geräte (ab 1440px) - große Desktops */
@media (min-width: 1280px) {
  .instafeed__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .instafeed__item:last-child {
    display: flex;
  }
}

/* ------------------------------------------------ */
/*  !Podcast */
/* ------------------------------------------------ */

@media screen and (max-width: 768px) {
  #podcast .container {
    max-width: 560px;
  }
}

.podcast {
  display: grid;
  gap: 2.5rem;
}

.podcast__text {
  order: 2;
}

.podcast figure {
  order: 1;
}

.podcast__text h2 {
  margin-bottom: 1rem;
  text-wrap: balance;
}

.podcast__text h2+p {
  margin-bottom: 1.5rem;
}

@media (min-width: 769px) {
  .podcast {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }

  .podcast__text {
    grid-column: 1 / span 6;
    grid-row: 1;
  }

  .podcast figure {
    grid-column: 7 / span 6;
    grid-row: 1;
  }
}

@media (min-width: 1081px) {
  .podcast__text {
    grid-column: 1 / span 7;
  }

  .podcast figure {
    grid-column: 8 / span 5;
  }
}

/* ------------------------------------------------ */
/*  !Accordion */
/* ------------------------------------------------ */

p:has(+ section.accordion),
ul:has(+ section.accordion) {
  margin-bottom: 5rem;
}

section.accordion {
  margin-bottom: 3.5rem;
}

.accordion h2 {
  display: flex;
  align-items: start;
  font-size: var(--font-26);
  line-height: 1.3;
  margin-bottom: 2rem;
}

.accordion h2::before {
  content: '';
  display: none;
  width: 32px;
  height: 31px;
  background-image: url('/assets/images/layout/sprites.svg');
  background-repeat: no-repeat;
  background-position: -350px -400px;
  margin: 4px 16px 0 0;
  flex-shrink: 0;
}

.accordion .details-body {
  padding: 8px 4px 16px 32px;
}

.accordion .details-body p:last-child {
  margin: 0;
}

.accordion details::marker {
  display: none;
}

.accordion summary svg {
  transition: transform 0.15s ease-in-out;
}

.accordion details[open] summary svg {
  transform: rotateZ(-45deg);
}

.accordion summary {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 16px;
  align-items: baseline;
  border-top: 1px dashed var(--darkgrey);
  font-weight: 600;
  padding: 24px 4px;
  cursor: pointer;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out;
}

.accordion summary:hover {
  background-color: var(--lightgrey);
}

/* Icons */
.icon.plus {
  width: 16px;
  height: 16px;
}


@media screen and (min-width: 414px) {
  .accordion .details-body {
    padding: 8px 16px 16px 48px;
  }

  .accordion h2::before {
    display: inline-block;
  }

  .accordion summary {
    padding: 24px 16px;
  }
}


/* ------------------------------------------------ */
/*  !Key Facts - das Wichtigste in Kürze */
/* ------------------------------------------------ */
.key-facts {
  padding: 1.5rem;
  background-color: var(--lightgrey);
  margin-bottom: 1.5rem;
}

.key-facts__title {
  font-size: 18px;
  font-weight: 600;
}

.key-facts ul {
  margin-bottom: 0;
}

.key-facts ul li:not(:last-child) {
  margin-bottom: 1.5rem;
}

@media (min-width: 414px) {
  .key-facts {
    padding: 2.5rem;
  }
}

/* ------------------------------------------------ */
/*  !Content-Teaser */
/* ------------------------------------------------ */
.content-teaser {
  display: grid;
  margin-bottom: 2.5rem;
  color: var(--black);
  background-color: var(--lightgrey);
  padding: .75rem .75rem 1.25rem .75rem;
}

.content-teaser:hover {
  color: var(--black);
}

.content-teaser picture {
  aspect-ratio: 2 / 1;
  margin-bottom: 1rem;
}

.content-teaser img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}

.content-teaser__label {
  display: inline-block;
  padding: 4px 8px;
  margin-bottom: .75rem;
  border-radius: 2px;
  font-size: 0.8125rem;
  line-height: 1;
  color: var(--white);
  background-color: var(--yellow);
}

.content-teaser__headline {
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.content-teaser__text {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 768px) {
  .content-teaser {
    grid-template-columns: 136px 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .content-teaser picture {
    aspect-ratio: 1 / 1;
    margin: 0;
  }
}

/* ------------------------------------------------ */
/*  !Video Transscript */
/* ------------------------------------------------ */
.video-transcript {
  background: var(--lightgrey);
  padding: 1.5rem;
  margin-bottom: 5rem;
}

.video-transcript>* {
  max-width: 70ch;
  /* angenehme Lesebreite */
  margin-inline: auto;
  /* zentriert im Kasten */
}

.video-transcript h3 {
  margin-bottom: 1.5rem;
}

.video-transcript p {
  margin-bottom: 1.5rem;
}

@media (min-width: 414px) {
  .video-transcript {
    padding: 2.5rem;
  }
}
