/* Fonts */

@font-face {
    font-family: 'euclid_circular_aitalic';
    src: url('../fonts/EuclidCircularA-Italic.woff2') format('woff2'),
        url('../fonts/EuclidCircularA-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'euclid_circular_alight';
    src: url('../fonts/EuclidCircularA-Light.woff2') format('woff2'),
        url('../fonts/EuclidCircularA-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'euclid_circular_abold';
    src: url('../fonts/EuclidCircularA-Bold.woff2') format('woff2'),
        url('../fonts/EuclidCircularA-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'euclid_circular_aregular';
    src: url('../fonts/EuclidCircularA-Regular.woff2') format('woff2'),
        url('../fonts/EuclidCircularA-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




/* Farbpalette */
:root {
  --weiss:        #FFFFFF;
  --mint:         #F6FAFD;
  --hellgrau:     #F4F4F4;
  --lila:         #CCA4DC;
  --aubergine:    #713887;  /* nur bei den FAQ Icons */
  --violett:      #52355D;
  --schwarz:      #141215;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'euclid_circular_aregular', sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--violett);
    scroll-behavior: smooth;
    background-color: var(--mint);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*:focus, .btn.focus, .btn:focus, button:focus {
    outline: 0 none;
    border: 0;
    border-color: transparent;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0)!important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0)!important;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--mint);
    border-radius: 0px
}
::-webkit-scrollbar-thumb {
    background: var(--violett);
    border-radius: 3px
}
::selection {
    background: var(--mint);
    color: var(--violett);
}
::-moz-selection {
    background: var(--mint);
    color: var(--violett);
}

a {
    color: var(--schwarz);
    text-decoration: none;
}
a:hover {
    color: var(--violett);
}
figure {
    margin: 0;
    padding: 0;
}
strong, .strong {
    font-family: 'euclid_circular_abold', sans-serif;
}
i {
    font-family: 'euclid_circular_aitalic', sans-serif;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    font-family: 'euclid_circular_abold', sans-serif;
    font-weight: 400!important;
}
h1, .h1, h2, .h2 {
    font-size: 50px;
    line-height: 60px;
}

h3, .h3, h4, .h4, h5, .h5, h6, .h6, .loud {
    font-size: 24px;
    line-height: 28px;
}

.video-hero h1 {
    font-size: 80px;
    line-height: 84px;
}

.fs-14 {
    font-size: 14px;
    line-height: 20px;
}

.fs-light {
    font-family: 'euclid_circular_alight', sans-serif;
    font-weight: 300;
}

@media screen and (max-width: 992px) {
    .video-hero h1 {
        font-size: 48px;
        line-height: 52px;
    }
    h1, .h1, h2, .h2 {
        font-size: 28px;
        line-height: 34px;
    }
    h3, .h3, h4, .h4, h5, .h5, h6, .h6, .loud {
        font-size: 18px;
        line-height: 22px;
    }
}
.ratio169 {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.ratio11 {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ratio45 {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.ratio43 {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/***********
Hintergrundfarben
************/

.bg-violett {
    background-color: var(--violett);
    color: var(--weiss);
}
.bg-violett a{
    color: var(--weiss);
}
.bg-violett a:hover{
    color: var(--hellgrau);
}

.bg-mint {
    background-color: var(--mint);
    color: var(--violett);
}

.bg-schwarz {
    background-color: var(--schwarz);
    color: var(--weiss);
}

.bg-schwarz a{
    color: var(--weiss);
}
.bg-schwarz a:hover{
    color: var(--hellgrau);
}

/***********
Textfarben
************/

.text-schwarz {
    color: var(--schwarz);
}
.text-violett {
    color: var(--violett);
}
.text-weiss {
    color: var(--weiss);
}
.text-lila {
    color: var(--lila);
}
.text-aubergine {
    color: var(--aubergine);
}

/*********
Abstände
**********/
.space-xxl-y {
    padding-top: 100px;
    padding-bottom: 100px;
}

.space-xl-y {
    padding-top: 70px;
    padding-bottom: 70px;
}

.space-xl-t {
    padding-top: 70px;
}

.space-xl-b {
    padding-bottom: 70px;
}

.space-sm-y {
    padding-top: 35px;
    padding-bottom: 35px;
}

.space-sm-t {
    padding-top: 35px;
}

.space-sm-b {
    padding-bottom: 35px;
}

.space-0 {
    padding: 0 !important;
}

@media (min-width: 768px) {
    .space-xxl-y {
        padding-top: 140px;
        padding-bottom: 140px;
    }
    .space-xl-y {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .space-xl-t {
        padding-top: 100px;
    }

    .space-xl-b {
        padding-bottom: 100px;
    }

    .space-sm-y {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .space-sm-t {
        padding-top: 50px;
    }

    .space-sm-b {
        padding-bottom: 50px;
    }

}

/*********
Buttons
**********/

.btn:not(.formContainer .btn) {
    display: inline-block;
    font-family: 'euclid_circular_abold', sans-serif;
    font-size: 18px;
    padding: 10px 10px 10px 50px;
    border-radius: 29px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all 0.3s ease;
}
.btn:not(.formContainer .btn)::after {
    content: '';
    display: inline-block;
    width: 38px;
    height: 38px;
    background-color: var(--violett);
    border-radius: 19px;
    margin-left: 30px;
    vertical-align: middle;
}
.btn:not(.formContainer .btn):hover::after {
    background-color: var(--aubergine);
}


/* default button */
.btn-default {
    background-color:var(--weiss);
    border: 1px solid var(--weiss);
    color: var(--violett);
}
.btn-default:hover{
    background-color: var(--violett);
    border: 1px solid var(--violett);
    color: var(--lila);
}




/* default button */
.bg-violett .btn-default {
    background-color:var(--weiss);
    border: 1px solid var(--weiss);
    color: var(--violett);
}
.bg-violett .btn-default:hover{
    background-color: transparent;
    border: 1px solid var(--weiss);
    color: var(--weiss);
}



/* outline button */
.btn-outline {
    background-color:transparent;
    border: 1px solid var(--violett);
    color: var(--violett);
}
.btn-outline:hover{
    background-color: var(--violett);
    border: 1px solid var(--violett);
    color: var(--lila);
}


.video-hero .btn-outline {
    background-color:transparent;
    border: 1px solid var(--weiss);
    color: var(--weiss);
}
.video-hero .btn-outline:hover{
    background-color: var(--weiss);
    border: 1px solid var(--weiss);
    color: var(--violett);
}


.bg-white .btn-default {
    background-color:var(--mint);
    border: 1px solid var(--mint);
    color: var(--violett);
}
.bg-white .btn-default:hover{
    background-color: var(--violett);
    border: 1px solid var(--violett);
    color: var(--lila);
}




/* icons für button */
.btn.btn-iconhome::after {
    background-image: url("../images/icon-home-wht.svg");
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center center;
}
.btn.btn-iconplug::after {
    background-image: url("../images/icon-plug-wht.svg");
    background-repeat: no-repeat;
    background-size: 30% auto;
    background-position: center center;
}
.btn.btn-iconperson::after {
    background-image: url("../images/icon-person-wht.svg");
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center center;
}
.btn.btn-iconzaehler::after {
    background-image: url("../images/icon-zaehler-wht.svg");
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center center;
}
.btn.btn-icontel::after {
    background-image: url("../images/icon-tel-wht.svg");
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center center;
}
.btn.btn-iconlkw::after {
    background-image: url("../images/icon-lkw-wht.svg");
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center center;
}
.btn.btn-iconblitz::after {
    background-image: url("../images/icon-blitz-wht.svg");
    background-repeat: no-repeat;
    background-size: 30% auto;
    background-position: center center;
}
.btn.btn-iconinfo::after {
    background-image: url("../images/icon-info-wht.svg");
    background-repeat: no-repeat;
    background-size: 50% auto;
    background-position: center center;
}
.btn.btn-iconarrow::after {
    background-image: url("../images/icon-arrow-wht.svg");
    background-repeat: no-repeat;
    background-size: 30% auto;
    background-position: center center;
}



.bg-schwarz .btn-default,
.bg-schwarz .btn-outline:hover{
    background-color: var(--snow);
    border: 1px solid var(--snow);
    color: var(--schwarz);
}
.bg-schwarz .btn-default:hover,
.bg-schwarz .btn-outline {  
    background-color: transparent;
    border: 1px solid var(--snow);
    color: var(--snow);
}

.navbar-toggler {
    border: 0px solid transparent;
    border-radius: 0px;
}

/*********
NAV
**********/
#stickyheader {
    position: relative;
    z-index: 1000;
}

#stickyheader.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}



/* Zentrierung wirklich auf Container */
.main-nav .navbar-collapse {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Nav Links */
.main-nav .nav-link {
  font-family: 'euclid_circular_abold', sans-serif;
  color: var(--violett);
  text-transform: uppercase;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: var(--lila); /* aus eurer Palette */
}




@media (min-width: 992px) and (max-width: 1399.98px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 2px;
        padding-left: 2px;
        font-size: 15px;
    }
}


@media (min-width: 1400px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 18px;
    }
}

/* Dropdown */

.dropdown-menu {
    border: none;
}

.dropdown-toggle::after {
  display: none; /* Pfeil entfernen */
}

.dropdown-menu {
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* CTA */
.nav-cta .btn {
  white-space: nowrap;
}


.dropdown-menu li.current>a {
    background-color: var(--lila);
    color: var(--weiss);
}


.item-122,
.item-123,
.item-131,
.item-133 {
    display: block;
    background-image: url(../images/extern.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 10px auto;
    padding-right: 25px;
    margin-right: 15px;
}

/*********
CONTENT VIDEO HERO
**********/



/* Grundstruktur */
.video-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 40px); /* 🔑 Desktop Limit */
  min-height: 60vh;
  overflow: hidden;
}

/* Video */
.video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔑 für Mobile */
}

/* Verlauf: unten dunkel → oben transparent */
.video-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.0) 70%
  );
  z-index: 1;
}

/* Content-Ebene */
.video-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end; /* 🔑 Content unten */
  padding-bottom: 3rem;
}


@media (max-width: 767.98px) {
  .video-hero {
    aspect-ratio: 4 / 5;
    min-height: 75vh;
  }

  .video-hero__content {
    padding-bottom: 2rem;
  }

  .video-hero__overlay {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.5) 40%,
      rgba(0, 0, 0, 0.0) 85%
    );
  }
}



.border-white {
    border: 2px solid var(--weiss);
}

.border-mint {
    border: 2px solid var(--mint);
}

.card-title {
    color: var(--schwarz);
}

#homenews .card-title {
    color: var(--violett);
}

.card-text {
    color: var(--violett);
}

.check-icon {
    padding-left: 50px;
    background-image: url("../images/check-icon.svg");
    background-repeat: no-repeat;
    background-size: 35px auto;
    background-position: left center;
}

.bg-draw {
    background-image: url("../images/wasserkraft-in-den-bergen.webp");
    background-repeat: no-repeat;
    background-size:  auto 80%;
    background-position: center center;
}


.accordion {
    --bs-accordion-color: var(--weiss);
    --bs-accordion-bg: var(--violett);
    --bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
    --bs-accordion-border-color: none;
    --bs-accordion-border-width: 0px;
    --bs-accordion-border-radius: 10px;
    --bs-accordion-inner-border-radius: 20px;
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-padding-y: 0.25rem;
    --bs-accordion-btn-color: var(--weiss);
    --bs-accordion-btn-bg: var(--aubergine);
    --bs-accordion-btn-icon: url(../images/accordion-arrow.svg);
    --bs-accordion-btn-icon-width: 1.25rem;
    --bs-accordion-btn-icon-transform: rotate(-180deg);
    --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
    --bs-accordion-btn-active-icon: url(../images/accordion-arrow.svg);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-accordion-body-padding-x: 1.25rem;
    --bs-accordion-body-padding-y: 0.5rem;
    --bs-accordion-active-color: var(--weiss);
    --bs-accordion-active-bg: var(--aubergine);
}


.accordion-button {
    padding: 5px var(--bs-accordion-btn-padding-x);
    text-transform: uppercase;
}

.accordion-item {
    margin-bottom: 25px;  
}

footer a {
  color: var(--violett);
}

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


.item-119,
.item-120,
.item-131,
.item-123 {
    border-bottom: 1px dotted var(--lila) !important;
    padding-bottom: 3px;
    margin-bottom: 3px;
}





/* Wrapper */
.article-header {
  position: relative;
  width: 100%;
  min-height: 70vh;
}

/* Bild-Ebene */
.article-header__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Verlauf: unten weiß → oben transparent */
.article-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.85) 30%,
    rgba(255,255,255,0.0) 70%
  );
  z-index: 1;
}

/* Content */
.article-header__content {
  position: absolute;  
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}

.article-intro {
  font-size: 1.125rem;
  max-width: 42rem;
}
@media (max-width: 991.98px) {
  .article-header {
    min-height: 60vh;
  }

  .article-header__content {
    padding-bottom: 2.5rem;
  }

  .article-intro {
    font-size: 1rem;
  }
}

.border-bottom-60 {
    border-bottom: 60px solid var(--violett);

}

.mod-breadcrumbs__item.breadcrumb-item.active {
    color: var(--lila);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--weiss);
}


.rsform-submit-button{
    display: inline-block;
    font-family: 'euclid_circular_abold', sans-serif;
    font-size: 18px;
    padding: 10px 40px;
    border-radius: 29px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all 0.3s ease;
}

.rsform-submit-button.btn-primary {
    background-color:var(--violett);
    border: 1px solid var(--violett);
    color: var(--weiss);
}

.formContainer label:not(.formContainer .form-check label) {
    display: none;
}

.formContainer h3 {
    margin-top: 30px;
}
.rsfp-field-multiple-plus-button {
    margin-top: 15px;
}

input::placeholder,
textarea::placeholder,
select option,
select  {
    color:#94A3B8!important; 
}
.yui-calcontainer {
    background-color: var(--violett);
    border: 1px solid var(--mint);
    border-radius: 8px;
}
.yui-calcontainer .title {
    color: var(--weiss);
}
.yui-calcontainer .calclose {
    background: url(../images/calx.gif)no-repeat;
}
.yui-calendar .calnavleft {
    background: url(../images/callt.gif)no-repeat
}
.yui-calendar .calnavright {
    background: url(../images/calrt.gif)no-repeat
}
.yui-calendar td.calcell {
    border: 1px solid var(--aubergine);
}
.yui-calendar td.calcell a {
    color: var(--mint);
}
.yui-calendar td.calcell.oom {
    color: var(--mint);
    background-color: var(--aubergine);
    border: var(--weiss)
}
.yui-calendar td.calcell.selected {
    color: var(--weiss);
    background-color: var(--aubergine);
    border: 1px solid var(--aubergine)
}
.yui-calendar td.calcell.calcellhover {
    cursor: pointer;
    color: #fff;
    background-color: var(--aubergine);
    border: 1px solid var(--aubergine)
}
.yui-calendar td.calcell.calcellhover a {
    color: #fff
}
.yui-calendar td.calcell.previous {
    color: #ccc
}
.yui-calendar td.calcell.highlight1 {
    background-color: var(--aubergine)
}
.yui-calendar td.calcell.highlight2 {
    background-color: #9cf
}
.yui-calendar td.calcell.highlight3 {
    background-color: #fcc
}
.yui-calendar td.calcell.highlight4 {
    background-color: var(--aubergine)
}
.yui-calendar .calhead {
    border: 0px solid var(--weiss);
    color: var(--weiss)!important;
    background-color: var(--violett)
}
.yui-calendar .calweekdaycell {
    color: var(--mint);
    font-weight: 400;
    text-align: center;
    width: 2.5em
}
.yui-calendar .calfoot {
    background-color: #eee
}
.yui-calendar .calrowfoot,.yui-calendar .calrowhead {
    color: #666;
    font-size: 9px;
    font-style: italic;
    font-weight: 400;
    width: 15px
}
.yui-calendar .calrowhead {
    border-right-width: 2px
}
.yui-calendar a.calnav {
    color:var(--blaugrau)
}
.yui-calendar a.calnav:hover {
    border: 1px solid #036;
    background-color: #69c;
    color: #fff;
    cursor: pointer
}
.yui-calcontainer .yui-cal-nav-mask {
    background-color: #000;
    opacity: .25
}
.yui-calendar td.calcell.today {
    border: 1px solid var(--weiss);
}




.download-link {
    display: inline-block;
    background-image: url(../images/icon-download.svg);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 30px;
    border-bottom: 1px solid transparent;
}

.download-link:hover {
    border-bottom: 1px solid var(--violett);
}

.timeline {
  position: relative;
  max-width: 100%;
  margin: auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #dee2e6;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 1rem 2rem;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-content {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  background: var(--violett);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left::before {
  right: -8px;
}

.timeline-item.right::before {
  left: -8px;
}

/* Mobile */
@media (max-width: 768px) {
  .timeline::after {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 2.5rem;
    padding-right: 1rem;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item::before {
    left: 0;
  }
}


.accordion-header button {
    line-height: 1.5;
    padding-top: 14px;
    padding-bottom: 10px;
}


.djacc-popup .djacc__openbtn--default,
.djacc-popup .djacc__close,
.djacc-popup .djacc__bar:before {
    background: var(--violett);
}

.djacc-popup .djacc__panel {
    border-radius: 20px;
}  