/*--------------------------------------------------------------
#               V I E W   NAVIGATION FOOTER GLOBALSTYLE
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-content {
    background-color: var(--background-color-light);
}

#footer .footer-content p {
    white-space: nowrap;
}

#footer .metaMenu li a {
    transition: color 0.3s ease;
}

#footer .metaMenu li a:hover {
    color: var(--link-hover-color);
}

.social-icon {
    transition: color 0.3s ease;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
}

.social-icon-link:hover .social-icon,
.social-icon-link:focus-visible .social-icon {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.2));
}
/* --------------------------------------------------------------
# Footer Theme – Light: Links primary, Hover link-hover-color
-------------------------------------------------------------- */
#footer.footer-theme-light a {
  color: var(--primary-on-light);
}

#footer.footer-theme-light a:hover,
#footer.footer-theme-light a:focus-visible {
  color: var(--primary-on-light);
}
#footer.footer-theme-light .metaMenu a {
  color: var(--primary-on-light);
}

#footer.footer-theme-light .metaMenu a:hover {
  color: var(--primary-on-light);
}

#footer.footer-theme-light .metaMenu li a {
  transition: color .3s ease, text-decoration .2s ease;
}
/*--------------------------------------------------------------
# Nav-Menü
--------------------------------------------------------------*/

.navbar-light.navbar-sticky {
    background-color: transparent;
}

.navbar-light.navbar-sticky .nav-link,
.navbar-light.navbar-sticky .navbar-brand,
.navbar-light.navbar-sticky .search_button {
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar-light.scrolled {
    background-color: white;
}

.navbar-light.scrolled .nav-link,
.navbar-light.scrolled .navbar-brand,
.navbar-light.scrolled .search_button {
    color: black;
    font-weight: bold;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.logo-dark.d-none,
.logo-light.d-none {
    display: none !important;
}

/*--------------------------------------------------------------
# Button Section
--------------------------------------------------------------*/

.btn:hover,
.btn:focus-visible {
    text-decoration: underline;
}
.services a:hover .service-title,
.services a:focus-visible .service-title {
    text-decoration: underline;
    color: currentColor;
}
.btn-primary {
    background-color: var(--bs-primary);
    border-color: #fff;
    color: var(--btn-primary-text, #fff);
    transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}

.btn-primary:hover {
    background-color: var(--bs-primary);
    border-color: #fff;
    color: var(--link-hover-color);
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.ce-textpic .ce-bodytext a.btn.rounded-pill {
    border-radius: 0 !important;
}

/*--------------------------------------------------------------
# Link Section – GLOBAL (KORRIGIERT)
--------------------------------------------------------------*/

section.container a:hover {
   color: var(--link-hover-color);
    text-decoration: underline
}


/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/
.h1-style { font-size: 2.5rem; font-weight: bold; }
.h2-style { font-size: 2rem; font-weight: bold; }
.h3-style { font-size: 1.5rem; font-weight: bold; }

h1 { font-size: 2.5rem; font-weight: bold; }
h2 { font-size: 2rem; font-weight: bold; }
h3 { font-size: 1.5rem; font-weight: bold; }

.frame-type-form_formframework header {
  margin-bottom: 2.5rem;
}

/*--------------------------------------------------------------
# Fade in Diagonal Section
--------------------------------------------------------------*/

[data-aos="fade-diagonal"] {
    transform: translate(-1.25rem, -1.25rem);
    opacity: 0;
    transition: transform 0.9s ease-out, opacity 0.9s ease-out;
}

[data-aos="fade-diagonal"].aos-animate {
    transform: translate(0, 0);
    opacity: 1;
}

/*--------------------------------------------------------------
# CSP-konform JS Styles
--------------------------------------------------------------*/
.text-auto-dark  { color: black; }
.text-auto-light { color: white; }

/*--------------------------------------------------------------
# Abstand Mapping
--------------------------------------------------------------*/
.frame-space-before-extra-small { margin-top: 2rem; }
.frame-space-before-small       { margin-top: 4rem; }
.frame-space-before-medium      { margin-top: 6rem; }
.frame-space-before-large       { margin-top: 8rem; }
.frame-space-before-extra-large { margin-top: 10rem; }

.frame-space-after-extra-small  { margin-bottom: 2rem; }
.frame-space-after-small        { margin-bottom: 4rem; }
.frame-space-after-medium       { margin-bottom: 6rem; }
.frame-space-after-large        { margin-bottom: 8rem; }
.frame-space-after-extra-large  { margin-bottom: 10rem; }

/*--------------------------------------------------------------
# Fluid Container
--------------------------------------------------------------*/
.container-fluid {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

/*--------------------------------------------------------------
# Fluid Container TEXT MEDIA Section
--------------------------------------------------------------*/
.ce-textpic .col-md-6 { overflow: hidden; }
.ce-textpic .ce-bodytext { word-break: break-word; }

/*--------------------------------------------------------------
# Index Search Lightbox
--------------------------------------------------------------*/

.search_button {
    cursor: pointer;
    filter: drop-shadow(1px 1px 0 black) drop-shadow(-1px -1px 0 black);
}

.searchlightbox {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.searchlightbox.visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    background: #fff;
    color: #000;
    max-width: 600px;
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: .5rem;
}

.tx-indexedsearch-searchbox-sword:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--bs-primary), transparent 70%);
}
.lightbox-content {
    position: relative;
}

.lightbox-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 36px;
    cursor: pointer;
    color: var(--bs-primary);
    background: transparent;
    border: none;
    padding: 5px;
    z-index: 10;
}

@media (max-width: 600px) {
    .lightbox-content {
        margin: 20% auto;
        padding: 1.5rem;
        max-width: 90%;
    }
}

/*--------------------------------------------------------------
# News Section
--------------------------------------------------------------*/

.news-card-title {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: color .3s ease, transform .3s ease, filter .3s ease;
}

.news-card-title:hover {
    color: var(--bs-primary);
    filter: brightness(1.2);
    transform: translate(-3px, -3px);
}

article:hover {
    background-color: rgba(255,255,255,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 8px;
    transition: background-color .3s ease, box-shadow .3s ease;
}

.news-navigation a,
.full-viewport-wrap a {
    display: inline-block;
    transition: transform .3s ease, filter .3s ease;
}

.news-navigation a:hover,
.full-viewport-wrap a:hover,#hero .hero-dynamic h1,
#hero h1.hero-headline {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

#hero .dd-type-wrap {
    display: inline;
    white-space: normal;
    max-width: 100%;
}
.news-list-view .masonry-item a:hover,
.news-list-view .masonry-item .card-title:hover {
    transform: translate(-3px, -3px);
    filter: brightness(1.2);
}

/*--------------------------------------------------------------
# Single News – Fullwidth Wrapper
--------------------------------------------------------------*/
.full-viewport-wrap {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    overflow: hidden;
}
/* --------------------------------------------------------------
   News Detail – Hero auf ~50vh
-------------------------------------------------------------- */

.news-detail-hero .hero-bg {
    height: 50vh;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .news-detail-hero .hero-bg {
        height: 50vh;
    }
}
/* --------------------------------------------------------------
   News Detail – Untere Navigation dezenter/kleiner
-------------------------------------------------------------- */
.news-detail-nav {
    min-height: auto;
}

.news-detail-nav a:hover {
    transform: none;
    filter: none;
}
/*--------------------------------------------------------------
# News Masonry
--------------------------------------------------------------*/
.masonry-news {
    column-count: 2;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    margin-top: 15%;
}

@media (max-width: 992px) {
    .masonry-news { column-count: 1; }
}

/*--------------------------------------------------------------
# Form Validation
--------------------------------------------------------------*/
.form-group.has-error .form-control {
    border: 2px solid #641911;
    background-color: #ffeaea;
}

.form-group.has-error label { color: #641911; }
.form-group.has-error .help-block { color: #641911; }

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/
.card-img-top { height: 21.875rem; }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero { min-height: 43.75rem; }
.translate-down { transform: translateY(50%); }

#hero .hero-dynamic h1,
#hero h1.hero-headline {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

#hero .dd-type-wrap {
    display: inline;
    white-space: normal;
    max-width: 100%;
}

.hero-textbox {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    color: var(--text-on-primary);
}

@media (max-width: 991.98px) {
    #hero .hero-headline {
        font-size: 1.75rem;
        line-height: 1.15;
    }
}

/*--------------------------------------------------------------
# Typed Section
--------------------------------------------------------------*/
.dd-type-wrap{ display:inline-flex; align-items:baseline; white-space:nowrap; }
.dd-cursor{ display:inline-block; margin-left:.1em; animation:dd-cursor-blink .7s infinite; }
@keyframes dd-cursor-blink{ 0%,100%{opacity:1} 50%{opacity:0} }

/*--------------------------------------------------------------
# Accordion
--------------------------------------------------------------*/
.accordion-button:focus-visible {
    outline: .125rem solid var(--bs-primary);
    color: var(--bs-white);
    border-color: var(--bs-primary);
}

/*--------------------------------------------------------------
# About Section (Tabs)
--------------------------------------------------------------*/

.nav-pills .nav-link {
  color: var(--primary-on-light) !important;
  border: 1px solid var(--bs-primary) !important;
  background-color: transparent !important;
  transition: all .2s ease-in-out;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus {
  color: var(--text-on-primary) !important;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: var(--text-on-primary) !important;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.tab-pills {
    border: 0 !important;
}

/*--------------------------------------------------------------
# Contrast Blocks
--------------------------------------------------------------*/

.contrast-block {
    color: var(--text-on-primary);
}

.contrast-block a,
.contrast-block a:visited,
.contrast-block a:hover,
.contrast-block a:focus {
    color: var(--text-on-primary);
}

.contrast-block .text-muted {
    color: var(--text-on-primary);
    opacity: 0.8;
}

.contrast-block.inverted {
    color: var(--text-on-primary) !important;
}

.contrast-block.inverted a:not(.btn):not(.dropdown-item),
.contrast-block.inverted a:not(.btn):not(.dropdown-item):visited,
.contrast-block.inverted a:not(.btn):not(.dropdown-item):hover,
.contrast-block.inverted a:not(.btn):not(.dropdown-item):focus {
    color: var(--text-on-primary) !important;
}

.contrast-block.inverted .text-muted {
    color: var(--text-on-primary) !important;
    opacity: 0.8;
}

/*--------------------------------------------------------------
# Brand Section
--------------------------------------------------------------*/

.brand-logo-tile { height: 20vh; }

.brand-logo {
    filter: grayscale(100%);
    transition: filter .3s ease;
}

.brand-logo:hover {
    filter: grayscale(0%);
    transition: filter .4s ease-in-out;
}

/*--------------------------------------------------------------
# Carousel Indicators
--------------------------------------------------------------*/

.carousel-indicators { gap: .5rem; }

.carousel-indicators .ci-line {
    width: 2rem;
    height: .4rem;
    background-color: currentColor;
    opacity: .5;
    border: 0;
    cursor: pointer;
    transition: opacity .2s ease;
}

.carousel-indicators .ci-line.active {
    opacity: 1;
    background-color: var(--bs-primary);
}

.carousel-indicators .ci-line:focus-visible {
    outline: .125rem solid var(--bs-primary);
}
.slider-section .carousel-control-prev,
.slider-section .carousel-control-next {
    width: 4rem;
    opacity: 0.85;
}

.slider-section .carousel-control-prev-icon,
.slider-section .carousel-control-next-icon {
    background-size: 100% 100%;
    filter: drop-shadow(0 0 4px rgba(0,0,0,.6));
}

/* Hover */
.slider-section .carousel-control-prev:hover,
.slider-section .carousel-control-next:hover {
    opacity: 1;
}
/*--------------------------------------------------------------
# Service Section
--------------------------------------------------------------*/
.navbar .navbar-brand .logo {
  max-height: 80px;
  height: auto;
  width: auto;
}
.contrast-block .text-primary { color: var(--bs-primary) !important; }

.navbar .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
}
.navbar .navbar-brand .logo-sm {
  height: 32px;
}

.navbar .navbar-brand .logo-md {
  height: 48px;
}

.navbar .navbar-brand .logo-lg {
  height: 75px;
}
.bg-primary-50 {
  background-color: rgba(var(--bs-primary-rgb), 0.5);
}
.eyebrow.action.underline {
    font-size: 1.1rem;
    line-height: 1.2;
}
/*--------------------------------------------------------------
# Canvas Section
--------------------------------------------------------------*/
@media (max-width: 991.98px) {

  .navbar .dropdown:hover .dropdown-menu {
    display: none;
  }

  .navbar-collapse,
  .navbar-collapse.collapsing,
  .navbar-collapse.show {
    background: #ffffff;
    width: 100vw;
    padding: 1.5rem 1.25rem;
    box-sizing: border-box;
  }

  .navbar-collapse .navbar-nav .nav-link,
  .navbar-collapse .navbar-nav .dropdown-item {
    color: #000000 !important;
  }

  .navbar-collapse .navbar-nav .nav-link:hover,
  .navbar-collapse .navbar-nav .nav-link:focus,
  .navbar-collapse .navbar-nav .nav-link.active,
  .navbar-collapse .navbar-nav .dropdown-item:hover,
  .navbar-collapse .navbar-nav .dropdown-item:focus,
  .navbar-collapse .navbar-nav .dropdown-item.active {
    color: #000000 !important;
    background: transparent !important;
  }

  #navbar .dropdown-css .dropdown-menu {
    display: none;
    position: static;
    border: 0;
    margin: 0.25rem 0 0;
    padding-left: 1rem;
  }

  #navbar .dropdown-css .dropdown-toggle-checkbox {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
  }

  #navbar .dropdown-css .dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #navbar .dropdown-css .dropdown-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
  }

  #navbar .dropdown-css .dropdown-arrow::after {
    content: "▾";
    transition: transform 0.2s ease;
  }

  #navbar .dropdown-css .dropdown-toggle-checkbox:checked ~ .dropdown-menu {
    display: block;
  }
}

@media (min-width: 992px) {

  #navbar .dropdown-css .dropdown-toggle-checkbox,
  #navbar .dropdown-css .dropdown-toggle-label {
    display: none !important;
  }

  #navbar .dropdown-css .dropdown-head {
    display: block;
  }

  #navbar .dropdown-css .dropdown-menu {
    display: none;
    position: absolute;
    padding-left: 0;
    margin-top: 0;
  }

  #navbar .dropdown-css:hover > .dropdown-menu {
    display: block;
  }
}
/*--------------------------------------------------------------
# Meta Menu
--------------------------------------------------------------*/
.metaMenu .action {
  padding-right: 0;
}
