
/**************
CSS für MBGV
Author: Andy Henzi
Datum: 25.09.2025
************************/


@font-face {
    font-family: "pantonregular";
    src:url("/files/cto_layout/fonts/panton-regular-webfont.woff2") format("woff2"),
      url("/files/cto_layout/fonts/panton-regular-webfont.woff")  format("woff");
    font-weight: normal;
    font-style: normal;
	font-display:optional;  

}


@font-face{
  font-family:"pantonbold";
  src:url("/files/cto_layout/fonts/panton-bold-webfont.woff2") format("woff2"),
      url("/files/cto_layout/fonts/panton-bold-webfont.woff")  format("woff");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"pantonlight";
  src:url("/files/cto_layout/fonts/panton-light-webfont.woff2") format("woff2"),
      url("/files/cto_layout/fonts/panton-light-webfont.woff")  format("woff");
  font-weight:300;
  font-style:normal;
  font-display:swap;
}


@font-face{
  font-family:"pantonsemibold";
  src:url("/files/cto_layout/fonts/47a8ea40a6adb66d377bd4931fa3e394.woff2") format("woff2"),
      url("/files/cto_layout/fonts/47a8ea40a6adb66d377bd4931fa3e394.woff")  format("woff");
    font-weight:normal;
    font-style:normal;
    font-display:swap;
}

/**************
FARBEN
dunkelgrau: #142c0f
hellblau Layout: #DEEFF2
dunkelblau: #BB4928
ziegelrot: #B53813
ziegelrothell: #BB4928
apricot: #FFEEDB
hellgrau: #EFF3F7
senf: #E1CB36
************************/

/*******************
ALLGEMEIN
*******************/


html, body {
    font-family: "pantonregular";
	font-size: 18px;
    font-weight: 500;
	hyphens: auto;
	line-height: 26px;
	color: black;
	}

p {
	font-size:18px;	
	line-height: 26px;
	letter-spacing: 0.2px;
	hyphens: auto;
} 

p a {
  color: #BB4928;
}


.ziegelrot p, p.ziegelrot 
{
	color: #B53813;
	font-size: 22px;
	line-height: 30px;
	margin-bottom: 1.35rem;
}
.lead {
  	font-size: 22px;
    font-family: "pantonregular";
}
@media only screen and (max-width: 768px){
	.lead p, .lead.bold{
		font-size:18px;
		line-height: 25px;
	}
}

.bold{
  
  font-family:"pantonregular";
  font-weight: 700;
}

hr {
    border: 1px solid #aaa;
    margin-bottom: 1rem;
    margin-top: -0.4rem;
    padding: 0;
}
.mietobjekte-rot{color:#BB4928;font-family:"pantonregular"; font-weight:700;}
.mietobjekte-black{color:#000000;font-family:"pantonregular"; font-weight:700; } 

.header.original .mainmenu ul li a.trail, .header.original .mainmenu ul li a.active, .header.cloned .mainmenu ul li a.trail, .header.cloned .mainmenu ul li a.active, .mod_pct_megamenu .mod_navigation a.active{color: #BB4928;} 




strong {
	font-weight: bold;
}

h1 {
	font-family: "pantonlight";
	hyphens: auto;
}



h2, h3, h4, h5, h6, .h2, .h3, .h4, .h5, .h6, .ce_revolutionslider_text.bold{
	font-family:"pantonregular"; font-weight:700;

}

.mittel h2, h2.mittel, .mittel h3, h3.mittel, .mittel h4, h4.mittel  {
	font-family:"pantonregular"; font-weight:700;
	font-size: 22px;
	margin-bottom: 5px;
	line-height: 30px;
}

.klein h2, .klein h3 {
	font-family:"pantonregular"; font-weight:700;
	font-size: 18px;
	margin-bottom: 0px;
	line-height: 24px;
}




.links p  {
	margin-top:10px;
	line-height: 15px;
}



.links p a {
	color: #BB4928;
	line-height: 25px; 
}

.links p a:hover {
	color:rgba(58,158,190,0.72);
	
}

.back {
    padding-top: 10px;
    margin-top: 40px;
    border-top: 1px solid #ddd;
    overflow: hidden;
    margin-left: 0;
    width: 100%;
    float: none;
    position: relative;
    clear: both;
}

/**************************
HEADER
**************************/

#fix-wrapper {
  margin-top: 30px;
} 

#top-wrapper,
#top,
.mod_navigation.top_metanavi {
  position: relative;
  z-index: 1001;
}
header.header {
	position: relative; /* oder deine bestehende Positionierung */
	z-index: 1000;      /* darunter halten */
	line-height: 40px !important;
	padding-top: 27px;
	height:70px;
}



#top, #top .inside {
  background-color: transparent;
}
#top-wrapper {
	max-width: 1170px;
}
#top-wrapper #top .inside {
    padding-top: 0px !important;
    padding-bottom: 34px !important;
	padding-left: 40px;
    padding-right: 40px;
    float: left;
	margin-left: 387px;
	margin-right: auto;    
	width:100%;
}

.mod_navigation.top_metanavi.block {
    float: left;
    
}
#contentwrapper{
	margin-top:0 !important;
}
#container {
  background: transparent;
}
#main .mod_article.banner {
    position: relative;
    margin-top: 40px;
}

.banner {
	background-repeat: no-repeat;
	}
.banner.ce_image{
	margin-bottom:2rem;
}

#top-wrapper, #header {
  background-repeat: repeat-y;
	background: transparent;
}

.logo a {
  margin-top: -47px;
	  margin-left: -40px;
}


#stickyheader .logo a {
  margin-top: -27px;
  margin-left: -40px;
}

#stickyheader .logo {
  width: 150px;
  height: 70px;
}
#stickyheader .mainmenu li > a.a-level_1 > span {
    top: 5px;
    position: relative;
}
@media (min-width: 1024px) {
	#stickyheader .logo a {
		margin-top: -12px;
		margin-left: -0;
		width: 255px;
}
	
}

/**************************
NAVIGATION
**************************/

.mainmenu {
    float: left;
    margin-left: 391px;
    margin-top: -10px;
    width: 740px;
}
.mainmenu ul{
	text-align: left;
}

.mainmenu ul ul {
  border-top: 1px solid #fff;
} 
.mainmenu ul li {
    margin-left: 26px;
    margin-right: 26px;
}

.mainmenu ul li a {
	font-family: "pantonregular";
	font-size: 18px;
	color: black;
}

.mainmenu ul ul li a:hover:not(.menuheader):not(.megamenu) {
  background-color: #ffffff !important;
  font-weight: bold;
  color:black;
}

.mainmenu ul ul li.first {
  border-top: 2px solid #00000029;
}

.mainmenu ul ul li a {
  padding: 0 0.6rem !important;
  font-size: 18px;
  border-bottom: 2px solid #00000029;
}
.mainmenu li.level_2 {min-width:190px; }

.vlist .level_2 {
	padding: 0;
	width: inherit;
	transition: max-height 0.3s ease; /* Dauer & Timing */
}
.header .mainmenu ul ul li a:hover span:before{transform:none;}
.header .mainmenu ul ul li a span:before{background:none;}
.header .mainmenu ul ul li a.active span:before, .header .mainmenu ul ul li a.trail span:before {
    background-color: inherit;
}
/*METANAVI*/

#top .top_metanavi li {
  margin-right: 56px;
}

#top .top_metanavi a:hover {
  color: #BB4928;
}
#top .mod_navigation.top_metanavi .level_1 li:nth-child(3) {
  margin-right: 69px;
}
#top .mod_navigation.top_metanavi .level_1 li:nth-child(4) {
  margin-right: 63px;
}
@media (min-width: 1025px) and (max-width: 1350px) {
	.mainmenu {
		margin-left: 37%;
		}
	#top-wrapper #top .inside {
  		margin-left: 34.2%;
 	}
}
@media (min-width: 1025px) and (max-width: 1129px) {
	.mainmenu ul li {
    margin-left: 19px;
    margin-right: 19px;
}
#top .top_metanavi li {
    margin-right: 38px;
}
#top .mod_navigation.top_metanavi .level_1 li:nth-child(3) {
    margin-right: 58px;
}
#top .mod_navigation.top_metanavi .level_1 li:nth-child(4) {
    margin-right: 49px;
}
}

/* NEWS */
.newsreader .info {
    background: #e0ca3838;
    padding: 10px 20px;
}
.newsreader .date:before {
    font-family: "pantonregular";
    content: "Erstellt am ";
    margin-right: 0;
}
/* Submenüs standardmäßig verstecken */
#mmenu .vlist.level_1 > li > ul.level_2 {
  display: none;
}

/* Submenü zeigen, wenn Eltern-<li> Fokus oder Hover hat */
#mmenu .vlist.level_1 > li:focus-within > ul.level_2,
#mmenu .vlist.level_1 > li:hover > ul.level_2 {
  display: block;
}
#mmenu .mod_navigation li a {
    line-height: 32px;
    font-size: 1.1rem;
    }
#mmenu .mod_navigation li li a {
    line-height: 28px;
    font-size: 1.05rem;
}
#mmenu .vlist .level_2 {
    margin-left: 1rem;
}
/* LOGIN */
.mod_login {
    padding: 0;
    margin: 0;
   
}
/* NEWS LIST */
.mod_newslist .newslist {
    border-bottom: 1px solid #ddd;
    margin-bottom: 3.5rem;
}
.mod_newslist .h2 a {
    font-size: 1.18rem;
    font-weight: 500;
	margin-bottom:0;
}
.newslist span.news-date:before {
    content: "Erstellt am";
    display: inline-block;
    position: relative;
}
.newslist .news-date {
    
    font-size: 0.95rem;
    top: -0.4rem;
    position: relative;
}
.newslist .teaser {
    padding: 10px 0 10px 0;
    margin-top: 0;
	border-top:none;
    font-size: 1.1rem;
}
.newslist .link {
    font-weight: 400;
	display:flex;
  }
.mod_newslist .h2 a:hover,
.newslist .link a:hover{
	text-decoration:underline;
	
}
/* Bildbeschreibung*/
.image_container .caption {
    background: #E0CA3838;
    color: #333;
    padding: 8px 12px 6px;
    font-size: 0.9em;
    border-radius: 0px;
    line-height: 1.3;
    display: inline-block;
    margin-top: 5px;
	max-width: 280px
}
.ce_text .image_container.float_right, .ce_text .image_container.float_left {
    width: auto;
    display: inline-grid;
	}
/*******************
PRIVACY BOX
*******************/

.mod_privacy_optin_slim .privacy_inside {
  color: #000;
  background: #fff;
  width: 100%;
  padding: 30px;
  border-left: 100px solid #E0CA3838; 
  border-top: 50px solid #E0CA3838;	
  padding-bottom: 40px; 
}

.mod_privacy_optin_slim * {
  font-family: pantonregular, sans-serif;
  line-height: 30px;
  font-size: 22px;
  box-sizing: border-box;
}




/*******************
SOCIALS
*******************/

#top .mod_socials a i {
	width: 25px;
	font-size: 20px;
	line-height: 27px;
	height: 25px;
	border-radius: 4px;
	margin-top: 12px;
}

#footer .mod_socials a i {
	width: 35px;
	font-size: 23px;
	line-height: 21px;
	height: 35px;
	border-radius: 4px;
	margin-top: 0px;
	padding: 5px;
}

i.fa-linkedin {
    background: #C1C1C1 !important;
    color: rgb(255,255,255) !important;
}
.top-link {

    background-color: #e1cb36;
}
.top-link .progress-ring circle {
    stroke: #fff;
}


/* DOWNLOAD ELEMENT*/
.ce_downloads a:hover {
   color: #BB4928; 
}


/*******************
STARTSEITE
*******************/

/*SLIDER*/
.tp-bannertimer {
	display: none;
}



/*BUTTONS*/
.ce_hyperlink-extended.wide a,
.ce_customlink.content-button a, 
input.submit, button.submit {
    padding: 12px 20px 12px 20px;
	color: #fff;
	border: none;
	font-size: 22px !important;
	font-family:"pantonregular"; font-weight:700;
    background: #E1CB36;
    text-align: left !important;
	border-radius: 0;
}
.ce_customlink.content-button.himmelblau a{
	background: #deeff2;
	color: black;
}
input.submit, button.submit {
	padding: 10px 30px 12px 30px;
    color: #fff !important;
}
.ce_hyperlink-extended.wide a{
	width: 100%;
}
.ce_hyperlink-extended.wide.startseiten_link_mbgv a {
	background: rgba(222,239,242,1);
	color:black !important;
	font-weight: 400;
	font-family: "pantonregular";
}
.ce_hyperlink-extended.wide a:hover,
.ce_customlink.content-button a:hover {
	opacity: 0.8;
    }
img.hyperlink-pfeil {
    
    float: right;
    top: 5px;
    position: relative;
}

/*MOBILE LINKS DEINSTLEISTUNGEN*/

.mod_customnav .mlist {
	border-bottom: 1px solid #707070;
}

.mod_customnav .mlist a {
	color: #000;
}


/*PARTNER GESUCHT UND MIETANGEBOT*/

.partner{
	padding: 25px 15px 0px 28px;
	margin-bottom: 15px;
}


.mietangebot,
.aside-mietangebot{
	background: #BB4928;
	padding:0;
	margin-bottom: 15px;
	transition: background-color 0.2s ease;
}

.bgblau {
	background: #EFF3F7;
}
.bgsenf{
	background: #E1CB36;
	
}


.partner h4 a, .mietangebot h4 a,
.aside-mietangebot h4 a{
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 22px !important;
}

.partner p, .partner a {
	font-size: 18px !important;
	color:#000;
}



.mietangebot a, .mietangebot p,
.aside-mietangebot p{
	font-size: 18px !important;
	color: #fff !important; 
} 


.mietangebot:hover, .partner:hover,
.aside-mietangebot:hover{ 
	background: #BB492888;
}

.aside-mietangebot .startseite-text-mietpobjekte{padding-bottom: 0;}
.aside-mietangebot a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 25px 15px 10px 30px;
  
}
h4.startseite-heading-mietpobjekte {
    font-family:"pantonregular"; font-weight:700;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.22px;
    margin-bottom:10px;
    color:white;
}

.aside-mietangebot{
  position: relative;           /* für das ::after-Icon */
 }

/* SVG als Deko-Element einblenden */
.aside-mietangebot::after {
    content: "";
    position: absolute;
    right: -131px;
    top: -32px;
    width: 218px;
    height: 296px;
    background: url(/files/cto_layout/Bilder_Dokumente/Illustrationen/MBG_Schluessel.gif) no-repeat center;
    background-size: contain;
    opacity: .9;
    pointer-events: none;
    z-index: 5;
}



/* Hover bleibt wie gehabt */
.aside-mietangebot:hover{ opacity:.8; }





iframe {
    width: 1px;
    min-width: 100%;
  }
  .homegate_iframe {
    margin-top: -3rem;
}

/*******************
DIENSTLEISTUNGEN
*******************/

/*IMAGE MAP*/
.hotspot_content.center, .hotspot_content.left, .hotspot_content.right{
     background: #DDF5F9;
}

.hotspot a {
	color: #BB4928;
}



/*AKKORDEON*/

.ce_accordion {
    margin-bottom: 6px;
    border: none !important;
}

.ce_accordion .accordion {
  padding: 20px 20px 20px 84px;
  border: 0;
  background: none;

}

.ce_accordion .toggler:hover, .ce_accordion .toggler.ui-state-active {
  color: #fff; 
	background: #BB4928;
}


.ce_accordion .toggler {
    padding: 10px 20px;
    margin-bottom: 0;
    background: #DDF5F8;
	font-size: 22px;
	font-family:"pantonregular"; font-weight:700;
}

.ce_accordion .toggler::before {
    float: left;
    margin-left: 6px;
 }


.ce_accordion .toggler.ui-state-active::before {
	content: url("../../cto_layout/Bilder_Dokumente/Illustrationen/Pfeil_toggler_weiss.svg");
	height: 20px;
	width: 42px;
	line-height: 24px;
}

.ce_accordion .toggler::before {
	content: url("../../cto_layout/Bilder_Dokumente/Illustrationen/Pfeil_toggler_schwarz.svg");
	height: 20px;
	width: 42px;
	line-height: 24px;
}


.ce_accordion .toggler::before {
    color: #142c0f;
	font-size: 50px;
	margin-right: 25px;
	margin-bottom: 18px;
}


/*******************
TEAM UND FILTER (PORTFOLIO)
*******************/

.ce_teambox {
flex: 0 0 calc((100% / 12) * 12);
max-width: calc((100% / 12) * 12);
padding-left: 0px;
padding-right: 20px;
flex-basis: 1;
flex-grow: 1;
width: 100%;
position: relative;
box-sizing: border-box;	
}

#filtermenschen .ce_teambox {
flex: 0 0 calc((100% / 12) * 3);
  flex-grow: 0;
max-width: calc((100% / 12) * 3);
}



.ce_teambox .name {
  font-size: 18px;
  color: #BB4928;	
  margin-top: 15px;
}

.ce_teambox .function {
  color: #000;
	margin-bottom: 0px;
	hyphens:manual;
	margin-bottom: 15px;
}

.ce_teambox p a, 
.ce_teambox .email a{
  color: #000;
}

.ce_teambox p a:hover, 
.ce_teambox .email a:hover {
  color: #BB4928;
}

.ce_teambox .socials {
   display: none;
}

.teamkontakt a {
	color: #142c0f;  
}

.teamkontakt a:hover { 
color: #BB4928;
}

.button {
  display: inline-block;
  padding: 0 28px 0 0;
  background: #fff;
  font-family: sans-serif;
  font-size: 18px;
  cursor: pointer;
  color: #959595;
	font-family: "pantonregular" !important;
}

.button.is-checked {
  color: #BB4928;
} 

.button:hover:not([type="submit"]), textarea:hover {
  border: none;
  color: #BB4928;
}

.ce_teambox .image {
  text-align: center;
  max-width: 300px;
}



/*******************
FORMULAR
*******************/

form fieldset {
  padding: 10px;
  margin-top: -8px;	
  border: 0px solid rgba(0,0,0,.2);
	display: block ruby;
}

form .widget-radio span {
  margin-right: 20px;
}

textarea:hover {
  border: 1px solid rgb(153,153,153);
  color: #BB4928;
}

button.submit[type="submit"] {
  font-size: 18px;
  font-weight: 200;
  color: #000;
}

button.submit[type="submit"]:hover {
 	background: #E0CA3838;
	color: black !important;
	opacity:1;
}
form fieldset legend {
    width: auto;
    background:none;
	padding:0;
    color: #000;
    border-radius: 0;
	font-family:"pantonregular"; font-weight:700;
	margin-bottom:1rem;
}


input.floatlabel, input.text {
    margin-top: 1rem;
}

/*******************
STELLE
*******************/

.stelle {
	border-bottom: 1px solid #142c0f;
	padding-bottom: 30px;
}




/*******************
PRIVACY OPT-IN
*******************/

.mod_privacy_optin_slim .privacy_button a {
  background: #BB4928;
}



/*******************
FOOTER
*******************/

#footer {
  margin-top: 40px;
  background: #E0CA3838;
}
#footer, #footer a {
	color: #666666;
}

#footer p {
    line-height: 25px;
}

.imprint a {
    font-weight: 800;
}






/****************************
SCREENS
***************************/

/* On screens that are 650px*/
@media screen and (max-width: 1025px) {

.column[class*="col_"] {
  margin-bottom: 5px;
}	
	
.dunkelblau p 
{
	color: #BB4928;
	font-size: 18px;
	line-height: 30px;
}
	
	
.mod_privacy_optin_slim .privacy_inside {
  padding-bottom: 40px;
}	
	
	
	
#fix-wrapper {
  margin-top: 0px;
}
	 
	
#top-wrapper, #header {
  background: #E1CB36;
}

#mmenu #mmenu_middle {
  padding: 20px 20px 20px 20px;
 }	
	
body.fixed-header .header.cloned {
 background: #E1CB36;
}	
#mmenu .mod_mmenu_custom_nav a {
    display: inline-block;
    margin-right: 20px;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    float: left;
    margin-left: 6px;
}	
	
/*BANNER	*/
.banner img {
  display: block;
  min-width: 190%;
  margin-left: -220px;
  margin-top: -10px;
  image-rendering: crisp-edges;
}
	
/*BANNER	ENDE */
	
	
	
	
.mmenu_trigger .burger {
  height: 30px;
  width: 30px;
  position: relative;
  font-size: 7px;
  cursor: pointer;
  transition: .2s all;
  right: 10px;
}

.mmenu_trigger .burger .burger_lines, .mmenu_trigger .burger .burger_lines::after, .mmenu_trigger .burger .burger_lines::before {
   height: 3px;
}

#top .mod_socials a i {
 display: none	;	
}
	
.stickyheader .header.cloned .inside, .header .inside {
  height: 40px !important;
}
	
	
#stickyheader .logo a {
margin-left: 0px;
width: 100px;
margin-top:-16px

}

#stickyheader .logo {
  width: 50px;
  height: 70px;
}

#mmenu #mmenu_bottom {
  background: #E0CA3838;
  padding: 0px 20px 5px 20px;
 }	
	
	
.banner {
background: transparent;
margin-bottom: -40px;
margin-top: 10px;

	}
	
	.hellblau {
		background: #DEEFF2;
		padding: 20px;
		margin-bottom: 4px;
	}		
	
	
h1, .h1, .h1 p {
line-height: 34px;
font-size: 25px;
font-weight: bold;
}	

/* NEWS LIST */
.newslist .link{
    font-weight: 400 !important;
    
}
.newslist .link:before {
    color: #BB4928;
	font-weight: 400;
}
.newslist h2, .newslist .h2, .newslist h2 a, .newslist .h2 a {
    line-height: 1.3em;
}
.newslist .teaser {
    padding: 20px 0 10px 0;
   }


/*AKKORDEON*/
.ce_accordion .accordion {
  padding: 20px 20px 20px 20px;
 }	
	
.ce_accordion .toggler {
  font-size: 18px;
 }
	
.ce_accordion .toggler::before {
  float: right;
  margin-left: 6px;
}	

.ce_accordion .toggler::before, .ce_accordion .toggler.ui-state-active::before {
  height: 27px;
  width: 27px;
  line-height: 18px;
	margin-right: 0;
}	

	 
/*TEAM*/	
	
.ce_teambox {
flex: 0 0 calc((100% / 12) * 12);
flex-grow: 0;
max-width: calc((100% / 12) * 12);
padding-left: 0px;
padding-right: 0px;	
}	


	
#filtermenschen .ce_teambox {
flex: 0 0 calc((100% / 12) * 12);
  flex-grow: 0;
max-width: calc((100% / 12) * 12);
}	
	
	
	.button-group {
		text-align: center;
	}	
	
		
	
}

.teambox_content .email {
    display: none;
}
.show_email .teambox_content .email {
    display: block;
}




/*FUER TABLET*/


@media only screen and (max-width: 1300px) and (min-width: 768px)  {
.smartmenu .smartmenu-trigger {
	width: 35px;
	position: absolute;
	z-index: 100;
	transition: All 0.3s ease;
	-webkit-transition: All 0.3s ease;
	cursor: pointer;
	right: 17px;
	top: -19px;

}
	 
	
#top-wrapper #top .inside {
  margin-right: 50px;
}	
	
	
	
.logo a {
  margin-top: -27px;
  margin-left: 0px;
	width: 280px;
}	
	
.banner img {
  margin-top: 20px;
}

	
#filtermenschen .ce_teambox {
  flex: 0 0 calc((100% / 12) * 3);
    flex-grow: 0;
  max-width: calc((100% / 12) * 6);
}
	
	
	
}


/* REferenz Detail*/
.referenz_detail_border_top{
	border-top: 0.5px solid #000;
}

.referenz-slider .swiper-button-next, .swiper-button-prev {
    margin-top: -35px;
}
p.referenzen-subheading {
    margin-top: 15px;
    margin-bottom: 0;
}

.ctlg_sidebar_item .referenz-sidebar-item p {
    margin-bottom: 6px;
    font-size: 18px;
}
.ctlg_sidebar_item .referenz-sidebar-item p a  {
    color: #142c0f;
}
.ctlg_sidebar_item .referenz-sidebar-item p a:hover  {
    color: #BB4928;
}
.referenz_detail_border_top ul {
    margin-left: 0;
    padding-left: 16px;
}
.referenz_detail_border_top ul li {
    padding-left: 12px;
}



/* Newsslider */

.news-slider-wrap { position: relative; margin-bottom: 15px; }


.news-card { position: relative; overflow: hidden; }
.news-card-media img { display:block; width:100%; height:auto; }


span.news-card-title.h2,
h2.news-slider-title{
    font-size: 22px;
    font-family: "pantonregular";
}


.news-card-meta{
  display:flex; align-items:end; justify-content:space-between; gap:.75rem;
  text-decoration:none; color:#fff; /* Text & Pfeil erben weiss */
  
}

.news-card-arrow{ display:inline-flex;     transition: transform .2s ease;
    top: -5px;
    position: relative;
}
.news-card-meta:hover .news-card-arrow{ transform:translateX(3px); }

/* Pfeil-Grösse und Farbe (erbt von .news-card-meta) */
.icon-arrow{ width:18px; height:23px; display:block; }
.icon-arrow polygon{ fill:currentColor; }

/* Swiper Dots */
.news-slider-wrap .swiper-pagination { position: static; margin-top:.5rem; text-align:left;  }
.news-slider-wrap .swiper-pagination-bullet { width:8px; height:8px; opacity:.4; }
.news-slider-wrap .swiper-pagination-bullet-active { opacity:1; }



/* Head mit Titel links, Dots rechts */
.news-slider-head{
  display:inline-block;
  align-items:center;
  margin-bottom:0;
}

/* Dots im Header optisch kompakt */
.news-slider-head .swiper-pagination {
    position: relative;
    margin: 0px 0 0 0;
    display: inline;
    align-items: center;
    top: -3px;
    max-width:88px; 
    width: auto;
    padding-right: 20px;
}

.news-slider-head .swiper-pagination-bullet{
  width:7px;
  height:7px;
  opacity:1;
  background: #707070;
}

.news-slider-head .swiper-pagination-bullet-active{
  opacity:1;
  background: #fff;
}




span.news-card-title.h2,
h2.news-slider-title{
    font-size: 22px;
    font-family: "pantonregular";
}
h2.news-slider-title{
  margin-bottom: 10px;
  padding: 6px 18px 0 30px;
  display: inline;
  color:#142c0f;
}
span.news-card-title.h2{
    
    color: white;
    line-height: 1.3em;
    font-family: "pantonregular";
    font-weight:700;
    letter-spacing: 0.22px;
    margin-bottom:0;
}
section.news-slider-wrap {
    background: #E0CA38;
    padding-top: 3px;
	transition: background-color 0.2s ease;
    
}
.news-slider-wrap:has(.news-card-media:hover),
.news-slider-wrap:has(.news-card-meta:hover) {
  background: #E0CA38CC; /* oder dein gewünschter Hintergrund */
}
.news-slider-wrap  a.news-card-meta{
  padding: 20px 20px 20px 30px;
}



/* NEWS-SLIDER: Titel links, Dots rechts, variabler Zwischenraum */
.news-slider-head{
  display: flex !important;
  align-items: center;
  justify-content: space-between; /* verteilt: links Titel, rechts Dots */
  width: 100%;
  gap: 0; /* Zwischenraum ergibt sich automatisch */
}

/* Titel darf den restlichen Platz nutzen */
.news-slider-title{
  margin: 0;
  flex: 1 1 auto;
  min-width: 0; /* verhindert unerwünschtes Überlaufen */
}

/* Dots ganz rechts; frühere Inline/Position-Styles übersteuern */
.news-slider-head .swiper-pagination{
  display: flex !important;
  align-items: center;
  margin-left: auto !important; /* schiebt ganz nach rechts */
  position: static !important;  /* kein top/relative nötig */
  flex-shrink: 0;               /* Dots nicht zusammendrücken */
}

/* (optional) etwas Abstand zwischen den Bullets */
.news-slider-head .swiper-pagination .swiper-pagination-bullet{
  flex: inherit;
}

/* Kleiner Screen: Dots in die nächste Zeile, wenn’s zu eng wird */
@media (max-width: 480px){
  .news-slider-head{ flex-wrap: wrap; }
  .news-slider-head .swiper-pagination{
    order: 2; width: 100%; margin-left: 0 !important; justify-content: flex-start;
  }
  .news-slider-title{ order: 1; }
}

/* UNsere Werte */
.unsere-werte-grafik{scale:1.05;}

/** SIEDLUNGEN **/

/* Filter */ 
.siedlungen-filter{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:0 0 1rem}
.siedlungen-filter .tab{padding:.5rem .9rem;border:1px solid #ddd;border-radius:0;text-decoration:none;font-weight:400; margin-bottom:1rem;color: #959595; font-family: "pantonregular";letter-spacing: 0.18px}
.siedlungen-filter .tab:hover{border-color: #B53813;color: #B53813}
.siedlungen-filter .tab.is-active{border-color: #333;color: #333}


@media (min-width: 1024px) and (max-width:1300px){
#main .mod_article.banner {
   margin-top: 8px;
   
}
}
@media (min-width: 768px) and (max-width:1024px){
#fix-wrapper {
    z-index: 10 !important;
}
#contentwrapper #slider {
	min-height: 20px !important;
	}
}
@media (max-width:768px){
#fix-wrapper {
    z-index: 10 !important;
}
#main .mod_article.banner {
   margin-top: 0;
   margin-bottom:-20px;
}
.banner img {
  display: block;
  min-width: 190%;
  margin-left: -24px;
  margin-top: -0;
}
}

@media only screen and (max-width: 1024px) {
    .smartmenu {
        display: none;
    }
}
@media only screen and (max-width: 767px) {
.mod_article.fullwidth .ce_swiper-slider-start {
    margin: 0;
    
}
}

/* WERTE */

.werte{
  position: relative;
  max-width: 640px;
  font-family: "pantonregular", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #142C0F;
  margin-top: -57px;
  display:none;
  margin-bottom: 3rem;
}

/* Kreis-Badge */
.werte__badge{
	
  
  right: 0;
  top: -10px;                       /* leicht nach oben wie im Bild */
  width: 140px;
  aspect-ratio:1 / 1;    /* Höhe = Breite */  
  border-radius: 50%;
  background: #E0CA38;;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  top:70px;
}
.werte__badge span{
  color: #142C0F;
  font-size: 24px;                  /* etwas größer als Liste – bei Bedarf anpassen */
  line-height: 1.15;
  font-weight: 400;
}

/* Liste */
.werte__list{
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #cfcfcf;
  max-width: 440px;                 /* damit der Kreis rechts „reinragt“ */
}
.werte__list li{
  border-bottom: 1px solid #cfcfcf;
}
.werte__list a {
    display: block;
    text-decoration: none;
    color: #142C0F;
    font-size: 18px;
    line-height: 18px;
    padding: 10px 0;
    transition: font-weight .15s ease;
}
.werte__list a:hover,
.werte__list a:focus{
  font-weight: 700;                 /* Hover fett */
  outline: none;
}

/* Responsiv – Badge wird kleiner und rückt darunter */
@media (max-width: 768px){
  .werte{
    display:block;
}
  .werte__badge{
	
    position: relative;
    margin: 0 0 1rem auto;          /* rechts ausrichten */
	width: 45%;
	aspect-ratio:1 / 1;    /* Höhe = Breite */
  }
  .werte__list{ max-width: 100%; }
}

/* Startseiten INtro Frei Mietobjekte */

/* ---------- Mobile Intro (bis ~640px) ---------- */
@media (max-width: 768px) {

  .mobileansicht.intro-startseite{
    position: relative;
    overflow: visible;
    /* Platz für überlappenden Schlüssel + Abstand zum folgenden Titel */
    min-height: 200px;
	aspect-ratio: 16 / 8.7;
    padding-bottom: 120px;
    
    width: 100svw; /* oder 100vw als Fallback */
    margin-left: calc(50% - 50svw);
    margin-right: calc(50% - 50svw);
    left: 0; right: 0;
  }

  /* Biene links oben */
  .mobileansicht.intro-startseite .startseiten-icon{
    position: absolute;
    left: -40px;
    top: 20px;
    width: 51vw;          /* skaliert mit der Breite */
    max-width: 240px;
  }
  .mobileansicht.intro-startseite .startseiten-icon img{
    display: block;
    width: 100%;
    height: auto;
  }

  /* Roter Banner rechts oben */
  .mobileansicht.intro-startseite .aside-mietangebot{
    position: absolute;
    right: 0;
    top: 20px;
    width: 58vw;          /* wie im Screenshot etwa 2/3 Breite */
    max-width: 360px;
    background: #BB4928;
    padding: 10px 16px 12px 16px;
    box-sizing: border-box;
    margin: 0;
    z-index: 2;           /* über Biene, unter Schlüssel */
    border-radius: 0;
	
	
  }
  .mobileansicht.intro-startseite .aside-mietangebot a{
    display: block;
    height: auto;
    padding: 0;
    text-decoration: none;
  }

  .mobileansicht.intro-startseite h4.startseite-heading-mietpobjekte{
    margin: 0;
    color: #fff;
    font-family:"pantonregular"; font-weight:700;
    font-size: clamp(18px, 5.2vw, 24px);
    line-height: 1.15;
    letter-spacing: 0.22px;
	padding-bottom: 6px;
  }

  /* Schlüssel rechts (Deko) – hängt über den Rand */
  .mobileansicht.intro-startseite .aside-mietangebot::after{
    content: "";
    position: absolute;
    right: -12vw;
        top: 3vw;
        width: 61vw;
    height: 62vw;
    background: url(/files/cto_layout/Bilder_Dokumente/Illustrationen/MBG_Schluessel.gif) no-repeat center / contain;
    opacity: .9;
    pointer-events: none;
    z-index: 1;
	transform: rotate(8deg);
  }

  /* Hover-Effekt auf Touch-Geräten neutralisieren */
  @media (hover: none){
    .mobileansicht.intro-startseite .aside-mietangebot:hover{ opacity: 1; }
  }
}



/* SEITE WERTE */
.ce_image.werte_icons_content.block {
    margin-top: -1rem;
    max-width: 290px;
    margin-bottom: 1rem;
}
.page_werte h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1rem;
    font-family: 'pantonregular';
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* AKKOREDEON */
.akkordeon_faq .handorgel__header {
    margin-bottom: 0.3rem;
}
.akkoredon_faq > h2{
	margin-bottom: 1rem;
	
}/* Kopf */
.akkordeon_faq .handorgel__header__button{
  position: relative;
  display: block;                 /* kein table mehr nötig */
  padding: 14px 22px 14px 86px;   /* 86px = Iconbreite + Abstand */
  font-size: 20px;
  
  color: black;
  font-family:"pantonregular"; font-weight:700;
  letter-spacing: .4px;
  background: #E0CA3838;
  line-height: 1.25;
}

/* Icon absolut platzieren */
.akkordeon_faq .handorgel__header__button::before{
  content: "";
  position: absolute;
  left: 22px;                     /* Abstand vom Rand */
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 25px;
  background: url("../../cto_layout/Bilder_Dokumente/Illustrationen/Pfeil_toggler_schwarz_mbg.svg")
              no-repeat left center / contain;
  transition: .2s transform ease;
}

/* geöffneter Zustand (anderes Icon/Oberfläche) */
.akkordeon_faq .handorgel__header--open.handorgel__header--opened .handorgel__header__button{
  background: #E1CB36;
  color: #fff;
  font-family:"pantonregular"; font-weight:700;
}
.akkordeon_faq .handorgel__header--open.handorgel__header--opened 
  .handorgel__header__button::before{
  background-image: url("../../cto_layout/Bilder_Dokumente/Illustrationen/Pfeil_toggler_weiss_mbg.svg");
}

/* Inhalt links bündig zum Titel starten lassen */
.akkordeon_faq .handorgel__content__inner{
  background: #fff;
  padding-left: 86px;             /* gleiche Einrückung wie oben */
}

/* Mobile etwas schmaler, wenn nötig */
@media (max-width: 480px){
  .akkordeon_faq .handorgel__header__button{
    padding-left: 70px;
  }
  .akkordeon_faq .handorgel__content__inner{
    padding-left: 70px;
  }
  .akkordeon_faq .handorgel__header__button::before{
    left: 16px;
    width: 32px; height: 22px;
  }
}


/**********************
BLAUER HINTERGRUND BEIM LOGO
***********************/

/* Basis: ausgeblendet */
#bglogo {
  display: block;
  position: absolute;
  top: 0;
  background: #E1CB36;
  width: 100%;
  height: 160px;
  /* optional:
  z-index: 1;
  pointer-events: none;
  */
}
@media (max-width: 768px) {
#top-wrapper {

  height: 50px;
}
}
/* 815–1024: nur Headerhöhe */
@media (min-width: 769px) and (max-width: 1024px) {
  #top-wrapper { height: 260px; }
  
    .header.original .logo {
        height: 82px;
    }

    #stickyheader .logo a {
        margin-left: 0px;
        width: 190px;
        margin-top: -19px;
	}

}

/* ≥1025: sichtbar + Grundmaße */
@media (min-width: 1025px) {
  #bglogo {
    display: block;
    height: 260px;
    width: 36.3%;
  }
  
  
}

/* ≥1301: höhere Variante */
@media (min-width: 1301px) {
  #bglogo {
    height: 276px;
  }
}


@media (min-width: 1500px) {
  #bglogo {
    width: 544px;
  }
}
@media (max-width: 1500px) {
  #bglogo {
    width: 36.3%;
  }
}
@media only screen and (max-width: 1024px){
.logo a {
  margin-top: -27px;
  margin-left: 0px;
	width: 180px;
}
#mmenu #mmenu_bottom {
    bottom: 40px;
}
.fixed-header #mmenu #mmenu_bottom {
    bottom: 0;
}

}

@media only screen and (max-width: 767px) {
    
#wrapper {
        top: 20px;
    }
	header.header {
		padding: 10px 0;
		}
    .logo a {
        margin-top: 0;
        margin-left: -11px;
        width: 202px;
    }
	.mod_privacy_optin_slim * {
  font-family: pantonregular, sans-serif;
  line-height: 28px;
  font-size: 20px;
  box-sizing: border-box;
}
#bglogo {
    width: 100%;
  }
.akkordeon_faq .handorgel__header__button {
   font-size: 18px;
   line-height: 1.25;
} 
  .mittel h2, h2.mittel, .mittel h3, h3.mittel, .mittel h4, h4.mittel{
	  font-size:20px;
  }
  .ce_hyperlink-extended.wide a, .ce_customlink.content-button a, input.submit, button.submit {
  
    font-size: 20px !important;

}
  
}
	
	

/**********************
FERTIG BLAUER HINTERGRUND BEIM LOGO
***********************/

.mmenu_open #mmenu {
 
    margin-top: 42px;
}
.mmenu_open.fixed-header #mmenu {
    margin-top: 0;
}
.mmenu_open #main .mod_article.banner {
	margin-top:40px;
}








@media only screen and (min-width: 768px) {
  
  #startseite h1{hyphens:manual;}
}
