/* ===== GLOBAL STYLES ===== */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;
  color: #000;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-weight: 400;          /* Standard-Gewicht für Text */
  font-size: 16px;           /* Basisgröße */
  line-height: 1.6;          /* Lesefreundlicher Abstand */
}

body p {
  margin-bottom: 1rem;
  font-weight: 300;          /* Leichter Fließtext */
  font-size: 1rem;
  line-height: 1.6;
}


.convertforms .cf-form-wrap {
  padding: 20px;
  background-color: #c2c2c2;
}


/* Optional: Zusätzliche Klassen für gezielte Gewichtung */
.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px;
}

@media (max-width: 768px) {
  .container {
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
    
  }
}

.container-main-top {
  grid-column: full-start;  
}

i._access-icon._access {

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
  

    background-image: url('https://inteck.web.ccwf.de/inteck-neu-ccwf/images/svg-icons/barrierefrei.svg'); 
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    display: inline-block;
    width: 50px;
    height: 50px;

    transform: none !important;
}












/* ===== MODALBOXEN ===== */

#modalImpressum .modal-body,
#modalDatenschutz .modal-body {
  color: #333;
}

a[data-bs-toggle="modal"] {
  color: #ddd;
  text-decoration: underline;
}







/* ===== CAROUSEL ===== */



.carousel .carousel-inner {
  max-width: 800px;
  margin: 0 auto;
}

.carousel .carousel-item {
  transition: opacity 0.6s ease;
}

.carousel-indicators [data-bs-target] {
  background-color: #333;
}

.carousel-indicators .active {
  background-color: #999;
}

::::::::::: 2 :::::::::::

.text-carousel {
  text-align: center;
  padding: 100px 20px;
  position: relative;
  background: #fff;
  color: #111;
  font-size: 1.5rem;
  min-height: 200px;
}

.carousel-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 1s ease;
  white-space: nowrap;
  font-size: 1.4rem;
  font-style: italic;
}

.carousel-text.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 2;
}





/* ===== TIMELINE ===== */


.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #ccc;
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.timeline-item.left .content-box {
  order: 1;
  width: 45%;
  text-align: right;
}

.timeline-item.right .content-box {
  order: 2;
  width: 45%;
  text-align: left;
}

.timeline-item .timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.timeline-item .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 5px;
}



.timeline-year
{
  display: inline-block;
  padding: 4px 6px;
  font-size: 1.5rem;
  font-weight: normal;
  border-radius: 1px;
  margin-top: 0px;
}

.bg-danger {
  --bg-opacity: 1;
  background-color: #ec0000 !important;
}






.timeline-item .year {
  display: inline-block;
  padding: 2px 6px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 3px;
  margin-top: 3px;
}

/* Mobile: Inhalte untereinander, Linie verschwindet */
@media (max-width: 767.98px) {
  .timeline::before {
    left: 20px;
    transform: none;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item .content-box {
    width: 100% !important;
    text-align: left !important;
    padding-left: 2rem;
  }

  .timeline-item .timeline-marker {
    position: relative;
    left: 20px;
    transform: none;
    margin-bottom: 1rem;
  }
}


/* =====  SECTIONS ===== */


/* ===== GLOBAL FULLWIDTH SECTION OHNE RÄNDER =====*/ 


.no-padding-fullwidth {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0 !important;
  overflow-x: hidden;
}  



.no-padding-fullwidth .container-fluid {
  padding-top: 0px;
  padding-left: 140px;
  padding-right: 140px;
  margin-left: 0px;
  margin-right: 140px;
  max-width: 100%;
}



/* Footer spezifisch */
#section-footer {
  background-color: #000;
  color: #fff;
}

/* Optional: Links in Footer */
#section-footer a {
  color: #fff;
  text-decoration: underline;
}

#section-footer a:hover {
  text-decoration: none;
}




/* ===== PARALLAX SECTIONS ===== */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}


/* ===== GENERAL SECTIONS ===== */
section {
  padding: 10px 0;
  position: relative;
   
  
}

section:nth-child(even) {
  background-color: #888;
}

/*parallax bisher*/
#section2.parallax {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 40vh;
  padding: 0 20px;
  text-align: center;

  background-image: url('https://inteck.de/images/parallax1.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


/* Hintergrundbild für #section1 */
#section1.background-image {

height: 500px; /* feste Höhe, bei Bedarf anpassen */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  background-image: url('https://inteck.de/images/parallax1.jpg'); /* Pfad anpassen */
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* oder fixed für Parallax-Effekt */
  color: #fff; /* optional, falls Text sichtbar bleiben soll */
}


@media (max-width: 768px) {
  #section1.background-image {
    height: 300px;
    padding: 40px 20px;
  }
}

#section4.parallax {
  background-image: url('https://inteck.de/images/parallax1.jpg') center center / cover no-repeat;
}







/* ===== ANIMATIONEN ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(90px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}








/* ===== ACCORDION ===== */

.accordion-button::after {
  content: '+';
  font-size: 1.4rem;
  color: #ddd;
  margin-left: auto;
  transform: none !important;
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  content: '−';
  transform: none !important;
}

.accordion-button {
  font-weight: 400;
  background-color: #fff;
  color: #888;
  border-radius: 0 !important;
  transition: background-color 0.3s ease;
}


/* entfernt das Standard-Pfeil-Symbol */
.accordion-button::after {
  content: '+' !important;
  font-size: 1.5rem;
  color: #888;
  margin-left: auto;
  background-image: none !important;
  transform: none !important;
}

/* wenn aufgeklappt: Minuszeichen anzeigen */
.accordion-button:not(.collapsed)::after {
  content: '−' !important;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 0 !important;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.accordion-body {
  padding: 1rem;
  background-color: #f9f9f9;
}



@media (min-width: 769px) and (max-width: 1024px) {
  /* Accordion-Spalten untereinander */
  .accordion-columns {
    flex-direction: column;
    gap: 20px;
  }

  /* Inhalt im geöffneten Accordion untereinander */
  .accordion-body .row {
    flex-direction: column;
  }

  .accordion-body .col-text,
  .accordion-body .col-image {
    width: 100%;
    padding: 0 !important;
    margin-bottom: 1rem;
    text-align: center;
  }

  .accordion-body .col-image img {
    max-width: 100%;
    height: auto;
  }
}



@media (max-width: 768px) {
  /* Accordion-Spalten untereinander */
  .accordion-columns {
    flex-direction: column;
    gap: 20px;
  }

  /* Inhalt im geöffneten Accordion untereinander */
  .accordion-body .row {
    flex-direction: column;
  }

  .accordion-body .col-text,
  .accordion-body .col-image {
    width: 100%;
    padding: 0 !important;
    margin-bottom: 1rem;
    text-align: center;
  }

  .accordion-body .col-image img {
    max-width: 100%;
    height: auto;
  }
}













/* ===== KONTAKTSCHALTER RECHTS ===== */

.sticky-contact-buttons {
  position: fixed;
  top: 40%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  background-color: #000;
  border-radius: 0px 0 0 0px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.0);
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.contact-btn:hover {
  background-color: #900;
}

.contact-btn .icon {
  width: 34px;
  height: 34px;
}

/* Mobil-Anpassung */
@media (max-width: 768px) {
  .sticky-contact-buttons {
    top: auto;
    bottom: 10%;
    right: 0px;
  }
}




/* ===== NAVIGATION ===== */
.custom-topbar {
  padding: 1rem 1rem;
  background-color: #c2c2c2;
  border-bottom: 0px solid #ccc;
}

.custom-topbar .logo img {
  height: 60px;
  }

.custom-topbar .nav-link {
  color: #000;
  font-size: 1.3em;
  font-weight: 300;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

.custom-topbar .nav-link:hover {
  color: #b00 !important;
}

.btn-menu {
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
}

.btn-menu img {
  height: 32px;
  width: auto;
  display: inline-block;
  
}


/* Standard: z. B. ab Tablet/Desktops */
@media (min-width: 768px) {
  .custom-topbar .logo {
    margin-left: 8.5rem;
  }
}

/* Für Smartphones kleiner lassen */
@media (max-width: 767px) {
  .custom-topbar .logo {
    margin-left: 0.5rem;
  }
}


/* Mittel-Nav nur auf größeren Geräten */
@media (max-width: 1024px) {
  .mainnav {
    display: none !important;
  }
}

/* Offcanvas Styles */
.offcanvas {
  width: 250px;
  background-color: rgba(230, 230, 230, 0.8); /* #e6e6e6 mit 80% Deckkraft */
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease-in;
  will-change: transform, opacity;
}


.offcanvas-body {
  padding: 1.5rem 1rem;
}



.offcanvas-body .offcanvas-content {
  padding-left: 1rem;  /* oder genau wie .nav-link */
  padding-right: 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}


.offcanvas .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ccc;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.offcanvas .nav-link:hover {
  color: #b00 !important;
  background-color: #f8f8f8;
}

/* Letzten Link ohne untere Linie */
.offcanvas .nav-link:last-child {
  border-bottom: none;
}


.offcanvas.show {
  opacity: 1;
}


/* ===== HERO SECTION ===== */
#hero {
display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  padding: 0 20px;
  text-align: center;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  color: #c52827;


}

#hero h1 {
  font-size: 6rem;
  font-weight: 100;
  color: #000;
  text-transform: uppercase;
}

#hero .btn {
  margin-top: 20px;
}



/* ===== BUTTON STYLES ===== */
.btn-primary {
  background-color: #ec0000;
  color: #fff;
  border-radius: 0px;
  padding: 0.6rem 1.5rem;
  font-weight: 300;
  border: none;
  transition: all 0.3s ease-in-out;
}


.btn-primary:hover {
  background-color: #b00;
  color: #fff;
}


.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-icon .icon-svg {
  width: 2em;
  height: 2em;
  vertical-align: middle;
  fill: currentColor; /* falls das SVG so aufgebaut ist */
}






/* ===== CTA SECTION ===== */
.cta {
  background-color: #900;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

footer small {
  display: block;
  margin-top: 10px;
  color: #c52827;
}

/* ===== RESPONSIVE FIXES ===== */
/* Smartphones */
@media (max-width: 767px) {
  #hero {
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    background-attachment: scroll;
    padding: 140px 20px;
  }

  #hero .container {
    padding-top: 200px;
    padding-bottom: 50px;
  }
#hero h1 {
    font-size: 3rem;
  }

  
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  #hero .container {
    padding-top: 200px;
    padding-bottom: 80px;
  }
#hero h1 {
    font-size: 4rem;
  }

  
}

/* Desktop */
@media (min-width: 1025px) {
  #hero .container {
    padding-top: 250px;
    padding-bottom: 100px;
  }

#hero h1 {
    font-size: 6.5rem;
  }
  
}



/* ------------ */

/* ------------ */

  

 

/* ===== ANCHOR OFFSET (fixed nav fix) ===== */
:target::before {
  content: "";
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
}


}
.back-to-top-link {
  z-index:1000;
  color:#777);
  pointer-events:all;
  background-color:#ccc;
  border:0px solid ;
  opacity:0;
  inset-inline-end:1rem;
  border-radius:0rem;
  padding:20px;
  transition:opacity .2s ease-in;
  position:fixed;
  bottom:1rem
}
.back-to-top-link.visible {
  opacity:1
}
.back-to-top-link:hover,
.back-to-top-link:focus {
  color:#fff;
  background-color:#666;
  border-color:#fff
}

/* ===== COOKIEBANNER ===== */



#cookie-banner {
  position: fixed;
  bottom: 42px;
  width: 48%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  margin-left: 60px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.0);
  display: none;
  z-index: 9999;
}

#cookie-banner .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 768px) {
  #cookie-banner .container {
    flex-direction: row;
    align-items: center;
  }
}

#cookie-banner button {
  background-color: #f8f9fa;
  border: none;
  color: #000;
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 0px;
}

/* ===== BACKTOTOP ===== */
.back-to-top-link {
  z-index:10000;
  color: #fff;
  pointer-events:all;
  background: rgba(0, 0, 0, 0.49);
  border:0px;
  opacity:0;
  inset-inline-end:1rem;
  border-radius:0rem;
  padding:20px;
  transition:opacity .2s ease-in;
  position:fixed;
  bottom:1rem
}












