* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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  */
/* ------------------------------------------------ */
/* roboto-300 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ------------------------------------------------ */
/*  !CSS-Vars  */
/* ------------------------------------------------ */
:root {
  --rot: #DE3B00;
  --blau: #313A45;
  --weiss: #ffffff;
  --hellgrau: #F8F8F9;
  --hellorange: #fff4eb;
  --mittelgrau: #d8d8d8;
  --hellgrau-dashed: #ccc;
  --gelb: #FFDC51;
  --green: #71A942;
  --success: #6ec169;
  /* Card shadow */
  --card-shadow:
    0 0 1px rgba(0, 0, 0, .1),
    1px 1px 2px rgba(0, 0, 0, .05),
    1px 2px 4px rgba(0, 0, 0, .05),
    1px 4px 8px rgba(0, 0, 0, .05);
}

/* ------------------------------------------------ */
/*  !Usercentrics-Custom-Styles  */
/* ------------------------------------------------ */
.uc-embedding-container {
  background-color: var(--hellgrau) !important;
  margin-bottom: 40px;
}

/* Sonderfall Startseite */
.homepage-cards-big .grid-item .uc-embedding-container {
  aspect-ratio: 2 / 1 !important;
  overflow: hidden !important;
  height: auto !important;
  width: 100%;
  min-height: auto !important;
  max-height: auto !important;
}

.uc-embedding-wrapper {
  font-family: 'Roboto' !important;
  color: var(--blau) !important;
  border-radius: 0 !important;
  padding: 16px !important;
  box-shadow: 0 0 1px rgba(0, 0, 0, .1), 1px 1px 2px rgba(0, 0, 0, .05), 1px 2px 4px rgba(0, 0, 0, .05), 1px 4px 8px rgba(0, 0, 0, .05) !important;
}

.uc-embedding-wrapper h3 {
  font-weight: 300 !important;
}

.uc-embedding-wrapper .description-text {
  font-size: 15px;
  margin-bottom: 16px;
}

.uc-embedding-buttons button {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--weiss);
  padding: 8px 16px;
  transition: background-color .1s ease;
  white-space: nowrap;
  border-radius: 2px;
  width: min-content;
}

.uc-embedding-buttons button:nth-child(1) {
  display: none;
}

.uc-embedding-buttons button:nth-child(2) {
  background-color: var(--blau);
}

.uc-embedding-wrapper span {
  display: none;
}

@media screen and (min-width: 414px) {
  .uc-embedding-wrapper {
    padding: 24px !important;
  }
}

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

.home-video-container .uc-no-consent {
  aspect-ratio: 2 / 1;
}

.gmap .uc-no-consent {
  aspect-ratio: 1580 / 600;
}

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

.uc-no-consent a {
  color: var(--weiss);
  text-decoration: underline;
}

.uc-no-consent a:hover {
  color: var(--weiss);
}

/* ------------------------------------------------ */
/*  !TYPO  */
/* ------------------------------------------------ */
h1,
h2,
h3,
h4 {
  font-weight: 300;
  line-height: 1.3;
  text-wrap: balance;
}

h1 {
  font-size: 2rem;
  margin-bottom: 40px;
}

h2 {
  font-size: 1.625rem;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}

h4 {
  font-size: 1.0625rem;
  margin-bottom: 4px;
  font-weight: 400;
}

p.small {
  font-size: 0.875rem;
}

p.edit {
  margin-top: -8px;
  font-weight: 400;
}

p.medium {
  font-size: 0.9375rem;
}

.underlined:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--rot);
  margin: 8px 0 24px 0;
  border-radius: 1px;
}

strong {
  font-weight: 400;
}

em {
  font-style: italic;
}

sub,
sup {
  font-size: 0.75rem;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Typo in der Hauptspalte */
main {
  line-height: 1.7;
}

article p {
  margin-bottom: 24px;
}

article > ul,
article .infobox ul {
  margin-bottom: 24px;
}

article > ul li,
article .infobox ul li {
  padding-left: 6px;
}

article > ul li::marker,
article .infobox ul li::marker {
  content: '\2022 ';
  color: var(--rot);
}

@media screen and (max-width: 414px) {
  h1 {
    font-size: 175%;
  }
}

/* ------------------------------------------------ */
/*  !Body  */
/* ------------------------------------------------ */
body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--blau);
  background-color: var(--weiss);
  line-height: 1.5;
}

/* ------------------------------------------------ */
/*  !container  */
/* ------------------------------------------------ */
.container {
  max-width: 1660px;
  padding: 0 24px;
  margin-inline: auto;
}

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

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

  /* Einrueckung von 80 px */
  .wrapper {
    padding: 0 80px;
  }
}

/* ------------------------------------------------ */
/*  !Links  */
/* ------------------------------------------------ */
a {
  color: var(--rot);
  transition: color .1s ease;
}

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

a.arw {
  display: inline-flex;
  align-items: center;
  color: var(--blau);
}

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

a.arw:after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url('/assets/hea/images/layout/sprites.svg');
  background-repeat: no-repeat;
  background-position: -78px -78px;
  margin-left: 8px;
  transition: transform .2s ease;
}

a.btn {
  display: inline-block;
  font-weight: 400;
  color: var(--weiss);
  background-color: var(--rot);
  padding: 12px 24px;
  transition: background-color .1s ease;
  white-space: nowrap;
  border-radius: 4px;
}

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

a.btn.white {
  color: var(--blau);
  background-color: var(--weiss);
}

a.btn.blue {
  color: var(--weiss);
  background-color: var(--blau);
}

a.btn.green {
  color: var(--weiss);
  background-color: var(--green);
}

/* ------------------------------------------------ */
/*  !Generisches  */
/* ------------------------------------------------ */
.card-shadow {
  /* Ambient + Ambient */
  box-shadow:
    0 0 1px rgba(0, 0, 0, .1),
    1px 1px 2px rgba(0, 0, 0, .05),
    1px 2px 4px rgba(0, 0, 0, .05),
    1px 4px 8px rgba(0, 0, 0, .05);
}

.cal-date {
  display: inline-block;
  background-color: var(--hellgrau);
  font-weight: 400;
  font-size: 112.5%;
  padding: 4px 16px;
  margin-bottom: 32px;
  border-radius: 2px;
}

.cal-date.red {
  color: var(--weiss);
  background-color: var(--rot);
}

hr {
  margin: 24px 0;
  background: none;
  border: none;
  border-top: 1px dashed var(--blau);
}

/* ------------------------------------------------ */
/*  !Header  */
/* ------------------------------------------------ */
header {
  padding: 40px 0;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

@media screen and (max-width: 1024px) {
  header {
    justify-content: space-between;
  }
}

/* ------------------------------------------------ */
/*  !Logo HEA  */
/* ------------------------------------------------ */
.hea-logo {
  display: block;
  width: 103px;
  height: 36px;
  background: transparent url('/assets/hea/images/layout/sprites.svg') no-repeat -10px -10px;
  text-indent: -9999px;
  flex-shrink: 0;
  margin-right: 7.462687%;
}

/* ------------------------------------------------ */
/*  !Top Navigation  */
/* ------------------------------------------------ */
header nav > ul {
  display: flex;
}

header nav > ul > li {
  position: relative;
}

header nav > ul > li > a {
  color: var(--blau);
  font-size: 88.235%;
  font-weight: 400;
  text-transform: uppercase;
  margin-right: 32px;
}

header nav ul li:last-child a {
  margin-right: 0;
}

header nav ul a:hover,
header nav ul a.active {
  color: var(--rot);
}

/* Lupe */
header nav + ul {
  margin: 0 0 0 auto;
}

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

  header nav,
  header nav + ul {
    display: none;
  }
}

/* ------------------------------------------------ */
/*  !Pulldown-Desktop  */
/* ------------------------------------------------ */
.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
  font-weight: 400;
  background-color: var(--weiss);
  border-top: 2px solid var(--rot);
  /* Animation */
  transition: transform .1s ease-out, opacity .1s ease-out;
  transform-origin: top;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
}

.dropdown-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.dropdown-menu li {
  padding: 6px 0;
  white-space: nowrap;
}

.dropdown-menu a {
  color: var(--blau);
  font-size: 94.118%;
  line-height: 1;
}

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

@media screen and (max-width: 1024px) {
  .mobile-menu-link {
    display: block;
    width: 40px;
    height: 40px;
  }

  #menu {
    background-color: var(--weiss);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    border-radius: 4px;
  }

  #menu-1,
  #menu-2,
  #menu-3 {
    transition: transform .2s ease;
  }

  #menu-1 {
    transform-origin: 10px 14px;
  }

  #menu-2 {
    transform-origin: center;
  }

  #menu-3 {
    transform-origin: 10px 26px;
  }

  #menu-1.active {
    transform: translate(3px, -1px) rotateZ(45deg);
  }

  #menu-2.active {
    transform: scaleX(0);
  }

  #menu-3.active {
    transform: translate(3px, 1px) rotateZ(-45deg);
  }
}

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

@media screen and (max-width: 1024px) {
  .mobile-menu {
    z-index: 10;
    font-weight: 400;
    background-color: var(--weiss);
    visibility: hidden;
    height: 0;
    padding: 0;
  }

  /* Animation Menu */
  .mobile-menu.active {
    visibility: visible;
    min-height: calc(100dvh - 120px);
    height: auto;
    padding: 0;
    margin-bottom: 80px;
  }

  .mobile-menu nav {
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    transform: translateX(10px);
  }

  .mobile-menu.active nav {
    opacity: 1;
    transform: translateX(0);
  }

  /* Links */
  .mobile-menu nav > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    text-transform: uppercase;
    padding: 16px 0;
    background-color: var(--weiss);
    border-bottom: 1px dashed var(--mittelgrau);
  }

  .mobile-menu nav > ul > li > a.active {
    color: var(--rot);
  }

  .mobile-menu a {
    color: var(--blau);
  }

  .mobile-menu nav > ul > li > a.has-menu:after {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url('/assets/hea/images/layout/sprites.svg');
    background-repeat: no-repeat;
    background-position: -341px -69px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    border-radius: 4px;
  }

  .mobile-menu nav > ul > li > a.active.has-menu:after {
    transform: rotateZ(-180deg);
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
  }

  .mobile-menu nav > ul > li > ul {
    border-bottom: 1px dashed var(--mittelgrau);
    visibility: hidden;
    height: 0;
    padding: 0;
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
    transform: translateX(10px);
  }

  .mobile-menu nav > ul > li > ul.active {
    padding: 16px 16px 16px 12px;
    visibility: visible;
    height: 100%;
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-menu nav > ul > li > ul > li {
    padding: 8px 0;
  }
}

/* ------------------------------------------------ */
/*  !Forms  */
/* ------------------------------------------------ */
input,
textarea,
select,
button {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
}

/* ------------------------------------------------ */
/*  !Suche Icon  */
/* ------------------------------------------------ */
.search-icon #kreuz {
  opacity: 0;
}

.search-icon.active #kreuz {
  opacity: 1;
}

#lupe-icon-path {
  transition: fill .2s ease;
}

.search-icon:hover #lupe-icon-path {
  fill: var(--rot);
}

/* ------------------------------------------------ */
/*  !Suche  */
/* ------------------------------------------------ */
.search {
  height: 0;
  transform-origin: center left;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  transition: opacity .1s ease-out;
}

.search.active {
  height: auto;
  opacity: 1;
  padding: 0 0 40px 0;
}

.search-inner {
  position: relative;
  padding: 24px;
  border: 2px solid var(--blau);
}

.search form {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.search form input[type="text"] {
  font-size: 1.1875rem;
  font-weight: 400;
  width: calc(100% - 80px);
  padding: 8px 0;
  border: none;
  box-shadow: none;
  background-color: transparent;
}

.search form input[type="text"]::placeholder {
  color: var(--blau);
  opacity: 1;
}

.search input[type="text"]:focus {
  background-color: transparent;
}

.search form button {
  border: none;
  text-indent: -9999px;
  width: 40px;
  height: 40px;
  background-color: var(--weiss);
  background-image: url('/assets/hea/images/layout/sprites.svg');
  background-repeat: no-repeat;
  background-position: -150px -69px;
  cursor: pointer;
  transition: transform .2s ease;
}

.search button:hover {
  transform: translateX(4px);
}

@media screen and (max-width: 1024px) {
  .search {
    display: none;
  }
}

/* ------------------------------------------------ */
/*  !Footer  */
/* ------------------------------------------------ */
footer {
  color: var(--weiss);
  background-color: var(--blau);
  padding: 80px 0;
  border-top: 5px solid #d8d8d8;
}

/* ------------------------------------------------ */
/*  !Footer Wrapper  */
/* ------------------------------------------------ */
footer .wrapper {
  display: grid;
  row-gap: 40px;
  column-gap: 80px;
}

@media screen and (min-width: 960px) {
  footer .wrapper {
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  }
}

@media screen and (min-width: 1280px) {
  footer .wrapper {
    column-gap: 120px;
  }
}

/* ------------------------------------------------ */
/*  !Footer Nav  */
/* ------------------------------------------------ */
footer nav {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(max-content, 160px));
}

footer h3 {
  color: var(--rot);
  font-size: 129.412%;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.03rem;
}

footer h3 + p {
  font-size: 93.75%;
  margin-bottom: 40px;
}

footer nav ul li:first-child {
  font-size: 105.882%;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 8px;
}

footer nav a {
  color: var(--weiss);
  font-size: 93.75%;
}

footer nav a:hover {
  color: var(--rot);
}

/* Social Icons */
footer nav ul:last-child li:nth-child(2) {
  display: flex;
}

.i-twitter,
.i-fb {
  display: block;
  width: 42px;
  height: 42px;
  text-indent: -9999px;
  background-image: url('/assets/hea/images/layout/sprites.svg');
  background-repeat: no-repeat;
}

.i-twitter {
  background-position: -5px -132px;
}

.i-fb {
  background-position: -52px -132px;
}

/* ------------------------------------------------ */
/*  !Footer Impulse Eintrag  */
/* ------------------------------------------------ */
footer .wrapper > div:last-child {
  padding-top: 40px;
  border-top: 1px dashed var(--mittelgrau);
}

footer .wrapper > div:last-child p:first-child {
  font-size: 117.647%;
  margin-bottom: 8px;
}

footer .wrapper > div:last-child p:first-child + p {
  margin-bottom: 24px;
  font-size: 93.75%;
}

footer .wrapper > div:last-child form {
  margin-bottom: 16px;
}

footer .wrapper > div:last-child .impulse-form-wrapper {
  border: 1px solid #d8d8d8;
  display: flex;
  justify-content: space-between;
  width: min(100%, 480px);
}

footer .wrapper > div:last-child input[type="text"] {
  color: var(--weiss);
  background-color: transparent;
  border: none;
  width: calc(100% - 57px);
  padding: 16px;
  font-size: 112.5%;
}

footer .wrapper > div:last-child input[type="text"]:focus {
  background-color: transparent;
}

footer .wrapper > div:last-child ::placeholder {
  color: var(--weiss);
}

footer .wrapper > div:last-child button {
  border: none;
  width: 56px;
  text-indent: -9999px;
  background-color: transparent;
  background-image: url('/assets/hea/images/layout/sprites.svg');
  background-repeat: no-repeat;
  background-position: -100px -60px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
  border-radius: 0;
}

footer .wrapper > div:last-child button:hover {
  background-position: -96px -60px;
}

@media screen and (min-width: 960px) {
  footer .wrapper > div:last-child {
    padding-top: 0;
    border: none;
  }
}

/* ------------------------------------------------ */
/*  !Slider Homepage  */
/* ------------------------------------------------ */
.container .slider {
  position: relative;
  margin-bottom: 56px;
  overflow: hidden;
}

.slider-controls-text {
  padding: 40px;
  min-height: 200px;
}

.slider h1 {
  margin-bottom: 8px;
}

.slider-controls-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--blau);
}

/* Button */
.slider-btn {
  display: inline-block;
  padding: 16px 24px;
  font-weight: 400;
  color: var(--weiss);
  background-color: var(--rot);
  border-right: 1px solid var(--weiss);
  display: none;
}

.slider-btn:hover {
  color: var(--weiss);
}

.slider-btn.active {
  display: block;
}

.slider-count {
  margin-right: 16px;
}

.slider-prev-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--weiss);
}

.slider-prev-next a {
  display: block;
  width: 42px;
  height: 42px;
  text-indent: -9999px;
  background-image: url('/assets/hea/images/layout/sprites.svg');
  background-repeat: no-repeat;
}

.prev {
  background-position: -204px -67px;
}

.next {
  background-position: -264px -67px;
}

@media screen and (max-width: 1280px) {
  .slider-controls {
    bottom: 40px;
    left: 40px;
  }
}

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

  /* Textfeld Desktop - absolut positioniert */
  .slider-controls {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 580px;
    background-color: rgba(255, 255, 255, .95);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .2);
    z-index: 9;
  }
}

@media screen and (min-width: 1280px) {
  .slider-controls {
    bottom: 80px;
    left: 80px;
  }
}

/* Slider Mobile */
@media screen and (max-width: 1024px) {
  .slider {
    position: relative;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
  }
}

@media screen and (max-width: 414px) {
  .slider-controls-text {
    padding: 20px 20px 40px 20px;
  }

  .slider-count {
    display: none;
  }

  .slider h1 {
    font-size: 26px;
  }
}

/* ------------------------------------------------ */
/*  !Slider Animation  */
/* ------------------------------------------------ */
.slider-item figure {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: transform .6s ease-out, opacity .6s ease-out;
  transform: translateX(16px);
  z-index: 0;
}

.slider-item figure.active {
  position: relative;
  transform: translateX(0);
  opacity: 1;
  z-index: 8;
}

.slider-controls-text {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
}

.slider-controls-text.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

/* ------------------------------------------------ */
/*  !Homepage - Section Title */
/* ------------------------------------------------ */
.homepage-title {
  font-size: 1.75rem;
  text-align: center;
  padding: 0 40px;
  line-height: 1.2;
}

.homepage-title:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--rot);
  margin: 8px auto 56px auto;
}

@media screen and (min-width: 560px) {
  .homepage-title {
    font-size: 2rem;
  }
}

/* ------------------------------------------------ */
/*  !Cards Grid  */
/* ------------------------------------------------ */
.cards-grid {
  display: grid;
  gap: 40px;
  padding: 8px;
  margin-bottom: 56px;
}

.cards-grid.lightgrey {
  background-color: var(--hellgrau);
}

@media screen and (min-width: 375px) {
  .cards-grid {
    padding: 24px;
  }
}

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

@media screen and (min-width: 1280px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 80px;
  }

  /* Ausnahme Shop, Impulse Archiv */
  .shop > .cards-grid,
  .impulse-archiv .cards-grid {
    padding: 40px;
  }
}

/* ------------------------------------------------ */
/*  !Grid für Online-Angebote  */
/* ------------------------------------------------ */
.blue-cards {
  background-color: var(--hellgrau);
}

.cards-grid.blue-cards .grid-item {
  color: var(--weiss);
  background-color: var(--blau);
}

.blue-cards a.arw {
  color: var(--weiss);
}

/* ------------------------------------------------ */
/*  !Cards Grid item  */
/* ------------------------------------------------ */
.cards-grid .grid-item {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr;
  gap: 24px;
  background-color: var(--weiss);
  box-shadow: var(--card-shadow);
}

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

.grid-item p:has(+ p) {
  margin-bottom: 24px;
}

.grid-item p:has(> a.arw) {
  font-weight: 400;
  margin-top: auto;
}

.cards-grid .grid-item h3 {
  margin-bottom: 24px;
  text-wrap: balance;
}

.cards-grid figure {
  overflow: hidden;
}

.cards-grid img {
  transform-origin: bottom center;
  transition: transform .3s ease;
}

.cards-grid a:hover figure img {
  transform: scale(1.02);
}

/* ------------------------------------------------ */
/*  !Home Video-Container 2:1  */
/* ------------------------------------------------ */
.home-video-container {
  position: relative;
  aspect-ratio: 2 / 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------ */
/*  !Homepage Presse-Label  */
/* ------------------------------------------------ */
.presse-label {
  margin-bottom: 24px;
  font-size: 0.875rem;
}

.presse-label span {
  display: inline-block;
  padding: 4px 8px;
  letter-spacing: 0.03rem;
  background-color: var(--hellgrau);
}

.presse-label .eplus,
.presse-label .hea,
.presse-label .hgplus,
.presse-label .wplus {
  color: var(--weiss);
  font-weight: 400;
}

.presse-label .eplus {
  background-color: #F6BB26;
}

.presse-label .hgplus {
  background-color: #005294;
}

.presse-label .wplus {
  background-color: #F48034;
}

.presse-label .hea {
  background-color: var(--rot);
}

/* ------------------------------------------------ */
/*  !Homepage Box Grid  */
/* ------------------------------------------------ */
.home-box-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 80px;
}

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

@media screen and (min-width: 1280px) {
  .home-box-grid {
    padding: 0 80px 80px 80px;
    margin: 0;
  }
}

/* ------------------------------------------------ */
/*  !Homepage Box Grid Item  */
/* ------------------------------------------------ */
.home-box-grid .grid-item {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  row-gap: 24px;
  color: var(--weiss);
  background-color: var(--blau);
  box-shadow: 1px 4px 12px rgba(0, 0, 0, .1);
}

.home-box-grid h3 {
  font-size: 1.5rem;
}

.home-box-grid h3:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--rot);
  margin: 8px 0 8px 0;
}

.home-box-grid a.arw {
  color: var(--weiss);
  padding: 6px 12px;
  border: 1px solid var(--weiss);
}

@media screen and (min-width: 1280px) {
  .home-box-grid .grid-item {
    grid-template-columns: 1.35fr 1fr;
  }

  .home-box-grid .grid-item {
    row-gap: 0;
    column-gap: 32px;
    padding: 48px;
  }

  .home-box-grid .grid-item > .txt {
    order: 1;
    padding: 0;
  }

  .home-box-grid .grid-item > a {
    order: 2;
  }

  .home-box-grid .grid-item figure,
  .home-box-grid .grid-item picture {
    aspect-ratio: 3 / 4;
  }

  .home-box-grid img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }
}

/* ------------------------------------------------ */
/*  !Homepage EGM  */
/* ------------------------------------------------ */
.egm {
  display: grid;
  row-gap: 40px;
  background-color: var(--hellgrau);
  padding: 32px;
  margin: 0 0 80px 0;
  border-radius: 4px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, .1);
}

.egm figure img {
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
}

/* 220px : 74px */
.egm .txt figure {
  width: 200px;
  height: auto;
  margin-bottom: 24px;
}

.egm .txt figure img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.egm .txt p:has(+ p) {
  margin-bottom: 24px;
}

@media screen and (min-width: 768px) {
  .egm {
    grid-template-columns: 1fr 1.35fr;
    column-gap: 56px;
    row-gap: 0;
    align-items: center;
    padding: 80px;
  }

  .egm > figure img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 16px solid var(--weiss);
    width: min(100%, 300px);
    box-shadow: 1px 1px 2px hsla(0, 0%, 0%, .1);
  }

  .egm .txt figure {
    width: 280px;
    height: auto;
    margin-bottom: 24px;
  }
}

@media screen and (min-width: 1280px) {
  .egm {
    width: min(100%, 1420px);
    margin-inline: auto;
  }

  .egm .txt figure {
    width: 320px;
  }

  .egm .txt p:has(+ p) {
    margin-bottom: 32px;
    font-size: 1.1875rem;
  }
}

/* ------------------------------------------------ */
/*  !Titelbild-Standard-Seite  */
/* ------------------------------------------------ */
.title-img {
  margin-bottom: 80px;
}

.title-img figure {
  position: relative;
}

.title-img img {
  visibility: hidden;
  opacity: 0;
  transition: transform .6s ease-out, opacity .6s;
  transform: translateX(16px);
}

.title-img img.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

@media screen and (max-width: 768px) {
  .title-img {
    margin-bottom: 40px;
  }
}

/* ------------------------------------------------ */
/*  !Hauptspalte  */
/* ------------------------------------------------ */
main {
  margin-bottom: 80px;
}

main.grid {
  display: grid;
  row-gap: 40px;
}

@media screen and (min-width: 800px) {
  main.grid {
    column-gap: 40px;
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  }
}

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

@media screen and (min-width: 1440px) {
  main.grid {
    column-gap: 120px;
  }
}

/* ------------------------------------------------ */
/*  !Bild Hauptspalte  */
/* ------------------------------------------------ */
article figure {
  margin-bottom: 40px;
}

article figure figcaption {
  margin-top: 10px;
  font-style: italic;
}

article picture {
  display: block;
  position: relative;
}

article picture.title {
  background-color: var(--hellgrau);
  padding: 24px;
}

article picture.title img {
  max-width: 220px;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, .3);
}

article figure img.frame {
  border: 1px solid var(--mittelgrau);
}

/* ------------------------------------------------ */
/*  !Box Hauptspalte  */
/* ------------------------------------------------ */
aside:has(> .box) {
  position: relative;
}

aside .box,
article .box {
  position: sticky;
  top: 40px;
}

article .box {
  padding: 40px;
  background-color: var(--hellgrau);
  border: 1px solid #d8d8d8;
}

article .box p:last-child {
  margin: 0;
}

/* ------------------------------------------------ */
/*  !Box Seitenspalte  */
/* ------------------------------------------------ */
aside .box {
  padding: 40px;
  border-top: 1px solid var(--hellgrau);
  border-left: 1px solid var(--hellgrau);
}

aside .box h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

aside .box h3:first-child {
  font-weight: 400;
  margin-bottom: 24px;
}

aside .box h3:first-child:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--rot);
  margin: 8px 0 8px 0;
}

aside .box h4 {
  font-size: 137.5%;
  font-weight: 400;
  margin-bottom: 16px;
}

.box .pdf {
  margin: 0;
}

.box .copyright {
  margin: 0 0 32px 0;
}

.box .pdf a {
  font-size: 112.5%;
  font-weight: 400;
  display: block;
}

.box .copyright a {
  color: var(--blau);
}

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

.box figure.box-logo {
  margin-bottom: 16px;
}

.box figure.box-logo img {
  max-width: 250px;
}

.box figure:last-child {
  margin-bottom: 16px;
}

.box figure a {
  display: block;
  overflow: hidden;
}

.box figure img {
  margin-bottom: 8px;
}

.box figcaption {
  font-size: 93.75%;
}

.box figure.download-title {
  margin-bottom: 24px;
}

.box figure img.download-title {
  max-width: 180px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, .15);
}

.box .download-title-txt p {
  margin-bottom: 8px;
  line-height: 1.2
}

.box .download-title-txt p:last-child {
  font-size: 94.11764705882354%;
}

@media screen and (max-width: 960px) {
  .box-images {
    display: flex;
    flex-wrap: wrap;
  }

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

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

/* ------------------------------------------------ */
/*  !Box Links  */
/* ------------------------------------------------ */
.box p {
  margin-bottom: 24px;
}

.box-links + h3 {
  margin: 40px 0 16px 0;
}

.box-links li {
  margin-bottom: 8px;
}

.box hr {
  margin: 32px 0;
  background: none;
  border: none;
  border-top: 1px dashed var(--blau);
}

.icn-link,
.icn-link-external,
.icn-download {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
}

.icn-link-blue {
  color: var(--blau);
}

.icn-link-blue.active {
  color: var(--rot);
}

.icn-link span,
.icn-link-external span,
.icn-download span {
  display: block;
}

.icn-link:before,
.icn-link-external:before,
.icn-download:before,
.icn-link-blue::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-image: url('/assets/hea/images/layout/sprites.svg');
  background-repeat: no-repeat;
  background-position: -89px -259px;
  margin: 5px 8px 0 0;
}

.icn-link-external:before {
  background-position: -49px -259px;
}

.icn-download:before {
  background-position: -9px -260px;
}

.icn-link-blue:before {
  background-position: -89px -289px;
}

.box-zusatz {
  padding: 4px 0 0 0;
}

.box-zusatz.red {
  color: var(--rot);
}

/* ------------------------------------------------ */
/*  !Breadcrumbs  */
/* ------------------------------------------------ */
.breadcrumbs {
  margin-bottom: 16px;
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  font-size: 93.75%;
}

.breadcrumbs a {
  color: var(--blau);
}

.breadcrumbs li:after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 8px;
  background-image: url('/assets/hea/images/layout/sprites.svg');
  background-repeat: no-repeat;
  background-position: -59px -79px;
  margin: 0 8px;
}

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

/* ------------------------------------------------ */
/*  !Bildquelle  */
/* ------------------------------------------------ */
.bildquelle {
  font-size: 75%;
  text-align: right;
  padding: 4px 4px 0 0;
}

/* ------------------------------------------------ */
/*  !Startseite Presse  */
/* ------------------------------------------------ */
.hea-presse .cards-grid {
  padding: 8px;
}

.hea-presse .grid-item {
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 0;
  background-color: var(--weiss);
  overflow-x: auto;
}

.hea-presse .presse-label {
  margin: 0 0 24px 0;
}

.hea-presse h3 a {
  color: var(--blau);
}

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

.hea-presse .grid-item p:last-child {
  margin: auto 0 0 0;
}

@media screen and (min-width: 375px) {
  .hea-presse .cards-grid {
    padding: 24px;
  }
}

@media screen and (min-width: 768px) {
  .hea-presse .cards-grid {
    padding: 40px;
  }
}

/* ------------------------------------------------ */
/*  !Bilder Presse  */
/* ------------------------------------------------ */
picture.presse img {
  max-height: 200px;
  max-width: 280px;
}

picture.presse .frame {
  border: 1px solid #e9e9e9;
}

/* ------------------------------------------------ */
/*  !Pagination  */
/* ------------------------------------------------ */
.pagination {
  margin-bottom: 30px;
}

.pagination a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--blau);
  border: 1px solid var(--blau);
  min-width: 40px;
  height: 40px;
  margin: 0 7px 10px 0;
}

.pagination a:hover {
  color: var(--rot);
}

.pagination span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--weiss);
  background-color: var(--rot);
  border: 1px solid var(--rot);
  min-width: 40px;
  height: 40px;
  margin: 0 7px 10px 0;
}

.pagination .first-page {
  width: 92px;
}

/* ------------------------------------------------ */
/*  !Filter  Buttons */
/* ------------------------------------------------ */
.filter {
  margin-bottom: 40px;
}

.filter a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--blau);
  border: 1px solid var(--blau);
  padding: 4px 8px;
  margin: 0 7px 10px 0;
}

.filter a.active {
  color: var(--weiss);
  background-color: var(--rot);
  border: 1px solid var(--rot);
}

/* ------------------------------------------------ */
/*  !Grid Veranstaltungen  */
/* ------------------------------------------------ */
.hea-veranstaltungen .grid,
.hea-downloads .grid {
  display: grid;
  gap: 40px;
  margin-bottom: 80px;
  background-color: var(--hellgrau);
  padding: 8px;
}

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

  .hea-veranstaltungen .grid,
  .hea-downloads .grid {
    padding: 24px;
  }
}

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

  .hea-veranstaltungen .grid,
  .hea-downloads .grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px;
  }
}

/* ------------------------------------------------ */
/*  !HEA-Veranstaltung Grid Item  */
/* ------------------------------------------------ */
.hea-veranstaltungen .grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 40px;
  background-color: var(--weiss);
}

.hea-veranstaltungen .grid-item p {
  margin-bottom: 24px;
}

.hea-veranstaltungen .grid-item p:last-child {
  margin: auto 0 0 0;
}

/* ------------------------------------------------ */
/*  !HEA-Downloads Grid Item  */
/* ------------------------------------------------ */
.hea-downloads .grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  background-color: var(--weiss);
}

.hea-downloads h3 + p {
  margin: -8px 0 24px 0;
}

.hea-downloads .grid-item p:last-child {
  margin: auto 0 0 0;
}

/* ------------------------------------------------ */
/*  !Veranstaltung Detail-Seite  */
/* ------------------------------------------------ */
ul.va-details li {
  margin-bottom: 12px;
}

ul.va-details span {
  display: block;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 2px;
}

ul.va-infos li {
  margin-bottom: 8px;
}

ul.va-details + p > a.btn {
  margin-top: 24px;
}

ul.va-downloads li {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #d8d8d8;
}

ul.va-downloads li:last-child {
  border: none;
  margin: 0;
}

ul.va-downloads li a {
  margin-top: 8px;
}

/* ------------------------------------------------ */
/*  !Form Elements  */
/* ------------------------------------------------ */
form {
  margin-bottom: 40px;
}

input,
select,
textarea,
button {
  font-size: 100%;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
}

.container label {
  display: block;
  font-weight: 400;
  font-size: 93.75%;
}

.container input[type="text"],
.container input[type="password"],
.container input[type="number"] {
  width: 100%;
  border: 1px solid var(--blau);
  padding: 10px;
}

input[type="text"]:focus,
input[type="number"]:focus {
  background-color: var(--hellgrau);
}

input[type="number"] {
  width: 80px;
}

/* Custom Checkboxes */
.checkbox,
.radio {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
}

.checkbox > span,
.radio > span {
  margin-top: -4px
}

.checkbox > input,
.radio > input {
  height: 16px;
  width: 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: 1px solid var(--blau);
  outline: none;
  cursor: pointer;
  margin: 0 8px 0 0;
  flex-shrink: 0;
}

.radio > input {
  border-radius: 50%;
}

.checkbox > input:checked,
.radio > input:checked {
  box-shadow: inset 0 0 0 3px var(--weiss);
  background-color: var(--rot);
}

/* Checkbox nach kleinem Text */
.medium + p > .checkbox {
  margin: -16px 0 24px 0;
}

button {
  border: none;
  display: inline-block;
  font-weight: 400;
  color: var(--weiss);
  background-color: var(--rot);
  border-radius: 4px;
  padding: 12px 24px;
  transition: background-color .1s ease;
  white-space: nowrap;
  cursor: pointer;
}

button:hover,
button:active {
  background-color: var(--blau);
}

form li {
  max-width: 400px;
  margin-bottom: 12px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.col-30 {
  width: calc(30% - 8px);
}

.col-50 {
  width: calc(50% - 8px);
}

.col-70 {
  width: calc(70% - 8px);
}

/* Button am Ende */
.form-button {
  display: block;
  margin-top: 32px;
}

/* ------------------------------------------------ */
/*  !Formular Veranstaltungen */
/* ------------------------------------------------ */
#rechnungsanschrift {
  display: none;
  margin: 40px 0 24px 0;
}

#rechnungsanschrift.active {
  display: block;
}

/* ------------------------------------------------ */
/*  !System Messages  */
/* ------------------------------------------------ */
.form-success,
.form-error {
  color: var(--weiss);
  padding: 16px 0;
  font-weight: 400;
}

.form-success .message:before,
.form-error .message:before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url('/assets/hea/images/layout/sprites.svg');
  background-repeat: no-repeat;
  background-position: -149px -259px;
  margin-right: 8px;
  flex-shrink: 0;
}

.form-error .message:before {
  background-position: -199px -259px;
}

.form-error {
  background-color: var(--rot);
}

.form-success {
  background-color: var(--success);
}

.message {
  display: flex;
  align-items: center;
}

p.small.error {
  color: var(--rot);
  font-weight: 400;
  margin: 0;
}

.message-box {
  padding: 20px;
  font-weight: 400;
  border: 1px solid var(--rot);
  border-radius: 4px;
}

/* ------------------------------------------------ */
/*  !Rattenfaenger  */
/* ------------------------------------------------ */
#rf-website {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ------------------------------------------------ */
/*  !Shop-Index  */
/* ------------------------------------------------ */
.shop {
  margin-bottom: 40px;
}

.shop .grid-item {
  padding: 40px;
  background-color: var(--weiss);
}

.shop .grid-item ul {
  margin-bottom: 24px;
}

.shop figure {
  display: inline-block;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .1);
}

.shop figure img {
  max-height: 250px;
  transition: none;
}

.shop .cards-grid a:hover figure img {
  transform: none;
}

.shop .grid-item-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding-top: 28px;
  border-top: 1px dashed var(--blau);
}

.shop ul.grid-item-text-last {
  margin: auto 0 0 0;
}

.grid-item-text-price {
  margin-bottom: 8px;
}

.shop .grid-item-text span {
  font-size: 1.1875rem;
  font-weight: 400;
  color: var(--rot);
}

.shop figure.no-shadow,
.box img.no-shadow {
  box-shadow: none;
}

/* ------------------------------------------------ */
/*  !Shop-Detailseite  */
/* ------------------------------------------------ */
.shop-feature {
  display: inline-block;
  border-radius: 2px;
  padding: 2px 10px;
  font-size: 88.23529411764706%;
  color: black;
  background-color: var(--gelb);
  font-weight: 400;
}

.shop .grid-item-text .shop-feature {
  margin-bottom: 16px;
}

.shop-box figure {
  max-width: 240px;
}

.shop-box figure img {
  box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
}

.box p.shop-artikelnummer {
  margin: -8px 0 16px 0;
}

#shp_price {
  font-size: 118.75%;
  font-weight: 400;
  color: var(--rot)
}

.shop-preis {
  margin-bottom: 16px;
}

.shop-preis li:last-child {
  font-size: 93.75%;
}

/* Staffeltabelle */
table.shop-staffel {
  width: 100%;
  border: none;
  margin-bottom: 24px;
}

table.shop-staffel td,
table.shop-staffel th {
  text-align: left;
  padding: 4px;
  font-size: 93.75%;
  border: none;
  border-bottom: 1px dashed #d8d8d8;
  color: var(--blau);
  background-color: var(--weiss);
}

table.shop-staffel th {
  font-weight: 400;
}

table.shop-staffel tr:last-child td {
  border: none;
}

table.shop-staffel th:last-child {
  border-color: #d8d8d8;
}

.shop-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.shop-controls li {
  margin: 0;
}

.shop-controls input[type="number"] {
  padding: 11px 10px;
  border-radius: 4px;
  max-width: 120px;
}

/* ------------------------------------------------ */
/*  !Topcart  */
/* ------------------------------------------------ */
.shop-topcart {
  padding: 16px;
  border: 1px solid var(--blau);
  background-color: var(--weiss);
  border-radius: 2px;
  margin-bottom: 40px;
}

.shop-topcart ul {
  display: flex;
  align-items: center;
  width: 100%;
  font-weight: 400;
}

.shop-topcart ul li {
  padding: 4px;
}

.shop-topcart ul li:last-child {
  margin-left: auto;
}

.shop-topcart span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 81.25%;
  font-weight: 400;
  width: 24px;
  height: 24px;
  border-radius: 100%;
  color: var(--weiss);
  background-color: var(--rot);
  margin-right: 4px;
}

.shop-topcart a {
  color: var(--blau);
  letter-spacing: 0.02rem;
}

.shop-all-products {
  display: inline-flex;
  align-items: center;
}

.shop-all-products:before {
  content: '';
  display: inline-block;
  width: 17px;
  height: 17px;
  background-image: url('/assets/hea/images/layout/sprites.svg');
  background-repeat: no-repeat;
  background-position: -299px -259px;
  margin-right: 8px;
}

@media screen and (max-width: 414px) {
  .shop-topcart ul {
    display: block;
  }

  .shop-topcart ul li {
    padding: 8px;
  }
}

/* ------------------------------------------------ */
/*  !Shop Warenkorb  */
/* ------------------------------------------------ */
.shop-cart {
  width: 100%;
  font-size: 0.875rem;
  margin-bottom: 40px;
  border-collapse: collapse;
}

.shop-cart tr td:nth-child(2) a {
  color: var(--blau);
}

.shop-cart th,
.shop-cart td {
  padding: 12px;
}

.shop-cart th {
  font-weight: 400;
}

.shop-cart td {
  border: 1px solid var(--blau);
}

.shop-cart tr td:first-child,
.shop-cart tr th:first-child {
  border-left: none;
}

.shop-cart tr td:last-child,
.shop-cart tr th:last-child {
  border-right: none;
}

.shop-cart tr td:nth-child(2) {
  font-weight: 400;
}

.shop-cart tr td:last-child {
  text-align: center;
  font-weight: 400;
}

/* ------------------------------------------------ */
/*  !Shop Sidecart  */
/* ------------------------------------------------ */
.shop-sidecart {
  margin-bottom: 16px;
  width: 100%;
  border-collapse: collapse;
}

.shop-sidecart td {
  padding: 8px;
}

.shop-sidecart td:first-child {
  border-left: none;
}

.shop-sidecart td:last-child {
  border-right: none;
}

.shop-sidecart tr:last-child td {
  border-bottom: none;
}

.shop-sidecart + p {
  color: var(--rot);
  font-weight: 400;
}

/* ------------------------------------------------ */
/*  !Shop Abschlusseite  */
/* ------------------------------------------------ */
p.zahlungsweise {
  display: inline-block;
  text-transform: uppercase;
  padding: 8px 16px;
  font-size: 87.5%;
  font-weight: 400;
  letter-spacing: 0.05rem;
  border: 1px solid var(--blau)
}

/* ------------------------------------------------ */
/*  !Google-Map Kontakt  */
/* ------------------------------------------------ */
.gmap {
  margin-bottom: 80px;
}

#gmap {
  width: 100%;
}

#gmap:after {
  content: '';
  display: block;
  padding-bottom: 37.9746835443%;
}

@media screen and (max-width: 768px) {
  .gmap {
    margin-bottom: 40px;
  }
}

/* ------------------------------------------------ */
/*  !Video Container  */
/* ------------------------------------------------ */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
  margin-bottom: 40px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------ */
/*  !Stromsparrechner iframe  */
/* ------------------------------------------------ */
#frame {
  border: none;
}

/* ------------------------------------------------ */
/*  !Impulse Archiv  */
/* ------------------------------------------------ */
.impulse-archiv .grid-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 40px;
}

.impulse-archiv h3 a {
  color: var(--blau);
}

.impulse-archiv .grid-item ul {
  margin-bottom: 16px;
}

.impulse-archiv .grid-item li {
  padding-left: 6px;
}

.impulse-archiv .grid-item li::marker {
  content: '\2022 ';
  color: var(--rot);
}

.impulse-archiv .grid-item p:last-child {
  margin: auto 0 0 0;
}

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

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

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

  .impulse-archiv .grid-item {
    padding: 24px;
  }
}

/* ------------------------------------------------ */
/*  !Suchergebnis  */
/* ------------------------------------------------ */
.search-result {
  margin: 0 0 32px 0;
}

.search-result p:first-child {
  font-size: 112.5%;
  margin-bottom: 0;
  font-weight: 400;
}

.search-result p:nth-child(2) {
  margin-bottom: 16px;
}

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

.person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 24px;
  border-radius: 4px;
  background-color: var(--hellgrau);
  border: 1px solid #ececec;
}

.person p.person-titel {
  font-weight: 400;
  font-size: 112.5%;
  margin-bottom: 0;
}

.person p.person-label {
  font-size: 0.875rem;
  margin-bottom: 4px;
  padding: 4px 6px;
  line-height: 1;
  background-color: var(--weiss);
  border-radius: 2px;
  font-weight: 400;
}

.person p:nth-child(3) {
  margin: 0;
}

article .person figure {
  max-width: 120px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
}

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

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

/* ------------------------------------------------ */
/*  !Infobox  */
/* ------------------------------------------------ */
.infobox {
  position: relative;
  padding: 40px;
  border-radius: 8px;
  background-color: var(--hellorange);
  font-weight: 400;
  margin: 40px 0;
}

.infobox h3:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--rot);
  margin: 8px 0 8px 0;
}

.infobox p:last-child {
  margin: 0;
}

article .infobox figure {
  margin-bottom: 0;
}

article .infobox img {
  overflow: hidden;
  border-radius: 8px;
}

/* ------------------------------------------------ */
/*  !Tables  */
/* ------------------------------------------------ */
.table-wrapper {
  max-width: 100%;
  overflow-x: scroll;
}

table {
  margin-bottom: 24px;
  width: 100%;
  border-collapse: collapse;
}

table caption {
  caption-side: bottom;
  text-align: left;
  margin-top: 8px;
  font-style: italic;
}

table th,
table td {
  padding: 4px 8px;
  font-size: 16px;
  border: 1px solid var(--blau);
  vertical-align: top;
}

table td.with-image {
  vertical-align: middle;
  padding: 12px;
}

table th {
  font-weight: 400;
  color: var(--weiss);
  background-color: var(--blau);
  border-right-color: var(--weiss);
}

table th:last-child {
  border-color: var(--blau);
}

table tr:nth-child(even) {
  background-color: var(--hellgrau);
}

/* ------------------------------------------------ */
/*  !Expired  */
/* ------------------------------------------------ */
.expired {
  color: var(--weiss);
  background-color: var(--rot);
  width: max-content;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ------------------------------------------------ */
/*  !Logo Grid Forum Wohnungslueftung  */
/* ------------------------------------------------ */
.logo-grid-fwl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  margin-bottom: 32px;
  border: 1px solid #d8d8d8;
  padding: 40px;
}

.logo-grid-fwl figure {
  margin: 0;
}

p:has(+ .logo-grid-fwl) {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 8px;
}