/* Version: 1.0.3 */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

:root {
  --primary: #8dba5d;
  --secondary: #AABD8C;
  --third: #4C5B61;
  --light: #f8f9fa;
  --dark: #212529;
  --card-color: #e1e1e1;
  --card-bg: #2b3136;
}

* {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
}

.color-primary {
  color: var(--primary);
}

.list-checked {
  list-style-type: none;
}

.active-nav-link {
  color: var(--primary) !important;
}

.list-checked li::before {
  content: "\f00c"; /* FontAwesome Unicode */
  font-family: FontAwesome;
  color: var(--primary);
  display: inline-block;
  margin-left: -30px;
  margin-right: 15px;
  width: var(--icon-space);
}

body, html {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}


body {
  margin-top: 0 !important;
}

main {
  margin-top: 0 !important;
}

main {
  flex: 1
}

.wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.btn-menu {
  background-color: #217956;
  padding-left: 15px !important; 
  padding-right: 15px !important;
  color: #e1e1e1;
  font-weight: bold;
} 

.btn-menu:hover {
  background-color: #206e4f;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  text-transform: uppercase;
  word-wrap:normal;
  font-family: 'Open Sans', sans-serif;
}

a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

ul li a {
  letter-spacing: 1px;;
}

.logo {
  width: 80px;
  height: 80px;
}

#hero {
  background: linear-gradient(rgba(44, 66, 63, 0.7), rgba(76, 91, 97, 0.7)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  height: 70vh;
  margin-top: -96px !important;
  padding-top: 96px;
}

.about-hero {
  background: linear-gradient(rgba(44, 66, 63, 0.7), rgba(76, 91, 97, 0.7)), url('../images/ddorf.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  height: 400px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#title {
  background-image: url("../images/title_image.jpg");
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  background-image: url('../images/title_image.jpg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  margin-top: -96px !important;
  padding-top: 96px;
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: blur(1px);
  z-index: -1;
}

.overlay {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0,0,0,1);
}

.overlay::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(36, 44, 48, 0.6);
  z-index: -1;
}

.navbar {
  transition: all 0.3s ease-in-out;
  background-color: rgba(33, 37, 41, 0.6) !important;
  backdrop-filter: blur(4px);
}

.navbar-transparent {
  background-color: transparent !important;
  backdrop-filter: none !important;
}

.dropdown-menu {
  background-color: rgba(33, 37, 41, 0.95);
  backdrop-filter: blur(10px);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--primary);
}

.divider {
  background-color: #217956;
  height: 3px;
  width: 120px;
  margin: 18px auto
}

.service-image {
  width: 100%;
  height: 100%;
}

#goTop {
  position: fixed;
  right: 15px;
  bottom: 15px;
}

#goTop a {
  color: white;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  display: flex;
  transition: opacity 0.3s linear;
}

#goTop a:hover {
  opacity: 0.7;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#kernbohrungen {
  position: relative;
  overflow: hidden;
  color: white;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  height: 450px;
}

#oe_02 {
  position: relative;
  overflow: hidden;
  color: white;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  height: 450px;
}

#oe_03 {
  margin: auto;
  position: relative;
  overflow: hidden;
  color: white;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  height: 500px;
  width: 281px;
  
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.kostenrechner-container {
  background: #292c2f;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: inline-block;
  width: 100%;
  max-width: 600px;
  text-align: center;
  margin: 20px auto;
}

.kostenrechner-container h2 {
  color: #333;
}

.kostenrechner-container select,
.kostenrechner-container input {
  padding: 10px;
  margin: 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.kostenrechner-container button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  width: 100%;
}

.kostenrechner-container button:hover {
  background-color: #218838;
}

.kostenrechner-container p {
  font-weight: bold;
  color: #555;
}

 .ergebnis-box {
    margin-top: 20px;
    padding: 10px;
    display: inline-block;
    font-size: 22px;
    font-weight: bold;
}

.p2 {
  text-indent: 0;
  padding-bottom: 0;
  padding-right: 0;
  text-align: center
}

.f3 {
  font-size: 32px;
  font-size: calc(32px * var(--f));
  font-weight: 300;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  color: #feffff;
  background-color: initial;
  text-shadow: none;
  line-height: 1px
}
  
.f4 {
  font-size: 32px;
  font-size: calc(32px * var(--f));
  line-height: 1.688;
  font-weight: 300;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  color: #feffff;
  background-color: initial;
  text-shadow: none
}

.f5 {
  font-size: 24px;
  font-size: calc(24px * var(--f));
  line-height: 1.668;
  font-weight: 300;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(255,47,2,0.9);
  background-color: initial;
  text-shadow: none
}
.f6 {
  font-size: 32px;
  font-size: calc(32px * var(--f));
  line-height: 1.688;
  font-weight: 300;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(255,47,2,0.9);
  background-color: initial;
  text-shadow: none
}

.f7 {
  font-size: 32px;
  font-size: calc(32px * var(--f));
  line-height: 1.688;
  font-weight: 300;
  font-style: normal;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  color: #ff2f02;
  background-color: initial;
  text-shadow: none
}

.team-image {
  object-fit: cover;
  height: 500px;
  width: 100%;
}

.team-line { 
  border: none; height: 4px;
  background-color: var(--primary); 
  width: 300px;
  margin-top: -1rem;
  margin-left: auto; 
  margin-right: auto;
  margin-bottom: 2rem;
}

.team-text1{
  margin-top: 1rem;
}

.btn-success {
  background-color:  var(--primary);
  border-color:  var(--primary);
  color: #2C423F;
  font-weight: 500;
}

.btn-success:hover {
  background-color: #648343;
  border-color: #648343;
}

.social-link {
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.social-link:hover {
  padding-left: 0px;
  transform: translateY(-3px);
}

.social-link:hover i {
  color:  var(--primary) !important;
}

.social-link:hover div {
  color: #648343 !important;
}

.carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(141, 186, 93, 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(141, 186, 93, 1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 25px;
  height: 25px;
  background-size: 100%;
  filter: none;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-indicators button {
  background-color:  var(--primary) !important;
}

footer h5 {
  color: var(--primary);
}

footer ul li a {
  text-decoration: none;
  color:#e1e1e1;
  transition: all 0.3s ease;
}

footer ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active-in {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  color: var(--secondary);
  position: relative;
}

.service-card {
  position: relative;
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 0px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: none;
  min-height: 400px;
}

#services .service-card {
  position: relative;
  background-color: var(--card-bg);
  background-image: none;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 0px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: none;
  min-height: 400px;
  z-index: 0;
}


.hover-translate-up:hover {
  transform: translateY(-10px);
}

.hover-shadow:hover {
  box-shadow: 0 10px 20px rgba(141, 186, 93, 0.2);
}

.hover-cursor-pointer:hover {
  cursor: pointer;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

.card-body {
  padding: 30px;
}

#services .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px;
  z-index: 2;
}

.service-card .shadow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
  z-index: -1;
}

.service-card a {
  all: revert;
  text-decoration: none;
  color: #e1e1e1;
  text-transform: none;
  
}

/* Slide-Animationen */
.slide-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease;
}

.slide-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}

.slide-active {
  opacity: 1;
  transform: translateX(0);
}

/* Zusätzliche Animation für die Jahreszahlen */
.zoom-in {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.8s ease;
}

.zoom-active {
  opacity: 1;
  transform: scale(1);
}

.messebau-card {
    background-color: rgba(33, 37, 41, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.messebau-card:hover {
    transform: translateY(-10px);
}

.messebau-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    min-height: 70px;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #e1e1e1;
}

.feature-list i {
    color: var(--primary);
    margin-right: 10px;
}

/* Anpassung der Feature-List Icons */
.feature-list i {
    color: var(--primary);
}


.wrapper {
    margin-top: 0 !important;
}

.mehr-erfahren {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-card:hover .mehr-erfahren {
    color: #648343;
}

.mehr-erfahren i {
    transition: transform 0.3s ease;
}

.service-card:hover .mehr-erfahren i {
    transform: translateX(5px);
}

/* Process Timeline Styles */
.process-timeline {
    position: relative;
    padding: 20px 0;
}

.process-step {
    position: relative;
    z-index: 2;
}

.step-number {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 3;
}

.process-lines {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    z-index: 1;
}

.line-segment {
    height: 3px;
    background: var(--primary);
    width: 0%;
    transition: width 1.5s ease;
    position: relative;
}

.line-segment::before,
.line-segment::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

.line-segment::before {
    left: 0;
}

.line-segment::after {
    right: 0;
}

.process-step:hover .process-icon {
    transform: scale(1.1);
    background-color: #1a1e21;
}

/* Animation für die Verbindungslinie */
.process-timeline.animate .line-segment {
    width: 100%;
}




/* Moderne Carousel-Pfeile */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(141, 186, 93, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(141, 186, 93, 1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 25px;
    height: 25px;
    background-size: 100%;
    filter: none;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

/* Einheitliche Stile für Montage-Sektion */
.section-subtitle {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon-small {
    font-size: 1.8rem;
    color: var(--primary);
    min-width: 40px;
    margin-top: 5px;
}

.service-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #e1e1e1;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 0;
}

.service-item {
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
}

.sound-toggle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(141, 186, 93, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.sound-toggle:hover {
    background-color: rgba(141, 186, 93, 1);
}

.sound-toggle i {
    color: white;
    font-size: 1.2rem;
}

/* Style für die Timeline */

/* Timeline Styles */
.timeline-section {
  position: relative;
}

.timeline {
  margin-top: 100px !important; 
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: linear-gradient(180deg, 
      var(--primary) 0%,
      #648343 100%);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(141, 186, 93, 0.2);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background: var(--primary);
  border: 3px solid rgba(255, 255, 255, 0.8);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 20px rgba(141, 186, 93, 0.4),
              inset 0 0 10px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item:hover::after {
  transform: scale(1.3);
  box-shadow: 0 0 25px rgba(141, 186, 93, 0.6),
              inset 0 0 15px rgba(255, 255, 255, 0.3);
  background: linear-gradient(145deg, var(--primary), #648343);
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-left::after {
  right: -13px;
}

.timeline-right::after {
  left: -12px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: var(--card-bg);
  position: relative;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.timeline-img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 15px;
}

.timeline-year {
  position: absolute;
  top: -45px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2C423F;
  background-color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
}



.timeline-right .timeline-year {
  left: 20px;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary);
}

/* Hover-Effekt für Kontakt-Links */
.navbar a[href^="tel:"],
.navbar a[href^="https://wa.me/"] {
  transition: all 0.3s ease;
  text-decoration: none;
}

.navbar a[href^="tel:"]:hover,
.navbar a[href^="https://wa.me/"]:hover {
  transform: translateY(-3px);
}

.navbar a[href^="tel:"]:hover span:first-of-type,
.navbar a[href^="https://wa.me/"]:hover span {
  color: var(--primary);
}

.navbar a[href^="tel:"]:hover i,
.navbar a[href^="https://wa.me/"]:hover i {
  color: var(--primary) !important;
}

.icon-mobile {
  font-size: 1.5rem;
}

[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus) {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 1%29'/%3e%3c/svg%3e");
}

.form-check-input[type="checkbox"] {
  border-color: white;
}

.form-check-input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input[type="checkbox"]:hover {
  cursor: pointer;
}



/* !!!!!! MUSS IMMER AM ENDE STEHEN !!!!!! */
/* Responsive Anpassungen für die Prozess-Timeline */
@media (max-width: 768px) {
  .process-lines {
      display: none;  /* Versteckt die Verbindungslinien auf mobilen Geräten */
  }
  
  .process-step {
      margin-bottom: 40px;  /* Reduzierter Abstand zwischen den Schritten */
  }

  .process-step:last-child {
      margin-bottom: 20px;
  }

  .step-number {
      position: relative;  /* Entfernt die absolute Positionierung */
      top: 0;
      margin-bottom: 15px;
  }
  
  .messebau-card {
      margin-bottom: 2rem;
  }
  
  .slide-left, .slide-right {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
  }

  .slide-active {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
  }

  .timeline-item::after {
      left: 18px;
  }

  .timeline-right {
      left: 0;
  }

  .timeline-left .timeline-year,
  .timeline-right .timeline-year {
      left: 40px;
  }

  h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: calc(1.2rem + 1vw);
  }

  .section-title {
    font-size: 2rem;
    padding: 0 15px;
  }

  .messebau-title {
    font-size: 1.5rem;
    min-height: auto;
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 1.5rem;
  }

  .col-lg-6 {
    margin-bottom: 0.5rem;
  }

  .color-primary.mb-4 {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem !important;
  }

  .feature-list {
    margin-bottom: 1rem;
  }

  .position-relative.rounded.shadow-lg {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 769px) {
  .timeline-left .timeline-year {
        right: 20px;
    }
}

@media (max-width: 991px) {
  .navbar-nav .dropdown-menu {
      text-align: center;
      border: none;
      padding: 1rem;
      margin-bottom: 1rem;
      background: transparent !important;
      backdrop-filter: none !important;
  }

  .navbar-nav .dropdown-item {
      text-align: center;
      padding: 0.5rem;
      justify-content: center;
  }

  .navbar-nav {
      text-align: center;
  }

  .navbar-nav .nav-item {
      padding-right: 0;
      text-align: center;
  }

  .navbar-nav .nav-link {
      display: inline-block;
      width: 100%;
      text-align: center;
  }

  .dropdown-toggle {
      width: 100%;
      text-align: center;
  }

  .dropdown-divider {
      margin: 0.5rem auto;
      width: 80%;
  }
}

@media (max-width: 1399px) {
  .icon-mobile {
    font-size: 2rem;
  }
}

.hover-link {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.hover-link:hover {
  transform: translateY(-3px);
}

.hover-link:hover span.transition-all {
  color: var(--primary) !important;
}

.transition-all {
  transition: all 0.3s ease;
}

.timeline-end-point {
    position: absolute;
    bottom: -12.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 25px;
    background: var(--primary);
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(141, 186, 93, 0.4),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-end-point:hover {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 25px rgba(141, 186, 93, 0.6),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    background: linear-gradient(145deg, var(--primary), #648343);
}

@media (max-width: 768px) {
    .timeline-end-point {
        left: 31px;
        transform: translateX(-50%);
    }
    
    .timeline-end-point:hover {
        transform: translateX(-50%) scale(1.3);
    }
}

#cookieOverlay {
    background-color: rgba(0, 0, 0, 0.95);
}

#cookieOverlay .container {
    max-height: 100vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    #cookieOverlay .container {
        padding: 1rem;
    }
}
