
body,
html {
	height: 100%;
	width: 100%;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 18px;
	color: #16232b;
}





a {
   color: #16232b !important;
}

a:hover {
   color: #16232b !important;
}



header .header-title {
	font-family: "Barlow Condensed", sans-serif;
	color: #16232b;
	font-size: 30px !important;
	margin-right: 30px;
}

header li {
	margin: 0px 5px !important;
}


header li a {
	font-size: 18px !important;
	color: #16232b !important;
	text-decoration: underline !important;
}






.breadcrumb {
   background-color: #f8f9fa;
   border-radius: 8px;
   padding: 10px 15px;
   margin: 15px 0;
}

.breadcrumb-scroll,
.breadcrumb {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.breadcrumb-scroll .breadcrumb-item,
.breadcrumb .breadcrumb-item {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* Wichtig: Trennzeichen korrekt positionieren */
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    color: #6c757d;
    content: "/";
    position: static !important; /* Verhindert absolute Positionierung */
}

/* Optional: Für bessere mobile Darstellung */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 8px 12px;
        margin: 10px 0;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding-right: 0.3rem;
        padding-left: 0.3rem;
    }
}









.btn-primary {
   background-color: #324c5d !important;
   border-color: #324c5d !important;
   color: #ffffff !important;
}

.btn-primary:hover {
   background-color: #273e4e !important;
   border-color: #273e4e !important;
   color: #ffffff !important;
}



/* TOOLTIP */


.tooltip .tooltip-inner {
    background-color: #f8f9fa; /* Helles Grau */
    color: #000000; /* Schwarze Schrift */
    border: 1px solid #dee2e6; /* Optional: Rand für bessere Sichtbarkeit */
}

.tooltip .tooltip-arrow::before {
    border-top-color: #f8f9fa !important; /* Für Tooltip oben */
    border-bottom-color: #f8f9fa !important; /* Für Tooltip unten */
    border-left-color: #f8f9fa !important; /* Für Tooltip links */
    border-right-color: #f8f9fa !important; /* Für Tooltip rechts */
}





/* UEBERSCHRIFTEN */



:root {
    /* Desktop Defaults */
    --h1-size: 2.0rem;
    --h2-size: 1.85rem;
    --h3-size: 1.75rem;
    --h4-size: 1.5rem;
    --h5-size: 1.25rem;
    --h6-size: 1rem;
}

/* Basisstile für Überschriften */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
	color: #16232b !important;
}

h1 { 
    font-size: var(--h1-size); 
}
h2 { 
    font-size: var(--h2-size); 
}
h3 { 
    font-size: var(--h3-size); 
}
h4 { 
    font-size: var(--h4-size); 
}
h5 { 
    font-size: var(--h5-size); 
}
h6 { 
    font-size: var(--h6-size); 
}

/* Tablet */
@media (max-width: 992px) {
    :root {
        --h1-size: 1.8rem;
        --h2-size: 1.6rem;
        --h3-size: 1.4rem;
        --h4-size: 1.3rem;
        --h5-size: 1.1rem;
        --h6-size: 0.9rem;
    }
}

/* Smartphone */
@media (max-width: 576px) {
    :root {
        --h1-size: 1.4rem;
        --h2-size: 1.2rem;
        --h3-size: 1.1rem;
        --h4-size: 1.1rem;
        --h5-size: 1rem;
        --h6-size: 0.85rem;
    }
}





.small-heading {
    font-size: 1.1rem !important;
    font-weight: 400 !important;
}






/* NAVBAR - ALTE VERSION */

.navbar {
    transition: all 0.3s ease;
}



.navbar-custom {
  background-color: #324c5d;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand,
.navbar-custom .navbar-toggler {
   color: white !important;
   font-weight: 300;
   font-size: 18px !important;
   text-decoration: none !important;
}

.navbar-custom.navbar-shrink {
  padding: 10px 0;
}


.navbar-title {
  font-size: 28px !important;
  font-weight: 500 !important;
  transition: font-size 0.3s ease;
}

.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* Adjust height as needed */
}


.navbar-shrink .navbar-title {
  font-size: 24px !important;
}

.navbar-custom .nav-link:hover {
   color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-toggler-icon {
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-custom .navbar-toggler {
   border: 1px solid rgba(255, 255, 255, 0.8);
}




@media (max-width: 991px) {
	
	.navbar-title {
		font-size: 24px !important;
	}

	
	.navbar-custom .nav-item {
       border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
   
	.navbar-custom .nav-item:last-child {
       border-bottom: none;
	}
}














/* PROFIL DARSTELLUNG - UEBERSICHTEN */


.profile-title {
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;	
}

@media (max-width: 992px) {
    .profile-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .profile-title {
        font-size: 18px;
    }
}




#filter-section {
    transition: opacity 0.3s ease-in-out;
}





#profil-card .card {
   box-shadow: 0 4px 10px rgba(0,0,0,0.25);
   transition: box-shadow 0.3s ease;
   background: linear-gradient(to bottom, #ffffff, #e7ecef);
}

#profil-card .card:hover {
   box-shadow: 0 6px 12px rgba(0,0,0,0.3);
   background: linear-gradient(to bottom, #ffffff, #d9dfe3);
}



#profil-card .card-text {
   display: -webkit-box;
   -webkit-line-clamp: 5;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis;
}




.profil-card .card {
   box-shadow: 0 4px 10px rgba(0,0,0,0.25);
   transition: box-shadow 0.3s ease;
   background: linear-gradient(to bottom, #ffffff, #e7ecef);
}

.profil-card .card:hover {
   box-shadow: 0 6px 12px rgba(0,0,0,0.3);
   background: linear-gradient(to bottom, #ffffff, #d9dfe3);
}



.profil-card .card-text {
   display: -webkit-box;
   -webkit-line-clamp: 5;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis;
}


/* Profilbild-Optimierung */
.card-img-top {
    aspect-ratio: 6 / 7;
    object-fit: cover;
    object-position: center;
}

/* Alternative für Liste */
.img-fluid.rounded-start {
    aspect-ratio: 6 / 7;
    object-fit: cover;
    object-position: center;
}



#view-grid .col-6,
#view-grid .col-md-3 {
    flex: 0 0 auto !important;
    width: 50% !important;
}

@media (min-width: 768px) {
    #view-grid .col-md-3 {
        width: 25% !important;
    }
}







#view-grid,
#view-list {
    transition: opacity 0.3s ease-in-out;
}

#view-grid.fade-out,
#view-list.fade-out {
    opacity: 0;
}

#view-grid.fade-in,
#view-list.fade-in {
    opacity: 1;
}






/* STAEDTE NAVIGATION SIDEBAR */



:root {
    --list-item-height: 45px;
    --header-height: 50px;
}

#staedte-navigation {
    background-color: #324c5d;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#staedte-navigation .card-header {
    font-size: 20px;
    font-weight: medium;
    padding: 12px 15px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background-color: #1e3341 !important;
    color: white !important;
	border-bottom: 2px solid #fff !important; 
}


#staedte-navigation .card-header h4 {
   font-size: 20px;
   font-weight: medium;
   color: #fff !important;
   margin: 0;
}

@media (max-width: 576px) {
   #staedte-navigation .card-header h4 {
       font-size: 18px;
   }
}



#staedte-navigation .list-group-item {
    background-color: transparent;
    border-color: #e9ecef;
    padding: 0 15px;
    height: var(--list-item-height);
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}


#staedte-navigation .list-group-item.active {
    background-color: #446276;
    border-color: #e9ecef;
}



#staedte-navigation .list-group-item:hover {
    background-color: #273e4e;
}

#staedte-navigation .list-group-item a {
    color: #ffffff !important;
    font-size: 18px;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

#staedte-navigation .list-group-item a:hover {
    color: #273e4e;
    text-decoration: none;
}

@media (max-width: 576px) {
    :root {
        --list-item-height: 40px;
        --header-height: 45px;
    }
    
    #staedte-navigation .card-header {
        font-size: 18px;
    }
    
    #staedte-navigation .list-group-item a {
        font-size: 16px;
    }
}








/* SUCHE ANFRAGEN NAVIGATION SIDEBAR */




:root {
    --list-item-height: 45px;
    --header-height: 50px;
}

#anfragen-navigation {
    background-color: #324c5d;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#anfragen-navigation .card-header {
    font-size: 20px;
    font-weight: medium;
    padding: 12px 15px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background-color: #1e3341 !important;
    color: white !important;
	border-bottom: 2px solid #fff !important; 
}


#anfragen-navigation .card-header h4 {
   font-size: 20px;
   font-weight: medium;
   color: #fff !important;
   margin: 0;
}

@media (max-width: 576px) {
   #anfragen-navigation .card-header h4 {
       font-size: 18px;
   }
}



#anfragen-navigation .list-group-item {
    background-color: transparent;
    border-color: #e9ecef;
    padding: 0 15px;
    height: var(--list-item-height);
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}


#anfragen-navigation .list-group-item.active {
    background-color: #446276;
    border-color: #e9ecef;
}



#anfragen-navigation .list-group-item:hover {
    background-color: #273e4e;
}

#anfragen-navigation .list-group-item a {
    color: #ffffff !important;
    font-size: 18px;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

#anfragen-navigation .list-group-item a:hover {
    color: #273e4e;
    text-decoration: none;
}

@media (max-width: 576px) {
    :root {
        --list-item-height: 40px;
        --header-height: 45px;
    }
    
    #anfragen-navigation .card-header {
        font-size: 18px;
    }
    
    #anfragen-navigation .list-group-item a {
        font-size: 16px;
    }
}








/* BUNDESLAENDER TABELLE IM CONTENT */


#bunderslaender-liste .list-group-item {
   background-color: #1e3341 !important;
   padding-left: 10px !important;
}

#bunderslaender-liste .list-group-item a {
   color: white !important;
   transition: background-color 0.3s ease !important;
}

#bunderslaender-liste .list-group-item a:hover {
   background-color: #273e4e !important;
   color: white !important;
}




/* CONTENT ANPASSUNGEN */



.custom-image {
    max-width: 150px;
    margin: 10px 0 20px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}


.content-image {
    max-width: 300px;
    float: left;
    margin: 10px 20px 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

@media (max-width: 576px) {
    .content-image {
        max-width: 100%;
        float: none;
        margin: 10px 0;
    }
}



/* LOCATION ICON */


.location-icon {
    color: #324c5d; /* Use your specific color */
    margin-right: 0.25rem; /* Equivalent to Bootstrap's me-1 */
}




/* SMALL CITY BUTTON */



.btn-city {
    text-transform: uppercase;
    background-color: #324c5d;
    color: #ffffff !important;
    border-color: #324c5d;
    border-radius: 0.25rem;
    font-size: 1rem;
    padding: 0.25rem 0.625rem;
    margin: 0.125rem;
    transition: background-color 0.2s ease, color 0.2s ease;
	text-decoration: none !important;
}

.btn-city:hover {
    background-color: #273e4e !important;
    color: #ffffff !important;
    border-color: #273e4e !important;
}







/* SCROLL TO TOP BUTTON */


#scrollTopBtn {
    z-index: 99;
    width: 40px;
    height: 40px;
    padding: 0;
    transition: all 0.3s;
}



/* FOOTER */


footer {
	background-color: #445f71 !important;
}


footer .footer-title {
	color: #ffffff !important;
	font-size: 23px;
	font-weight:500;
}

@media (max-width: 992px) {
    footer .footer-title {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    footer .footer-title {
        font-size: 20px;
    }
}



footer .hover-light:hover {
   color: rgba(255,255,255,0.8) !important;
}

footer .vr {
   border-left: 2px dotted rgba(255,255,255,0.5);
   height: 15px;
   width: 1px;
}





.btn-link {
    color: #324c5d;
    text-decoration: none;
    padding: 0;
}

.btn-link:hover {
    color: #273e4e;
}


