.b-team-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin: 60px 0;
}

/* DESKTOP GRID */
.b-team-desktop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 40px;
}

.b-team-mobile {
  display: none;
}

/* IMAGE STYLE */
.b-team-image {
  width: 100%;
 min-height: 550px;
  max-height: 650px;
  border-radius: 0px;
  overflow: hidden;
}

.b-team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* CONTENT */
.b-team-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  max-width: 650px;
}

.b-team-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
	padding-bottom:10px;
	  border-bottom: 2px solid #ded7cb;
}


.b-team-business-title {
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #777;
  margin-bottom: 1rem;
  font-size: 0.95rem;
	
}

.b-team-text {
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
	font-size:18px;
}

.b-team-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.b-team-button {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #ccc;
  border-radius: 0px;
  text-decoration: none;
  font-size: 0.9rem;
  color: #222;
  transition: all 0.3s ease;
}

.b-team-button:hover {
  background-color: #0a2239;
  border-color: #0a2239;
  color: #fff;
}

/* MOBILE BEHAVIOR */
@media (max-width: 900px) {
  .b-team-desktop {
    display: none;
  }
  .b-team-mobile {
    display: flex;
    flex-direction: column;
   /* text-align: center;*/
  }

  .b-team-image {
    height: 350px;
	  max-height:350px;
	   min-height:350px;
  }
	
	.b-team-name { 
	 text-align: left;
	}

  .b-team-content {
 /*   align-items: center;*/
    padding: 20px;
  }

  .b-team-buttons {
    justify-content: center;
	  flex-wrap: nowrap;
	 
  }
	
	  .b-team-button {
font-size:12px;
	 
  }
	
	
.b-team-buttons {
  display: block;

}
	
	
	.b-team-button {
	width:100%;
		display:block;
		margin-bottom:5px;
	}
	
	
}

.fa-envelope, .fa-phone { 
margin-right:5px;
	font-size:inherit;
}






/*PRICING ------------------------------------- */


/* =============================
   HORIZONTAL PRICING TABLE
   ============================= */

.horizontal-pricing-table {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: 40px 0;
}

/* Card wrapper */
.pricing-card {
    display: flex;
    align-items: stretch; /* equal height columns */
    gap: 25px;
    background: #ffffff;
    border-radius: 0px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

/* =============================
   LEFT COLUMN (IMAGE)
   ============================= */
.pricing-card-left {
    width: 33%;
    display: flex; /* ensures equal height with right column */
}

.pricing-card-left img {
    width: 100%;
    height: auto;          /* keep natural proportions */
   /* max-height: 100%;  */    /* do NOT exceed card height */
    object-fit: cover;     /* crop nicely */
    border-radius: 0px;
    display: block;
	max-height: 500px;
}

/* =============================
   RIGHT COLUMN (TITLE + TEXT)
   ============================= */
.pricing-card-right {
    width: 67%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical alignment */
    min-height: 280px;        /* ensures visual balance */
}

.pricing-card-right h3 {
    font-size: 24px;
    margin: 0 0 12px 0;
    font-weight: 700;
    color: #13394f;
}

.pricing-card-right .paket-text {
    font-size: 16px;
    color: #13394f;
    line-height: 1.6;
}

/* =============================
   PRICE BADGE (top right)
   ============================= */
.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 18px;
    background-image: linear-gradient(132deg, #0b2b41 0%, #0b2b41 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 0px;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* =============================
   HOVER
   ============================= */
.pricing-card:hover {
    transform: translateY(-3px);
    transition: 0.25s ease;
    box-shadow: 0px 6px 25px rgba(0,0,0,0.1);
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 900px) {
    .pricing-card {
        flex-direction: column;
    }

    .pricing-card-left,
    .pricing-card-right {
        width: 100%;
    }

    .pricing-card-left {
        height: auto !important;
		    
    }

    .pricing-card-left img {
        width: 100%;
        height: 300px;    /* fallback for mobile */
        max-height: none;
		
    }

    .pricing-card-right {
        min-height: auto;
        padding-top: 15px;
    }

    .price-badge {
        right: 15px;
        top: 15px;
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 600px) {
    .pricing-card {
        padding: 15px;
    }

    .pricing-card-right h3 {
        font-size: 20px;
    }

    .pricing-card-right .paket-text {
        font-size: 15px;
    }
}


.paket-anfrage { 
 color: #fff!important; /* Change button text color here */
    background-color: #13394f!important; /* Change button background color here */
    font-size: 14px!important; /* Change text size here */
    border-radius: 0px!important; /* Set this to 0px if you want a square CTA button */
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    text-align: center;
    line-height: 9px;
    font-weight: 600;
    padding: 18px 16px!important;
    text-transform: uppercase;
    display: block;
    padding-left: 32px!important;
    padding-right: 32px!important;
    border: 1px solid #13394f;
	margin-top:15px;
	display:inline-block;
}


/*IMMO SERVICES */


/*IMMOBILIEN */


/* CSS for immobilien asortiman */


/* Grid layout for tablet */
@media screen and (max-width: 768px) {
    .immobilien-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .immobilien-grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
   .immobilien-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
   .immobilien-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* CSS for the walls grid */
.immobilien-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.immobilien-grid-2 { 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}


/* Grid item */
.immobilien-grid-item {
    position: relative!important;
    background-size: cover!important;
    background-position: center!important;
    height: 400px!important;
    min-height: 400px!important;
    border-radius: 0px;
    cursor: pointer;
}

.immobilien-grid-item:hover {
    transform: scale(1.0);
    background-color: rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, background-color 0.3s ease;
}


/* Overlay */
.immobilien-grid-overlay {
    position: absolute!important;
    top: 0!important;
    left: 0!important;
    width: 100%!important;
    height: 100%!important;
    background-color: rgba(0, 0, 0, 0.35)!important;
    display: flex!important;
    flex-direction: column!important;
    justify-content: center!important;
    align-items: center!important;
    padding: 20px!important;
    color: #000!important;
    border-radius: 0px;
}

.immobilien-grid-content {
    padding: 20px;
    padding-top: 12%!important;
    padding-right: 24px!important;
    padding-bottom: 12%!important;
    padding-left: 24px!important;
    min-height: 400px;
    border-radius: 0px;
}

.immobilien-grid-content:hover {
    box-shadow: 0px 20px 60px -6px rgba(0,0,0,0.3);
    transform: scale(1.01);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}


/* Titles */
.immobilien-grid-title {
    font-size: 25px;
    margin-bottom: 10px!important;
    color: #fff!important;
    text-align: center;
    font-weight: 700;
}

.immobilien-grid-title-2 {
    font-size: 20px;
    margin-bottom: 10px!important;
    color: #fff!important;
    text-align: center;
    font-weight: 700;
}

h3.immobilien-grid-title2 {
    font-size: 20px;
    margin-bottom: 10px!important;
    color: #fff!important;
    text-align: center;
    font-weight: 700;
}


/* Button */
.immobilien-grid-button {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    border-radius: 0px;
    text-align: center;
    font-size: 16px;
    min-width: 80%;
	color: #13394f!important;

    /* UPDATED COLORS */
   
	 background-color: #ded7cb;
    color: #ded7cb;
    border: 1px solid #ded7cb;
}

.immobilien-grid-button:hover {
    background-color: #13394f;
    border-color: #13394f;
    color: #fff!important;
	
	
}


/* Mobile */
@media (max-width: 768px) {
    .immobilien-grid {
        grid-template-columns: 1fr!important;
    }
}


/* Excerpt */
.immobilien-excerpt { 
    color: #fff;
    text-align: center;
    font-size: 14px;
    min-height: 80px;
}

.immobilien-content { 
    text-align: center;
}

.immobilien-icon { 
    width: 50px;
    margin-bottom: 10px;
}


/* Hover states */
.immobilien-grid-button {
 /*   display: none;*/
}

.immobilien-grid-item:hover .immobilien-excerpt {
    display: block;
}

.immobilien-grid-item:hover .immobilien-grid-button {
    display: block;
}

.immobilien-grid-item:hover .immobilien-grid-title {
    color: #fff!important;
    font-size: 22px;
}

.immobilien-grid-item:hover .immobilien-excerpt {
    color: #fff!important;
}















.einsatzgebiete-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.einsatzgebiete-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    border-top: 1px solid rgba(19, 57, 79, 0.15);
    border-bottom: 1px solid rgba(19, 57, 79, 0.15);
    text-decoration: none;
    transition: 0.3s ease;
}

.einsatzgebiete-item:hover {
    background: rgba(19, 57, 79, 0.03);
}

.einsatzgebiete-content {
    flex: 1;
}

.einsatzgebiete-title {
    font-size: 1.2rem;
    color: #13394F;
    margin: 0 0 8px;
    font-weight: 700;
}

.einsatzgebiete-excerpt {
    margin: 0;
    color: #13394F;
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.4;
}

.einsatzgebiete-arrow svg {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

.einsatzgebiete-item:hover .einsatzgebiete-arrow svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .einsatzgebiete-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .einsatzgebiete-arrow {
        margin-top: 10px;
    }
}



@media (max-width: 768px) {
    .einsatzgebiete-item {
        flex-direction: row;          /* Keep title+excerpt left, arrow right */
        align-items: center;
    }

    .einsatzgebiete-content {
        max-width: 80%;               /* Prevent overlap */
    }

    .einsatzgebiete-arrow {
        margin-left: auto;            /* Push arrow to the far right */
    }
}

























/* GRID WRAPPER */
.immo-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .immo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .immo-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.immo-card {
    display: block;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 3px 14px rgba(0,0,0,0.1);
    transition: transform .25s ease, box-shadow .25s ease;
}

.immo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

/* IMAGE */
.immo-card-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* BADGE TOP-RIGHT */
.immo-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 14px;
    background: #ded7cb;
    color: #13394f;
    font-weight: 700;
    font-size: 14px;
    border-radius: 0px;
    z-index: 15;
}

/* BODY */
.immo-card-body {
    padding: 18px 20px;
}

.immo-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* LOCATION */
.immo-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #13394f;
    margin-bottom: 14px;
}

.immo-card-location i {
    color: #ded7cb;
}

/* PRICE + SIZE ROW */
.immo-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.immo-card-price {
    font-weight: 700;
    color: #13394f;
    font-size: 18px;
}

.immo-card-size i {
    margin-right: 4px;
    color: #13394f;
}

.immo-card {
    position: relative; /* FIX: Makes badge stay inside the card */
}





.immo-load-more {
    display: block;
    margin: 40px auto 0;
    padding: 14px 28px;
    font-size: 18px;
    border-radius: 8px;
    background: #13394f;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}

.immo-load-more:hover {
    background: #0b2b41;
}


















.immobilien-grid-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.35) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    color: #000 !important;
    border-radius: 0;
    border: 2px solid #fff; /* Outer border */
    position: relative; /* Required for inner border */
}

/* INNER BORDER */
.immobilien-grid-overlay::before {
    content: "";
    position: absolute;
    top: 20px;    /* distance from top */
    left: 20px;   /* distance from left */
    right: 20px;  /* distance from right */
    bottom: 20px; /* distance from bottom */
    border: 2px solid #fff; /* Inner border */
    pointer-events: none; /* so clicks still work */
    border-radius: 0;
}
