html {scroll-behavior: smooth; scroll-padding-top: 30px;}

body {
  word-wrap: break-word;
  max-width: 2750px;
  margin: 0 auto;
  overflow-x: hidden !important;
  background-color: var(--bs-primary) !important;
}

section {
  background-color:var(--bs-body-bg) !important;
  overflow: hidden !important;
}

/* Link Stile */
a {
  color: var(--bs-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

/*a:hover {
  color: var(--bs-secondary);
  background-color: var(--bs-primary);
  text-decoration: none;
}*/

.btn a:hover,
a.btn:hover {
  text-decoration: none;
}

body#page1 {
  scroll-behavior: auto;
  scroll-padding-top: 0;
  overflow-anchor: none;
}

.bg-gray {
  background-color: var(--bs-gray-50) !important;
  padding-top: 5rem;
  border-top: 1px solid var(--bs-gray-300);
}

/* Scrollbar */
/* Scrollbar für Webkit-Browser (Chrome, Safari) */
::-webkit-scrollbar {
  display: none;
  width: 5px;
  /* Breite der Scrollbar */
  background-color: var(--bs-body-bg);
  /* Hintergrundfarbe der Scrollbar */
}

::-webkit-scrollbar-thumb {
  background-color: var(--bs-primary);
  /* Farbe des Scrollbalkens */
}

::-webkit-scrollbar-corner {
  background-color: var(--bs-body-bg);
  /* Hintergrundfarbe der Ecke */
}

/* Scrollbar für Firefox */
html {
  scrollbar-width: thin;
  /* Dünne Scrollbar */
  scrollbar-color: var(--bs-primary) var(--bs-body-bg);
  /* Scrollbalken-Farbe und Hintergrundfarbe */
}

/* Scrollbar für Edge (Chromium-basierend) */
* {
  -ms-overflow-style: none;
  /* Versteckt Standard-Scrollbar in Edge */
}

*::-webkit-scrollbar {
  width: 5px;
  /* Breite der Scrollbar */
}

*::-webkit-scrollbar-thumb {
  background-color: var(--bs-primary);
  /* Farbe des Scrollbalkens */
  border-radius: 5px;
  /* Abgerundete Ecken */
}

*::-webkit-scrollbar-track {
  background-color: var(--bs-body-bg);
  /* Hintergrundfarbe der Scrollbar */
}

/* Overwrite Fluid-Styled-Content CSS */
/* Bootstrap 5 konforme Ausgabe von Videos (Content-Element -> 'Text & Medien') */
.ce-center .ce-gallery .ce-outer {float: none;}
.ce-center .ce-gallery .ce-inner {float: none;}
.ce-center .ce-gallery .ce-column {float: none;}
.ce-gallery figure {display: block;}

/* Additional View Height Settings */
.vh-90 {height: 90vh !important}
.min-vh-90 {min-height: 90vh !important}
.vh-80 {height: 80vh !important}
.min-vh-80 {min-height: 80vh !important}
.vh-70 {height: 70vh !important}
.min-vh-70 {min-height: 70vh !important}
.vh-60 {height: 60vh !important}
.min-vh-60 {min-height: 60vh !important}
.vh-50 {height: 50vh !important}
.min-vh-50 {min-height: 50vh !important}
.vh-40 {height: 40vh !important}
.min-vh-40 {min-height: 40vh !important}
.vh-30 {height: 30vh !important}
.min-vh-30 {min-height: 30vh !important}
.vh-20 {height: 20vh !important}
.min-vh-20 {min-height: 20vh !important}
.vh-10 {height: 10vh !important}
.min-vh-10 {min-height: 10vh !important}

/* Overwrite Bootstrap 5 CSS */
/* Container Fix */
@media (min-width: 1400px) AND (max-width: 1649px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px !important;
  }
}

@media (min-width: 1650px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1600px !important;
  }
}

/* Dynamische Anpassung der Überschriften in kleinen Viewports */
.h1, h1 {font-size: calc(var(--bs-body-font-size) + 1.75vw);}
.h2, h2 {font-size: calc(var(--bs-body-font-size) + 1.15vw);}
.h3, h3 {font-size: calc(var(--bs-body-font-size) + .85vw);}
.h4, h4 {font-size: calc(var(--bs-body-font-size) + .55vw);}
.h5, h5 {font-size: calc(var(--bs-body-font-size) + .35vw);}

@media (min-width: 1400px) {
  .h1, h1 {font-size: 2.875rem;}
  .h2, h2 {font-size: 2.675rem;}
  .h3, h3 {font-size: 2.175rem;}
  .h4, h4 {font-size: 2.175rem;}
  .h5, h5 {font-size: 1.475rem;margin-bottom: 1.2rem;}
  .h6, h6 {font-size: 1.275rem;margin-bottom: 1.2rem;}
}

.h1, h1, .h2, h2, .h3, h3, .h4, h4, .h5, h5, .h6, h6 {
  font-family: var(--bs-font-headline);
  word-wrap: break-word;
}

.h1, h1 {
    font-weight: 600;
    color: var(--bs-secondary);
}

.h2, h2 {
  font-weight: 500;
  color: var(--bs-secondary);
  /*text-shadow: 1px 1px 0 var(--bs-secondary), 1px -1px 0 var(--bs-secondary), -1px 1px 0 var(--bs-secondary), -1px -1px 0 var(--bs-secondary), 1px 0px 0 var(--bs-secondary), 0px 1px 0 var(--bs-secondary), -1px 0px 0 var(--bs-secondary), 0px -1px 0 var(--bs-secondary), 1px 1px 0px var(--bs-secondary);*/
}

.h3, h3, .h4, h4 {
    font-weight: 500;
    color: var(--bs-secondary);
}

/*.h3, h3, .h4, h4 {
  font-weight: 200;
  color: var(--bs-primary);
  text-shadow: 1px 1px 0 var(--bs-secondary), 1px -1px 0 var(--bs-secondary), -1px 1px 0 var(--bs-secondary), -1px -1px 0 var(--bs-secondary), 1px 0px 0 var(--bs-secondary), 0px 1px 0 var(--bs-secondary), -1px 0px 0 var(--bs-secondary), 0px -1px 0 var(--bs-secondary), 1px 1px 0px var(--bs-secondary);
}*/

@media (max-width: 991px) {
  .h1, h1 {font-size: calc(var(--bs-body-font-size) + 1.45vw);}
  .h2, h2 {font-size: calc(var(--bs-body-font-size) + .85vw);}
  .h3, h3 {font-size: calc(var(--bs-body-font-size) + .65vw);}
  .h4, h4 {font-size: calc(var(--bs-body-font-size) + .55vw);}
  .h5, h5 {font-size: calc(var(--bs-body-font-size) + .35vw);}
}

@media (max-width: 575.98px) {
  .h1, h1 {font-size: calc(var(--bs-body-font-size) + .55vw);}
  .h2, h2 {font-size: calc(var(--bs-body-font-size) + .45vw);}
  .h3, h3 {font-size: calc(var(--bs-body-font-size) + .45vw);}
  .h4, h4 {font-size: calc(var(--bs-body-font-size) + .35vw);}
  .h5, h5 {font-size: calc(var(--bs-body-font-size) + .35vw);}
}

.no-hyphens {
  hyphens: none;
}

p {
  margin-top: 0;
  margin-bottom: 2rem;
}

.frame-type-text a,
.frame-type-textpic a,
.frame-type-textmedia a {
  color: var(--bs-secondary);
  text-decoration: none;
  font-weight: 500;
}

.frame-type-text a:hover,
.frame-type-textpic a:hover,
.frame-type-textmedia a:hover {
  color: var(--bs-body-bg);
  background-color: var(--bs-secondary);
  font-weight: 500;
}

.btn {
  --bs-btn-padding-x: 1.45rem;
  --bs-btn-padding-y: 0.575rem;
  border-radius: 32px;
  margin-bottom: 1rem;
}

.btn-social {
    --bs-btn-padding-x: 1.05rem;
    --bs-btn-padding-y: 0.575rem;
    font-size: 1.2rem;
}

.btn-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-white);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: var(--bs-white);
  --bs-btn-active-bg: var(--bs-secondary);
  --bs-btn-active-border-color: var(--bs-secondary);
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-color: var(--bs-white);
  --bs-btn-disabled-bg: var(--bs-light);
  --bs-btn-disabled-border-color: var(--bs-light);
  --bs-btn-font-size: 1.125rem;
}

.btn-secondary {
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-secondary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: var(--bs-white);
  --bs-btn-active-bg: var(--bs-secondary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-color: var(--bs-white);
  --bs-btn-disabled-bg: var(--bs-light);
  --bs-btn-disabled-border-color: var(--bs-light);
  --bs-btn-font-size: 1.125rem;
}

.breadcrumb {
  margin-bottom: 0rem;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* BG-Color rgba (White and Black) */
.bg-black-5 {
  background-color: rgba(0, 0, 0, 0.05);
  overflow: overlay;
}

.bg-black-10 {
  background-color: rgba(0, 0, 0, 0.1);
  overflow: overlay;
}

.bg-black-15 {
  background-color: rgba(0, 0, 0, 0.15);
  overflow: overlay;
}

.bg-black-20 {
  background-color: rgba(0, 0, 0, 0.2);
  overflow: overlay;
}

.bg-black-30 {
  background-color: rgba(0, 0, 0, 0.3);
  overflow: overlay;
}

.bg-black-40 {
  background-color: rgba(0, 0, 0, 0.4);
  overflow: overlay;
}

.bg-black-50 {
  background-color: rgba(0, 0, 0, 0.5);
  overflow: overlay;
}

.bg-black-60 {
  background-color: rgba(0, 0, 0, 0.6);
  overflow: overlay;
}

.bg-black-70 {
  background-color: rgba(0, 0, 0, 0.7);
  overflow: overlay;
}

.bg-black-80 {
  background-color: rgba(0, 0, 0, 0.8);
  overflow: overlay;
}

.bg-black-85 {
  background-color: rgba(0, 0, 0, 0.85);
  overflow: overlay;
}

.bg-black-90 {
  background-color: rgba(0, 0, 0, 0.9);
  overflow: overlay;
}

.bg-black-95 {
  background-color: rgba(0, 0, 0, 0.95);
  overflow: overlay;
}

.bg-white-5 {
  background-color: rgba(255, 255, 255, 0.05);
  overflow: overlay;
}

.bg-white-10 {
  background-color: rgba(255, 255, 255, 0.1);
  overflow: overlay;
}

.bg-white-15 {
  background-color: rgba(255, 255, 255, 0.15);
  overflow: overlay;
}

.bg-white-20 {
  background-color: rgba(255, 255, 255, 0.2);
  overflow: overlay;
}

.bg-white-30 {
  background-color: rgba(255, 255, 255, 0.3);
  overflow: overlay;
}

.bg-white-40 {
  background-color: rgba(255, 255, 255, 0.4);
  overflow: overlay;
}

.bg-white-50 {
  background-color: rgba(255, 255, 255, 0.5);
  overflow: overlay;
}

.bg-white-60 {
  background-color: rgba(255, 255, 255, 0.6);
  overflow: overlay;
}

.bg-white-70 {
  background-color: rgba(255, 255, 255, 0.7);
  overflow: overlay;
}

.bg-white-80 {
  background-color: rgba(255, 255, 255, 0.8);
  overflow: overlay;
}

.bg-white-85 {
  background-color: rgba(255, 255, 255, 0.85);
  overflow: overlay;
}

.bg-white-90 {
  background-color: rgba(255, 255, 255, 0.9);
  overflow: overlay;
}

.bg-white-95 {
  background-color: rgba(255, 255, 255, 0.95);
  overflow: overlay;
}

/* BG-Size & BG-Position & BG-Repeat */
.bg-size-auto {
  background-size: auto;
}

.bg-size-contain {
  background-size: contain;
}

.bg-size-cover {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bg-position-x-center {
  background-position-x: center;
}

.bg-position-x-left {
  background-position-x: left;
}

.bg-position-x-right {
  background-position-x: right;
}

.bg-position-y-center {
  background-position-y: center;
}

.bg-position-y-top {
  background-position-y: top;
}

.bg-position-y-bottom {
  background-position-y: bottom;
}

.bg-repeat {
  background-repeat: repeat;
}

.bg-repeat-no {
  background-repeat: no-repeat;
}

.bg-repeat-round {
  background-repeat: round;
}

.bg-repeat-x {
  background-repeat: repeat-x;
}

.bg-repeat-y {
  background-repeat: repeat-y;
}

.bg-fixed {
  background-attachment: fixed;
}

/* Button Position */
.start {
  text-align: start;
}

.center {
  text-align: center;
}

.end {
  text-align: end;
}

/* HEADER */

/* CONTENT */

/* Ansprechpartnerbox */
.authorBox {
  border: 1px solid var(--bs-primary);
}

.authorBoxHead {
  background: var(--bs-primary);
  color: var(--bs-white);
  padding: 10px 20px 10px 20px;
}

.authorBoxContent {
  padding: 20px 20px 15px 20px;
  line-height: 28px;
}

.authorName {
  color: var(--bs-primary);
  font-size: 1.2rem;
  margin-bottom: 0;
}

.authorBody i {
  color: var(--bs-primary);
  padding-right: 10px;
}

.authorBody a {
  color: var(--bs-primary);
  padding-left: 3px;
  padding-right: 3px;
  text-decoration: underline !important;
  transition: all 0.3s ease-out;
}

.authorBody a:hover {
  color: var(--bs-white);
  background-color: var(--bs-primary);
  text-decoration: none !important;
}

p.authorBody {
  margin-bottom: 0;
}

.authorMore {
  color: var(--bs-primary);
  padding-left: 3px;
  padding-right: 3px;
  text-decoration: underline !important;
  transition: all 0.3s ease-out;
}

.authorMore:hover {
  color: var(--bs-white);
  background-color: var(--bs-primary);
  text-decoration: none !important;
}

/* Timeline */
.main-timeline {
  position: relative;
}

.main-timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: var(--bs-secondary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline {
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background-color: var(--bs-secondary);
  border: 5px solid var(--bs-primary);
  top: -1px;
  border-radius: 50%;
  z-index: 1;
}

.timeline:nth-child(odd) {
  padding: 0px 40px 20px 0px;
  left: 0;
}

.timeline:nth-child(even) {
  padding: 0px 0px 20px 40px;
  left: 50%;
}

.timeline:last-child {
  padding-bottom: 0 !important;
}

.timeline:nth-child(odd)::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

.timeline:nth-child(even)::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

.timeline:nth-child(even)::after {
  left: -12px;
}

/* STÖRER */
.stoerer {
  position: fixed;
  right: 15px;
  bottom: 15px;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 9;
  color: var(--bs-primary);
  display: none;
  max-width: 400px;
}

.stoerer-teasertext {
  padding: 0 0.5rem;
  line-height: 1;
}

.stoerer-head {
  position: absolute;
  right: 15px;
  z-index: 2;
}

.stoerer-head .stoerer-closer {
  background: none;
  border: none;
}

.stoerer-head .stoerer-closer i {
  color: var(--bs-primary);
}

.stoerer-footer {
  position: relative;
  z-index: 2;
}

.stoerer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 12px solid var(--bs-white);
}

.stoerer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 3px solid var(--bs-primary);
}

/* Downloads List Icon */
.downloads .icon {
  width: 50px;
  margin-left: 5px;
}

/* Powermail */
.tx-powermail fieldset label {
  margin-top: 10px;
}

/* Modalbox */
.modal-backdrop {
  --bs-backdrop-opacity: 0.7;
}

.modal-dialog-centered {
  align-items: flex-start;
  min-height: unset;
  align-content: center;
  flex-wrap: wrap;
}

/* Magnific Popup */
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: pointer !important;
}

/* FOOTER */


/* RWS */
@media screen and (max-width:991px) {
  .main-timeline::after {
    left: 15px;
  }

  .timeline {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline:nth-child(odd) {
    padding: 0px 0px 20px 40px;
  }

  .timeline:nth-child(odd)::after,
  .timeline:nth-child(even)::after {
    left: 3px;
  }

  .timeline:nth-child(odd)::before,
  .timeline:nth-child(even)::before {
    display: none;
  }

  .timeline:nth-child(even) {
    left: 0%;
  }
}


/**
 * LIEPS TYPO3 Defaults CSS (NEW GitHub Copilot - 26.06.2025)
 * 
 * Globale Stile für die LIEPS TYPO3 Default Extension
 */

/* Allgemeine Stile */
.text-primary {
  color: var(--bs-primary);
}

.text-secondary {
  color: var(--bs-secondary);
}

.bg-primary {
  background-color: var(--bs-primary);
}

.bg-primary p {
  color: var(--bs-white);
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6 {
  color: var(--bs-secondary);
}

.bg-secondary {
  background-color: var(--bs-secondary);
}

/* Frame Layout Stile */
.frame-layout-1 {
  background-color: rgba(255, 129, 114, 0.1);
  padding: 1.5rem;
  border-radius: 0.25rem;
}

.frame-layout-2 {
  background-color: rgba(52, 58, 64, 0.1);
  padding: 1.5rem;
  border-radius: 0.25rem;
}

/* Typo3 Spezifische Stile */
.ce-gallery {
  margin-bottom: 1.5rem;
}

.ce-textpic,
.ce-image,
.ce-nowrap .ce-bodytext,
.ce-gallery,
.ce-row,
.ce-uploads li,
.ce-uploads div {
  overflow: visible;
}

/* Content Element Stile */
.ce-above .ce-gallery {
  margin-bottom: 1.5rem;
}

.ce-below .ce-gallery {
  margin-top: 1.5rem;
}

@media (max-width: 1199.98px) {
  .frame-space-before-extra-small {margin-top: .8em;}
  .frame-space-before-small {margin-top: 1.6em;}
  .frame-space-before-medium {margin-top: 2.4em;}
  .frame-space-before-large {margin-top: 3.2em;}
  .frame-space-before-extra-large {margin-top: 4em;}

  .frame-space-after-extra-small {margin-bottom: .8em;}
  .frame-space-after-small {margin-bottom: 1.6em;}
  .frame-space-after-medium {margin-bottom: 2.4em;}
  .frame-space-after-large {margin-bottom: 3.2em;}
  .frame-space-after-extra-large {margin-bottom: 4em;}
}

@media (max-width: 991.98px) {
  .frame-space-before-extra-small {margin-top: .6em;}
  .frame-space-before-small {margin-top: 1.2em;}
  .frame-space-before-medium {margin-top: 1.8em;}
  .frame-space-before-large {margin-top: 2.4em;}
  .frame-space-before-extra-large {margin-top: 3em;}

  .frame-space-after-extra-small {margin-bottom: .6em;}
  .frame-space-after-small {margin-bottom: 1.2em;}
  .frame-space-after-medium {margin-bottom: 1.8em;}
  .frame-space-after-large {margin-bottom: 2.4em;}
  .frame-space-after-extra-large {margin-bottom: 3em;}

  .h2, h2, .h3, h3, .h4, h4 {
    font-weight: 600;
    color: var(--bs-secondary);
    text-shadow: unset;
  }
}

@media (max-width: 767.98px) {
  .frame-space-before-extra-small {margin-top: .4em;}
  .frame-space-before-small {margin-top: .8em;}
  .frame-space-before-medium {margin-top: 1.2em;}
  .frame-space-before-large {margin-top: 1.6em;}
  .frame-space-before-extra-large {margin-top: 2em;}

  .frame-space-after-extra-small {margin-bottom: .4em;}
  .frame-space-after-small {margin-bottom: .8em;}
  .frame-space-after-medium {margin-bottom: 1.2em;}
  .frame-space-after-large {margin-bottom: 1.6em;}
  .frame-space-after-extra-large {margin-bottom: 2em;}
}