﻿@font-face{
    font-family: "Chalkduster";
    src: url("https://www.dentaurum.de/fonts/Chalkduster.eot");
    src: url("https://www.dentaurum.de/fonts/Chalkduster.eot?#iefix")format("embedded-opentype"),
        url("https://www.dentaurum.de/fonts/Chalkduster.woff")format("woff"),
        url("https://www.dentaurum.de/fonts/Chalkduster.woff2")format("woff2"),
        url("https://www.dentaurum.de/fonts/Chalkduster.ttf")format("truetype"),
        url("https://www.dentaurum.de/fonts/Chalkduster.svg#Chalkduster")format("svg");
    font-weight:normal;
    font-style:normal;
    font-display:swap;
}


:root{
  --primary:#76b82a;
  --secondary:#76b82a;
  --active-bg: rgba(118,184,42,0.08);
  --active-ring: rgba(118,184,42,0.4);
  --scroll-offset: 430px;
}


h2 {
    font-family: "Chalkduster";
    font-size: 1.5vw;
    line-height: 150%;
    color: #76b82a;
}

.anima_3_pics {
    height: 500px;
 }



.anima_3_pics img {
      border-radius:100%;
      border:2px solid #76b82a !important;
      padding: 15px;
   }


.jubi-item:nth-of-type(2n) {
  top: 0;
}

.flip-card {
  border:2px solid #76b82a;
}


.flip-card::before  {
  background:#76b82a;
}


.flip-card > span {
    background:#76b82a;
}

.flip-card > span::after {
    background:#76b82a;
}

.flip-card::after   {
  background:#76b82a;
}

.flip-card-front {
  background-color: #76b82a;
}

.flip-card-front img {
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}


.flip-card-back img {
  display: block;
  min-height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}



/*timeline*/


*,*::before,*::after {
  box-sizing:border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

.ecotimeline .section_header.col-md-12.text-center {
  float: none;
  position: sticky;
  top: 200px;
  z-index: 999;
  background: #fff;
  padding: 5px 0 0px;
  margin: 0 0 150px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}


.ecotimeline  .section_header.col-md-12.text-center > * {
  padding: 10px 0 0px;
  margin: 0 !important;
}

.ecotimeline  .section_header.col-md-12.text-center  h2{
  margin-bottom: 10px !important;
}

.ecotimeline {
background: linear-gradient(135deg, #f3f3f3 0%, #fff 100%) !important;
}

.ecotimeline::before {
  content:"";
  position: absolute;
  top:0;
  display:block;
  width: 100%;
  height:200px;
  z-index: 9;
  background: #f4f4f4 !important;
}

.ecotimeline::after {
  content:"";
  position: absolute;
  bottom:0;
  display:block;
  width: 100%;
  height:200px;
  z-index: 9;
  background:  linear-gradient(0deg, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%) !important;
}

.timeline-container{
  padding:2rem 2rem 1rem;
  max-width:1200px;
  margin:0 auto;
  position:relative;
}

.timeline-line{
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:4px;
  background:rgba(118,184,42,0.3);
  transform:translateX(-50%);
}

.timeline-line::after{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height: var(--progress, 0%);
  background:#76b82a;
  transition: height .6s ease;
}

#timeline-items {
  scroll-margin-top: 430px;
}



.timeline-item{
  position:relative;
  scroll-margin-top: 430px;
  margin-bottom:4rem;
}





.timeline-item h3 {
font-size:18px;
}

.timeline-content{
  display: flex;
  align-items: center;
  background:#fff;
  padding:3rem;
  border-radius:28px;
  box-shadow:0 4px 15px rgba(0,0,0,.1);
  border:2px solid transparent;
  cursor:pointer;
  outline:none;
  opacity:0;
  transition: transform .2s, box-shadow .2s, border .2s, background-color .2s, opacity .6s;
}

.timeline-content:focus-visible{
  box-shadow: 0 0 0 6px var(--active-ring);
}

.timeline-content:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}

.timeline-content.active{
  border-color: var(--primary);
  background: var(--active-bg);
  box-shadow: 0 16px 40px rgba(102,126,234,.28);
  transform: translateY(-2px) scale(1.02);
}


.timeline-item:nth-child(even) .timeline-content{
  transform: translateX(-100px) translateY(30px);
  margin-left: 52%;
  margin-right: 5%;
  text-align:left;
}

.timeline-item:nth-child(odd) .timeline-content{
  transform: translateX(100px) translateY(30px);
  margin-right: 52%;
  margin-left: 5%;
  text-align:right;
}

.timeline-item.visible .timeline-content{
  opacity:1;
  transform: translateX(0) translateY(0);
}

.timeline-icon{
  min-width:150px;
  min-height:150px;
  max-width: 150px;
  margin: 0 30px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1rem;
  box-shadow:0 0px 0px rgba(0,0,0,.3);
  overflow: hidden;
  border: 1px solid #76b82a;
}

.timeline-icon img{
  padding: 10px;
  max-width: 100%;
  width: auto;
  min-height:150px;
  object-fit: cover;
  border-radius: 100px;
}

.timeline-item:nth-child(odd) .timeline-icon{
  margin-left:auto;
}

.timeline-item:nth-child(even) .timeline-icon{
  margin-right:auto;
}


.timeline-item:nth-child(even) .timeline-content .timeline-icon{
 order: 2;
}

.timeline-title{
  font-size:1.2rem;
  font-weight:700;
  color:#1f2937;
  margin-bottom:.5rem;
}

.timeline-description{
  color:#4a5568;
  line-height:1.65;
}
.timeline-dot{
  position:absolute;
  left:50%;
  top:1.5rem;
  width:60px;
  height:60px;
  background:#fff;
  border:4px solid #e2e8f0;
  border-radius:50%;
  transform:translateX(-50%);
  z-index:10;
  transition: .3s transform, .3s background-color, .3s border-color, .3s box-shadow, .3s color;
  display:flex;
  align-items:center;
  justify-content:center;
  /*! font-size:.8rem; */
  font-weight:bold;
  color:#4a5568;
}

.dot-year{
  display:inline-block;
  transform-origin:center;
  transition: .3s transform;
}

.timeline-dot.reached{
  background: #76b82a;
  border-color: #76b82a;
  color: #fff;
  box-shadow:0 0 0 8px rgba(118, 184, 42, .25);
}

.timeline-item.is-active .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  background: #76b82a;
  border-color: #76b82a;
  color: #fff;
  box-shadow:0 0 0 8px rgba(118, 184, 42, .25);
}

.timeline-item.is-active .timeline-dot .dot-year {
  transform: scale(1.05);
}

.years-bar-wrap{
  max-width:1200px;
  margin: 0 auto 2rem;
  padding: 0 5rem 0.5rem 2rem;
  position:sticky;
  bottom:0;
  z-index:99;
}

.year-nav{
  position: static;
  width:100%;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow:0 4px 20px rgba(0,0,0,.15);
  padding: .5rem;
}

.year-nav .year-scroll{
  display:flex;
  gap:.25rem;
  overflow-x:auto;
  overflow-y:hidden;
  padding:.25rem;
  scroll-snap-type: x proximity;
  scrollbar-width:thin;
  scrollbar-color: var(--primary) #f1f1f1;
}

.year-nav .year-scroll::-webkit-scrollbar {
  height:6px;
}

.year-nav .year-scroll::-webkit-scrollbar-track {
  background:#f1f1f1;
  border-radius:3px;
}

.year-nav .year-scroll::-webkit-scrollbar-thumb {
  background:var(--primary);
  border-radius:3px;
}

.year-link{
  display:inline-block;
  flex:0 0 auto;
  padding:.5rem .85rem;
  margin: .125rem;
  min-width:3.5rem;
  text-align:center;
  border-radius:999px;
  text-decoration:none;
  color:#4a5568;
  font-weight:700;
  scroll-snap-align:center;
  transition:.2s;
}

.year-link:hover{
  background:var(--primary);
  color:#fff;
  transform: translateY(-1px);
}

.year-link.active{
  background:var(--primary);
  color:#fff;
  box-shadow:0 8px 22px rgba(102,126,234,.35);
}

.year-link.touched{ }

.overlay{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(5px);
  z-index: 999999999;
  opacity:0;
  visibility:hidden;
  transition:.3s;
}

.overlay[aria-hidden="true"]{
  pointer-events:none;
}

.overlay.active{
  opacity:1;
  visibility:visible;
}

.overlay-content{
  background:#fff;
  border-radius:30px;
  padding:3rem;
  max-width:900px;
  width:92%;
  max-height:90%;
  overflow-y:auto;
  position:relative;
  transform: scale(.8) translateY(50px);
  transition:.3s;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
}

.overlay.active .overlay-content{
  transform: scale(1) translateY(0);
}

.overlay-close{
  position:absolute;
  top:1.5rem;
  right:2rem;
  background:none;
  border:none;
  font-size:2rem;
  color:#4a5568;
  cursor:pointer;
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.overlay-close:hover{
  background:#f7fafc;
  color:var(--primary);
  transform: rotate(90deg);
}

.overlay-header{
  display:flex;
  align-items:center;
  margin-bottom:2rem;
  padding-right:3rem;
}

.overlay-icon{
  min-width:80px;
  height:80px;
  border-radius:50%;
  /*! background: linear-gradient(135deg, var(--primary), var(--secondary)); */
  display:flex;
  align-items:center;
  justify-content:center;
  margin-right:1.5rem;
  box-shadow:0 8px 25px rgba(102,126,234,.3);
  border-radius: 100px;
  overflow: hidden;
}

.overlay-icon img {
  display: block;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.overlay-year{
  font-size:3rem;
  font-weight:bold;
  color:var(--primary);
  margin-bottom:.5rem;
}

.overlay-title{
  font-size:1.8rem;
  font-weight:600;
  color:#2d3748;
  margin-bottom:1.5rem;
}

.overlay-description{
}

.overlay .media_image {
  margin: 30px auto;
  border-radius: 10px;
  max-width: 600px;
  overflow: hidden;
}

.overlay .media_image img {
  display:block;
  width: 100%;
  object-fit: cover;
}

.image-slider{
  position: relative;
  margin: 2rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slider-container{
  position:relative;
  width:100%;
  height: 340px;
  overflow:hidden;
}

.slider-track{
  display:flex;
  transition: transform 0.45s ease;
  height:100%;
}

.slide{
  min-width:100%;
  height:100%;
  position:relative;
}

.slide img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.slide-caption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color:#fff;
  padding: 1.25rem 1rem 1rem;
  font-size:.95rem;
  line-height:1.4;
}

.slider-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border:none;
  width:40px;
  height:40px;
  border-radius:50%;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  color: var(--primary);
  transition:.2s;
  z-index:2;
}

.slider-nav:hover{
  background:#fff;
  box-shadow:0 4px 15px rgba(0,0,0,.2);
  transform: translateY(-50%) scale(1.08);
}

.slider-nav.prev{
  left: 12px;
}

.slider-nav.next{
  right: 12px;
}

.slider-dots{
  display:flex;
  justify-content:center;
  gap:.5rem;
  margin-top:.75rem;
}

.slider-dots a{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#e2e8f0;
  border:none;
  cursor:pointer;
}

.slider-dots a.active{
  background: var(--primary);
  transform: scale(1.2);
}

.back-to-top{
  position:fixed;
  right:1.25rem;
  bottom:1.25rem;
  width:48px;
  height:48px;
  border-radius:50%;
  border:none;
  background:#111827;
  color:#fff;
  font-size:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 25px rgba(0,0,0,.35);
  cursor:pointer;
  z-index:60;
  opacity:0;
  visibility:hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}

.back-to-top.show{
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}

.back-to-top:hover{
  background:#1f2937;
}

.back-to-top:focus-visible{
  outline: 3px solid var(--primary);
  outline-offset:2px;
}

@media (max-width: 768px){
  .timeline-line{
    left:2rem;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content{
    margin-left:4rem;
    margin-right:0;
    text-align:left;
  }
  .timeline-item:nth-child(odd) .timeline-icon,
  .timeline-item:nth-child(even) .timeline-icon{
    margin-left:0;
    margin-right:auto;
  }
  .timeline-dot{
    left:2rem;
  }
  .slider-container {
    height: 260px;
  }
  .years-bar-wrap{
    padding: 0 1rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce){
  html:focus-within {
    scroll-behavior: auto;
  }
  .timeline-content,
  .overlay-content,
  .back-to-top,
  .slider-track {
    transition: none !important;
  }
}

 