#cpaCarousel{
	width:70%;
	transition: width 0.8s ease;
	margin-right: auto !important;
    margin-left: auto !important;
}
#cpaCarousel:hover{
	width:100%;
	transition: width 0.8s ease;
}
 

@media (min-width: 260px) 
 {
	 
	 #contact
	 {
		 width:80%;
	 }
	
	#logo
	{
		height: 4em ;
	}
	#zweiteReihe{
		position: relative;
		top: 50px;
		left: -153px;
		
	}
	
	#ersteReihe{
		position: relative;
		top: 50px;
	
		
	}
	
	#cpaCarousel{
		margin-top:70px;
	}
	#flagge2
	{
		position: relative;
		left: -224px;
		top: -15px;
	}
	
	#flagge3 , #flagge4
	{
		position: absolute;
		right: 30px;
		top: 50px;
	}
	.col-4, .col-8, .col-6
	{
		width:100%;
	}
}

@media (min-width: 575px) {
	
	 #contact
	 {
		 width:80%;
	 }
}

@media (min-width: 500px) {


  
	 
 
    #logo {
        height: 6em;      /* ursprÃ¼ngliche HÃ¶he */
    }

    #zweiteReihe {
        position: static;  /* Positionierung aufheben */
        top: auto;
        left: auto;
    }

    #ersteReihe {
        position: static;
        top: auto;
    }

    #cpaCarousel {
        margin-top: 0;     /* Standardwert */
    }

    #flagge2 {
        position: static;
        left: auto;
        top: auto;
    }

    #flagge3,
    #flagge4 {
        position: static;
        right: auto;
        top: auto;
    }

    .col-4,
    .col-8,
    .col-6 {
        width: auto;       /* Bootstrap Ã¼bernimmt wieder */
    }
}
.hack
{
  display:none;
}
.hackanti
{
  display:inline;
}

 @media only screen and (max-width: 575px) 
 {
  .hackanti
{
  display:none;
}
.hack
{
  display:inline;
}
 }

b{
	color: #1F3786;
}
.font2{
	font-size:1.7em;
}
 .icon 
{
	height:20px !important;
}

/* Hauptcontainer */
.custom-dropdown {
  position: relative;
  width: 48px;
  font-family: Arial, sans-serif;
  cursor: pointer;
  user-select: none;
}

/* Der ausgewÃ¤hlte Bereich & die einzelnen Optionen */
.dropdown-selected, .dropdown-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid #ccc;
  
  background-color: #3f5ab1;
}

.dropdown-selected {
  border-radius: 4px;
}

/* Die Optionen-Liste */
.dropdown-options {
  display: none; /* StandardmÃ¤ÃŸig unsichtbar */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
}

/* Hover-Effekt fÃ¼r Optionen */
.dropdown-option:hover {
  background-color: #f0f0f0;
}

/* Klasse zum Einblenden via JavaScript */
.custom-dropdown.open .dropdown-options {
  display: block;
}



 
 .img-box {
        height: 100%;
    }
	
	 
    .img-box img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }
	
	* {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.overlay-wrapper {
    position: relative;
}

.overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)  ;
    background: rgba(255, 255, 255, 0.6); /* heller halbtransparenter Hintergrund */
    padding: 10px;
    border-radius: 8px;
	height:100%;
	width:100%;
 
}

.overlay-icon2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)  ;
    
    padding: 10px;
    border-radius: 8px;
 
}

.overlay-icon img {
    width: 40px;   /* Bild kleiner */
    height: auto;  /* Proportionen bleiben */
}


.carousel-indicators [data-bs-target] {
    width: 120px;        /* LÃ¤nge der weiÃŸen Linie */
    height: 10px;        /* HÃ¶he der Linie */
    background-color: rgba(255,255,255,0.8); /* WeiÃŸ, leicht transparent */
    border-radius: 5px; /* Abgerundete Ecken */
}

.carousel-indicators .active {
    background-color: #fff; /* Aktiver Balken komplett weiÃŸ */
}

 
.carousel-indicators
{
	 awidth: 100px;
	 background-color:rgba(125,125,125,0.2);
	  border-radius: 3px; /* Abgerundete Ecken */
}

 :root {
    --bs-border-radius: 2rem;
}
 .carousel-item {
    position: relative; /* wichtig fÃ¼r Overlay */
}

.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.7);
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    z-index: 10;
    backdrop-filter: blur(4px); /* optional, sehr edel */
}

.carousel-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.carousel-overlay a {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}


.carousel-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-item:hover .carousel-overlay {
    opacity: 1;
}
.carousel-control-prev,.carousel-control-next
{
	background-color:rgba(255,255,255,0.0);
	width:3%;
}

.carousel-control-prev:hover,.carousel-control-next:hover
{
	 background-color:rgba(125,125,125,0.2);
	
}