/* Example CSS file */ 
* {
    margin: 0;
    padding: 0;
}


/* 404 */


.container404 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-message p {
    margin-bottom: 20px;
}



/* 404 */

body, html {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    background-color: #efefef;
}

h1 {
    font-size: 4.5rem; 
    font-weight: bold;
    line-height: 1.2;
}

h2 {
    font-size: 2rem; /* 32px */
    font-weight: bold;
    line-height: 1.3;
    margin-top: 60px;
}

h3 {
    font-size: 1.75rem; /* 28px */
    font-weight: 100;
    line-height: 1.4;
}

h4 {
    font-size: 1.5rem; /* 24px */
    font-weight: bold;
    line-height: 1.5;
    color: rgb(227, 0, 0);
}

p {
    font-size: 1rem; /* 16px */
    line-height: 1.6;
}


#redtext {
    color: rgb(227, 0, 0);
    margin-bottom: 10px;
}

.graytext {
    color: #727285;
}


.btn-primary {
    color: white;
    background-color: rgb(227, 0, 0);
    padding: 8px 24px;
    border-radius: 100px;
    width: fit-content;
}

.btn-primary2 {
        color: white;
    background-color: rgb(227, 0, 0);
    padding: 8px 24px;
    border-radius: 100px;
    width: fit-content;
    font-size: 1.5rem;
}


.btn-secondary {
    margin: 30px;
    color: #727285;
    background-color: transparent;
    border: 2px solid #727285;
}

.btn-tertiary {
    color: white;
    background-color: #727285;
    padding: 8px 30px;
    border-radius: 100px;
}

a {
    text-decoration: none;
}




/* Navbar */
/* Navbar Grundstil */

/* Start */

header {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    position: relative;
    z-index: 1;
}

.video-header {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.header-content {
    z-index: 1;
    text-align: center;
}


header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Schwarz mit 50% Deckkraft */
    z-index: -1;
}


header h3 {
    margin-bottom: 24px;
}


main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo-sponsoren {
    position: absolute;
    bottom: 30px;
}

/* Timer */

.container--timer {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    width: 70%;
    margin: 119px 0;
    border-radius: 20px;
    padding: 30px;
    gap: 7px;
}

.container--timer h2 {
    margin-top: 0;
}



.container--fyi {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    width: 70%;
    margin-top: 40px;
    margin-bottom: 119px;
}

.container--fyi-item {
    background-color: #fff;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
   
}

.container--fyi-item h4 {
    margin-top: 30px;
}

.arrow {
    font-size: 5rem;
    color: rgb(227, 0, 0);
}

.timer-img {
    width: 15%;
}


#days, #hours, #minutes, #seconds {
    font-size: 3.5rem;
}


/* Event */

.container--event {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* callout */

.container--callout {
    display: grid;
    grid-template-columns: 40% 1fr;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 70%;
    background-color: #fff;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    border-radius: 20px;
    padding: 30px;
    margin: 60px 0 119px 0 ;
}

.container--callout img {
    width: 100%;
}

/* toggel */

.container--toggle {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    width: 70%;
}

.card {
    display: grid;
    grid-template-columns: 75px 1fr;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.content--toggle {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    padding: 20px;
    display: none; 
    width: 70%;
}

.content--toggle-programm {
    display: grid;
    grid-template-columns: 94px 1fr;
    align-items: center;
    text-align: left;
    width: auto;
    row-gap: 75px;
    margin-top: 44px;
}

.content--toggle-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.programm-zeit {
    font-weight: 800;
    color: #727285;
}

/* referenten */

.content-referenten {
    display: flex;
    flex-direction: column;
    gap: 50px; /* Abstand zwischen Referenten */
    width: 100%;
}

.content-referenten-items {
    display: grid;
    grid-template-columns: 200px 1fr; /* Bild links, Text rechts */
    align-items: start;
    gap: 30px;
    padding: 20px;
}

.content-referenten-items img {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    object-fit: cover;
}

.content-referenten-items h4 {
    font-size: 1.4rem;
    font-weight: bold;
    color: rgb(227, 0, 0);
    margin-bottom: 8px;
}

.content-referenten-items h4.graytext {
    font-size: 1rem;
    color: #727285;
    font-weight: 600;
    margin-bottom: 10px;
}

.content-referenten-items p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}



/* Preise */
.preise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
}

.preise-titel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.smalltxt {
    font-size: 0.6rem;
}

#services h4 {
    margin-top: 30px;

}

#map {
    margin-top: 44px;
}

/* partner */
.container-partner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin: 119px 0;
}

.partner-logos {
    display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        width: 60%;
        align-self: center;
        place-content: center;
        gap: 65px;
        align-items: center;
        margin-top: 44px;
}

.partner-logos img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
}

.container-partner-bg {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    padding: 20px;
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container-partner-bg a {
    color: rgb(227, 0, 0);
}




/* NEWS */

.news_repeater {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
row-gap: 68px;
  justify-content: center;
  width: 70%;
  margin: 45px auto 190px;
}


.news_repeater_blogs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* passt sich der höchsten Karte an */
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
  padding: 20px;
  overflow: hidden;
  max-width: 33%;
}


.news_repeater_blogs h2 {
  margin-top: 20px;
  font-size: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; /* Nur eine Zeile anzeigen */
}

.news_repeater_blogs p {
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.news_repeater_blogs img {
  width: 100%;
  height: 200px; /* feste Höhe */
  object-fit: cover;
  border-radius: 10px;
}






/* News Text Box */
.news_text_box {
    padding: 10px 10px 10px 0;
}


 /* Qui sommes nou */


/* Spezielles Header-Bild als graue Box */
.header-about {
  width: 100%;
  height: 40vh;
  position: relative;
  overflow: hidden;
}

.header-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay */
.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 50% Schwarz */
}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}



/* About Section */
.about-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 0;
  background-color: #f9f9f9;
}

.about-container {
  width: 70%;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 30px;
  align-items: center;
}

.about-container img {
  width: 100%;
  aspect-ratio: 16 / 9; /* oder 4/3 oder 1/1 für quadratisch */
  object-fit: cover;
  border-radius: 12px;
}


.about-text h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  margin-top: 0;
}

.about-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}


/* Team Section - kompakter */
.team-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  background-color: #f9f9f9;
}

.team-section h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
  text-align: center;
}

.team-section > p {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
  width: 70%;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  width: 70%;
}

.team-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 10px;
  text-align: center;
  transition: transform 0.2s ease;
}

.team-card img {
    width: 60%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
}


.team-card h4 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1px;
  margin-top: 11px;
}

.team-card p {
  font-size: 0.85rem;
  color: #727285;
  margin: 0;
}

.position {
    margin-bottom: 2%;
}

  /* @ sommes nou */



  /* NEWS */

  .news-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-news {
  width: 100%;
  height: 70vh;
  position: relative;
  overflow: hidden;
}


.blog-meta {
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.blog-date {
  font-size: 0.9rem;
  color: #727285;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}


.blog-post {
  width: 70%;
  max-width: 900px;
  margin: 10px auto;
  padding: 30px;
}

.blog-post p a {
    color: red;
    text-decoration: underline;
}

.blog-header-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}


.blog-meta {
  margin-bottom: 20px;
}

.blog-date {
  font-size: 0.9rem;
  color: #727285;
}

.blog-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.back-btn {
  display: inline-block;
  margin-top: 20px;
}



/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 1024px) {
    .news_repeater {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf mittleren Bildschirmen */
    }

}

@media (max-width: 768px) {
    .news_repeater {
        grid-template-columns: 1fr; /* 1 Spalte auf kleinen Bildschirmen */
    }
   
}





/* gallerie */
.container--fotos {
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    padding: 20px;
    margin-bottom: 119px;
}

/* Galerie-Container */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Flexible Spaltenbreite */
    gap: 15px; /* Abstand zwischen den Bildern */
    width: 100%;
}

/* Styling für die Bilder */
.gallery img {
    width: 100%; /* Passt sich der Spaltenbreite an */
    height: auto; /* Bewahrt das Seitenverhältnis */
    object-fit: cover; /* Bild füllt den Raum */
    transition: transform 0.3s ease; /* Hover-Animation */
}

/* Hover-Effekt */
.gallery img:hover {
    transform: scale(1.01); /* Vergrößert das Bild beim Hover */
}


.container-about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    padding: 20px;
    margin-bottom: 119px;
}

.container-about h4{
    font-size: 1.12rem;
    color: #727285;

}


.container-about-grid {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 2%;
    align-items: center;
}

.partner-about-spalten {
   margin-top: 44px; 
   display: grid;
    grid-template-columns: 1fr 1fr;
}

.container-about-grid img{
    width: 100%;
}

.container-about-grid p{
    margin-bottom: 15px;
}

.container-about-text{
    display: flex;
    flex-direction: column;
}

.container-about-text img{
    width: 30%;
}


/* footer */
footer {
    background-color: #fff;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


footer h3 {
    margin: 0;
}

.footer--top {
    text-align: center;
    margin-bottom: 30px;
}

.footer--top a {
    color: black;
}


.footer--bottom {
    text-align: center;
}



/* Resposiv */

/* General Navbar Styles */
/* General Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
}


.logo-container2 {
    display: flex;
    align-items: center;
    display: none;
}

.logosaq {
    width: 150px;
    margin-right: 20px;
}

/* Menü */
.menu {
    display: flex;
    list-style: none;
    margin-right: 65px;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: rgb(227, 0, 0);
}


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


/* Hamburger-Menü */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    margin-right: 66px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    list-style: none;
    position: absolute;
    top: 60px;
    right: 72px;
    background-color: white;
    padding: 10px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9;
}

.mobile-menu li {
    margin: 10px 0;
}

.mobile-menu a {
    color: black;
    text-decoration: none;
    font-size: 1rem;
}

.mobile-menu a:hover {
    color: rgb(227, 0, 0);
}

.mobile-menu .btn-primary:hover {
 color: #fff;
}

/* Fixierte Navbar bei Scroll */
.navbar.scrolled {
    background-color: white;
    color: black;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo-container img {
    display: none;
}

.navbar.scrolled a {
    color: black;
}

.navbar.scrolled .menu a:hover {
    color: rgb(227, 0, 0);
}

.navbar.scrolled .btn-primary {
    color: #fff;
}

.navbar.scrolled .logo-container2 {
    display: block;
}


.navbar.scrolled .menu .btn-primary:hover {
    color: #fff;
}


.navbar.scrolled .hamburger {
    color: black;
}


#cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 0;
    background-color: #FFFFFF;
    border-radius: 20px 0 0 20px;
    box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
    padding: 15px;
    max-width: 300px;
    z-index: 1000;
    display: flex
;
    flex-direction: column;
    align-items: center;
}
  
  .cookie-content {
    text-align: center;
  }


  
  .cookie-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  
  .cookie-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  #learn-more-btn,
  #close-btn {
    background-color: #727285;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #learn-more-btn:hover,
  #close-btn:hover {
    background-color: #5a5a69;
  }
  
  #close-btn {
    background-color: rgb(227, 0, 0);
  }
  
  #close-btn:hover {
    background-color: rgb(184, 1, 1);
  }
  

 /* Responsive Styles */
@media (max-width: 1056px) {

    header {
        height: 90vh;
    }
       .partner-logos {
        grid-template-columns: 1fr 1fr;
        width: 83%;
        align-self: center;
        place-content: center;
        gap: 36px;
        align-items: center;
        margin-top: 17px;
      }

    .news_repeater {
        grid-template-columns: 1fr;
    }


    #redtext {
        font-size: 1rem;
    }

    #days, #hours, #minutes, #seconds {
        font-size: 1.5rem;
    }

    .timer-img {
        width: 50%;
        height: auto;
    }


    .menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    h1 {
        font-size: 2.5rem; 
        text-align: center;
    }


    .container--fyi {
        display: grid;
        grid-template-columns: 1fr;
        gap: 60px;
        width: 70%;
        margin-top: 40px;
        margin-bottom: 119px;
        justify-content: center;
    }

    .container--event {
        width: 100%;
    }

    .container--callout img {
        width: 100%;
    }

    .container--callout {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: center;
        gap: 30px;
        width: 70%;
        background-color: #fff;
        box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
        border-radius: 20px;
        padding: 30px;
        margin: 60px 0 119px 0;
    }

    .container--toggle {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .card {
        width: 70%;
    }

    .content-referenten-items {
        justify-content: center;
        align-items: center;
    }

    .content-referenten {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        align-items: center;
        row-gap: 15px;
        
    }


    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .footer--bottom {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .footer--top {
        text-align: center;
        margin-bottom: 30px;
    }
    
    
    .footer--bottom {
        text-align: center;
    }
    

    footer {
        background-color: #fff;
        box-shadow: 10px 10px 39px 0px rgba(0, 0, 0, 0.133);
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .container-about-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .container-about-text img{
        width: 50%;
    }

    .content--toggle-programm {
        grid-template-columns: 1fr;
        row-gap: 11px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 70%;
}
}


@media (max-width: 1200px) {
  .news_repeater_blogs img {
    height: 180px;
  }
}

@media (max-width: 810px) {
  .news_repeater_blogs img {
    height: 150px;
  }
}

@media (max-width: 768px) {
    .content-referenten-items {
        grid-template-columns: 1fr; /* Bild und Text untereinander */
        text-align: center;
    }
    .content-referenten-items img {
        margin: 0 auto 15px;
    }
}
