html, body {
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  background-image: url('Images/KorpsabzeichenBackground.png'); 
  background-size: contain;     
  background-position: center; 
  background-repeat: no-repeat;
  background-attachment: fixed; 
}

a {
  color: #b12525;
}

a:hover {
  text-decoration: underline;
}

.content h1 {
  color: #8b0000;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  margin-top: 20px;
}

.content h2 {
  color: #b12525;
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 10px;
  border-bottom: 2px solid #b12525;
  padding-bottom: 5px;
}
h3{
font-size: 25px;
color: black;
font-weight: bold;
text-align: center;
}

.content{
margin-top: 10vh;
max-width: 1150px;
margin: 100px auto 50px auto;
padding: 0 20px;
}

.content-homepage {
margin-top: 10vh;
background-image: none;
}

p {
  margin-bottom: 15px;
}

.Titles {
font-size: 2.0rem;
margin: 30px 0 30px 10px;
margin-left: 30px;
font-weight: bold;
color: darkred;
text-align: left;
}

/* Suchleiste */
.search-bar {
margin: 20px 0;
margin-bottom: 60px;
display: flex;
justify-content: center;
gap: 10px;
}

.search-bar input {
padding: 8px;
font-size: 1rem;
width: 100%;
border: 1px solid #ccc;
border-radius: 4px;
}

.search-bar button {
padding: 8px 16px;
background-color: darkred; 
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s ease;
}

.search-bar button:hover {
background-color: darkred;
}


/* Tabellen */
table {
  margin: 0 auto;
  width: 80%;
  border-collapse: collapse;
  margin-top: 15px;
}

table th, table td {
  padding: 10px;
  text-align: left;
  font-weight: bolder;
  border-bottom: 2px solid darkred;
}

table th {
  background: darkred;
  color: white;
}

.usage li {
  padding: 5px;
  margin: 10px;
}

/* Navigation Bar */
.navbar {
  min-height: 10vh; 
  width: 100%; 
  background-color: rgba(0, 0, 0, 0.85) !important;
  position: fixed;
  top: 0; 
  overflow: visible;
}

.nav-links { 
  flex: 1 1 auto;
  gap: 8px;
  align-items: center;
}

.navbar li {
width: 250px;
text-align: center;
}

.navbar a{
  color: white;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh; 
  font-weight: bold;
  font-size: 18px;
  padding: 0 8px;
}

.nav-icon {
  height: 10vh;
  width: auto;           
}

.navbar .nav-link:hover {
  color: red;
}

/* Dropdown Menü (richtiges Target!) */
.dropdown-menu.dropdown-menu-end {
  background-color: rgba(0, 0, 0, 0.85);
  border: none;
  min-width: 250px;
  padding: 0;
  box-shadow: none;
}

/* Dropdown Items */
.dropdown-menu .dropdown-item {
  color: white;
  font-weight: bold;
  font-size: 18px;
  padding: 14px 0;
  text-align: center;
}

/* Hover */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: transparent;
  color: red;
}


@media (max-width: 991px) {

  /* Collapse über volle Breite ohne Ränder */
  .navbar-collapse {
    position: fixed;
    top: 10vh;            /* direkt unter Navbar */
    left: 0;
    right: 0;
    width: 100vw;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.85);
  }

  /* Links zentrieren */
  .navbar-nav {
    width: 100%;
    align-items: center;
    text-align: center;
    margin: 0;
  }

  .navbar-nav .nav-link {
    width: 100%;
    padding: 14px 0;
  }
}
.footer {
background: #222;
color: darkred;
padding: 10px 10px;
text-align: center;
}

.footer-row {
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.footer-col {
flex: 1 1 100px;
max-width: 300px;
}

.footer-col h3 {
margin-bottom: 15px;
font-size: 1.2rem;
color: white;
}

.links {
list-style: none;
padding: 0;
margin: 0;
}

.links li {
margin: 10px 0;
}

.links li a {
color: white;
font-weight: 500;
text-decoration: none;
transition: 0.3s;
}

.links li a:hover {
color: red;
text-decoration: underline;
}

.social-links {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 10px;
}

.social-icon {
width: 32px;
height: 32px;
transition: transform 0.3s;
}

.social-icon:hover {
transform: scale(1.1);
}

@media (max-width: 768px) {
.footer {
padding: 5px 5px;
font-size: 14px;
}

.footer-row {
flex-direction: column;
align-items: center;
}

.footer-col {
max-width: 100%;
}

.footer-col h3 {
font-size: 1rem;
margin-bottom: 8px;
}

.links li {
margin: 6px 0;
}

.social-icon {
width: 24px;
height: 24px;
}
}
/*Homepage Styles*/
/* CountUp Bar Styling */
.countup-bar {
    background: #b30000;  /* kräftiges Feuerwehr-Rot */
    color: white;
    width: 100%;
}

.countup-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.countup-item {
    min-width: 150px;
}

.countup-item .count {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.countup-item p {
    font-size: 1.1rem;
    margin: 0;
}


/* Für kleine Bildschirme: 2 Countups nebeneinander */
@media (max-width: 768px) {
.countup-item {
  flex: 0 0 40%;
  max-width: 45%;
}
}
.card-img{
height: 250px;
object-fit:cover;
}

/*BecomeMember-Page*/

.shadow-text { text-shadow: 2px 2px 15px rgba(0,0,0,0.8); }

.custom-feature-card { transition: transform 0.3s ease; border-radius: 20px !important; }
.custom-feature-card:hover { transform: translateY(-10px); }

.modern-timeline { display: flex; flex-direction: column; gap: 20px; }
.timeline-step { 
    display: flex; align-items: center; background: #fff; padding: 20px; 
    border-radius: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}
.step-num { 
    background: darkred; color: white; width: 50px; height: 50px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem; 
    font-weight: bold; margin-right: 20px; flex-shrink: 0; 
}

.custom-gallery::-webkit-scrollbar { height: 6px; }
.custom-gallery::-webkit-scrollbar-thumb { background: darkred; border-radius: 10px; }
.gallery-item { min-width: 300px; margin-right: 15px; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; border-radius: 15px; }

@media (max-width: 768px) {
    .timeline-step { flex-direction: column; text-align: center; }
    .step-num { margin-right: 0; margin-bottom: 10px; }
    .footer-row { flex-direction: column; align-items: center; }
}

/*Optional*/
.countups {
  background: #b12525;
  display: flex;
  justify-content: center; 
  gap: 50px;               
  margin-top: 10vh;
  width: 100%;
  height: 120px;
}

.countup-item {
  margin-top: 10px;
  color: white;
  font-size: 20px;
  display: flex;
  flex-direction: column;  
  align-items: center;     
  text-align: center;
}

/* Big number */
.countup-item h1 {
font-size: 3rem;
font-weight: bold;
margin: 0;
line-height: 1.2;
}

.countup-item div {
font-size: 1.2rem;
font-weight: 500;
opacity: 0.9;
margin-top: 8px;
}

/* Label text */
.countup-item div {
font-size: 1.1rem;
font-weight: 500;
opacity: 0.9;
margin-top: 8px;
}

form {
display: flex;
flex-direction: column;
gap: 15px;
margin: 0 30px 60px 30px;
background-color: #f5f5f5;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

form label {
font-weight: bold;
font-size: 1.1rem;
color: #333;
}

form input,form textarea {
padding: 10px;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 6px;
resize: vertical;
}

form button {
background-color: darkred;
color: white;
padding: 12px;
font-size: 1.1rem;
border: none;
border-radius: 6px;
cursor: pointer;
transition: background 0.3s ease;
}

form button:hover {
background-color: #b12525;
}

@media (max-width: 768px) {
.box-container {
  flex-direction: column;
  align-items: center;
}
form {
  margin: 0 15px 40px 15px;
}

h2 {
  font-size: 1.8rem;
}
.intro-text {
  font-size: 1.2rem;
  margin: 0 15px 30px 15px;
}
}

/* Responsive */
@media (max-width: 768px) {
.image-text-section {
  flex-direction: column;
  text-align: center;
}

.text-container h2 {
  font-size: 1.8rem;
}
}

.half-image-text {
display: flex;
width: 100%;
height: 50vh; /* Höhe optional anpassen */
}

.half-image, .half-text {
flex: 1;
}

.half-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.half-text {
display: flex;
justify-content: center;
padding: 2rem;
background-color: rgb(39, 37, 37);
overflow-y: auto; 
}

.timeline-container {
  position: relative;
  height: 100%;    
}

.timeline-line {
position: absolute;
left: 20px; 
top: 0;
bottom: 0;
height: 100;
width: 4px;
background: #800000;
z-index: 0; 
}

.timeline-item::before {
content: '';
position: absolute;
left: 12px; 
top: 0;
width: 16px;
height: 16px;
background: #ff4d4d;
border-radius: 50%;
border: 4px solid white;
z-index: 1;
}

.timeline-item {
position: relative;
margin-bottom: 2rem;
padding-left: 60px;
}

.timeline-item h3 {
margin-bottom: 0.5rem;
font-size: 1.5rem;
color: white;
}

.timeline-item ul {
margin: 0;
padding-left: 1rem;
color: white;
}

.timeline-item ul li {
margin-bottom: 0.5rem;
font-size: 1rem;
}


@media (max-width: 768px) {
.half-image-text {
  flex-direction: column;
  height: auto;
}

.half-image, .half-text {
  flex: none;
  width: 100%;
}

.half-text {
  text-align: center;
}
}

.features-section {
display: flex;
justify-content: center; 
gap: 20px;
margin-top: 15vh; 
margin-bottom: 5vh;
flex-wrap: wrap;  
}

.feature h3 {
margin-top: 0 0 0 0;             /* optional: verhindert unnötigen Abstand */
}

.feature {
display: flex;
flex-direction: column;  
align-items: center;
text-align: center;
color: darkred;
width: 180px;   /* feste Breite */
height: 200px;  /* feste Höhe */
justify-content: center; /* Icon & Text schön mittig */
background: rgba(255,255,255,0.1); /* optional: leichte Box-Hinterlegung */
border-radius: 10px; /* optional */
}

.feature-icon {
width: 60px;
height: 60px;
margin-bottom: 10px;
}

@media (max-width: 768px) {
.features-section {
  flex-direction: column;
  gap: 30px;
}
}

/*Steckerlfischessen-Page*/
.hero {
  position: relative;
  background: url('Images/steckerlfisch.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 10vh;
  margin-bottom: 40px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.3);
}

.hero-content {
position: relative; 
z-index: 1;
}

.hero p { font-size: 1.2rem; }
.event-details { 
display: flex;
flex-wrap: wrap; 
justify-content: center; 
gap: 2rem; 
padding: 4rem 2rem; 
}

.detail-card { 
flex: 1 1 300px; 
background: darkred; 
color: white; 
border-radius: 10px; 
padding: 2rem; 
text-align: center; 
transition: 0.3s; 
cursor: pointer; 
}

.detail-card:hover { 
transform: translateY(-10px); 
box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}

.detail-card h2 { 
margin-bottom: 1rem;
color:#f7f7f7; 
font-size: 1.5rem; 
}
.offer-box {
  max-width: 80%;
  height: auto;     /* statt 30vh */
  margin: 3rem auto;
  background: rgb(249, 197, 40);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
  color: #222;
}

.custom-slider {
  max-width: 100%;
  margin: 7rem auto;
  overflow: visible;
}

.custom-slider .slider-container {
  display: flex;        
  padding: 0 10px;  
  gap: 20px   
}

.custom-slider img {
  width: auto; 
  display: block;
  height: 210px;
}

.custom-slider .slider-container li {
  flex: 0 0; 
}

/* Vehicles Page*/
.vehicle-text {
    white-space: normal;
}

.vehicles-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
    margin-top: 30px;
}

.vehicle-card {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    display: flex;
    align-items: center; 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.22);
}

.vehicle-photo {
    max-width: 330px;     
    max-height: 300px;    
    width: auto;
    height: auto;
    object-fit: contain; 
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.vehicle-info {
    flex: 1;
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vehicle-info h1 {
    font-size: 34px;
    margin: 0 0 10px 0;
    text-align: left;
    color: darkred; 
    word-break: break-word;
}

.vehicle-info p {
    font-size: 16px;
    margin: 6px 0;
    line-height: 1.5;
}

.vehicle-card,
.card,
.col,
.col-12 {
  overflow: visible !important;
}

@media (max-width: 900px) {
    .vehicle-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .vehicle-photo {
        margin: 20px 0;
        max-width: 80%;
        max-height: 220px;
    }

    .vehicle-info {
        padding: 0 20px 20px;
    }

    .vehicle-info h1 {
        white-space: normal;
    }
}

/* Members Page */
.filter-bar {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}
.filter-bar a {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    background-color: #cc0000;
    font-weight: 500;
}
.filter-bar a.active {
    background-color: #990000;
}
.members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-items: center;
    padding: 20px;
}
.member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 310px;
    height: 310px;
    background: #f8f8f8;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.member-info h2 {
    margin: 15px 0 10px 0;
    font-size: 1.5em;
    color: #333;
}
.member-info p {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    color: #666;
}
.member-photo {
    width: 130px;
    height: 160px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 6px;
}

/* Partner und Sponsoren Page */
.sponsor-section {
  padding: 60px 20px;
  text-align: center;
}

.sponsor-section h1 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #222;
}

.sponsor-grid {
  display: grid;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;             
  padding: 0 20px;            
  gap: 36px;                  
  justify-items: center;      
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  box-sizing: border-box;
}

.sponsor-item {
  width: 100%;
  max-width: 340px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.sponsor-item:hover {
  transform: scale(1.05);
}

.sponsor-item img {
  width: 160px;
  height: 140px;
  object-fit: contain;
  display: block;
  margin-bottom: 15px;
}

.sponsor-info {
  font-size: 1rem;
  color: #444;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sponsor-info a {
  color: inherit;;
  text-decoration: none;
}

.sponsor-info a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .sponsor-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .sponsor-item img {
    width: 120px;
    height: 120px;
  }
}

/* Missions Page */
.missions-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
}

.mission-card {
  background: #f5f5f5;
  padding: 20px;
  margin-top: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mission-card:hover {
  transform: scale(1.02);
}

.mission-details { 
  display: none; 
  margin-top: 15px;
}

.mission-details img {
  width: 200px;
  margin-top: 10px;
}

.search-bar {
  margin-bottom: 25px;
}
.search-bar input {
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #aaa;
}
.search-bar button {
  padding: 10px 15px;
  border: none;
  background: #c41414;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.flyer-container { 
  max-width: 450px; 
  margin: 40px auto;
   text-align: center; }

.flyer-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25); 
  } 
  
.gallery-img { 
  width: 100%; 
  height: 260px; 
  object-fit: cover;
  border-radius: 10px; 
} 

.event-section {
  max-width: 1150px;
  margin: 120px auto 80px auto; 
    padding: 0 20px; 
  } 
    
.event-title {
  font-size: 2.4rem;
  font-weight: bold; 
  color: darkred;
  text-align: center; 
  margin-bottom: 20px; 
  }

.event-subtitle { 
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #333; 
 }  
     
.wochenmarkt-hero { 
  background: url('Images/Veranstaltungen/Wochenmarkt/markt_header.jpg') center/cover no-repeat; 
  height: 45vh;
  margin-top: 10vh;
  display: flex;
  justify-content: center;
  align-items: center; 
  color: white; 
  position: relative; 
  } 
      
.wochenmarkt-hero::after { 
  content: "";
  position: absolute;
  inset: 0; 
  background: rgba(0,0,0,0.35); 
   }

.wochenmarkt-hero h1 { 
  position: relative; 
   z-index: 2;
    font-size: 3rem; 
  }

.custom-slider img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:15px;
    margin-bottom:10px;

}

.custom-slider .slider-container li{
    flex:0 0 320px;
}

@media (max-width:768px){
    .custom-slider .slider-container li{
        flex:0 0 85%;
    }
}

.card{
margin-top:10px;
}

.swiffy-slider{
margin-top:50px !important;
margin-bottom:50px;
}


