/**************************************** --> Google Fonts lokal einbinden ****************************************/

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-700.eot'); /* IE9 Compat Modes */
  src: url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('/files/cto_layout/fonts/roboto-v47-latin/roboto-v47-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-slab-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  src: url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-regular.svg#RobotoSlab') format('svg'); /* Legacy iOS */
}
/* roboto-slab-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  src: url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-700.eot'); /* IE9 Compat Modes */
  src: url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('/files/cto_layout/fonts/roboto-slab-v34-latin/roboto-slab-v34-latin-700.svg#RobotoSlab') format('svg'); /* Legacy iOS */
}

/*:root {
  --accentColor : #cc1217 !important;
}*/

/*********** --> horizontales Scrollen auf mobile verhindern ***********************************/
/*html, body {
  overflow-x: hidden;
}
*/
/**************************************** --> Breadcrumb ****************************************/

#breadcrumb, .mod_breadcrumb {
	display: block;
	border: none;
}

.hg-braun .mod_breadcrumb {
	background: #989081;
	color: #ffffff;
}

.hg-braun .mod_breadcrumb a {
	color: #ffffff;
}

.hg-hellbraun .mod_breadcrumb {
	background: rgba(152,144,129,0.3);
}

.mod_breadcrumb ul {
    font-size: 0.9rem;
    line-height: 0.9rem;
    text-align: center;
    display: block; /* Änderung von inline-block zu block */
    margin: 0 auto; /* Hinzufügen von Margin und automatischem Zentrieren */
    padding: 11px 0;
}

/**************************************** --> Leadtext ****************************************/
.leadtext {
  font-size: 1.2rem;
  line-height: 1.5;
}

@media only screen and (max-width: 767px) {
  .leadtext {
  font-size: 16px;
  }
}

/**************************************** --> Zurück-Button ****************************************/

.back  {
	display: inline-block;
	padding: 8px 15px;
    margin-bottom: 5px;
    margin-top: 10px;
    margin-right: 5px !important;
    border: 1px solid rgb(229,229,229);
    cursor: pointer;
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
}

.back a {
	display: block;
}

.back:hover, .back a:hover{   
	background: #cc1217;
    color: #ffffff;
    font-weight: 400;
}


/**************************************** --> Animationen ****************************************/

#header-mobile .image_container {
	display: flex;
	justify-content: center; /*Animationen zentrieren für Mobile Version*/
}


/**************************************** --> Kontakt-Sticky-Footer ****************************************/

.kontakt-badge {
    position: fixed;
    z-index: 10005;
    right: 15px;
    bottom: 100px;
}

.kontakt-badge a {
	display: block; 
	text-align: center;
	color: #ffffff;    
	border-radius: 100%;
    box-shadow: 0 0 25px 0 rgba(0,0,0,.04);
    border: 1px solid rgb(235,237,235);
    background-color: #cc1217;
    height: 48px;
    width: 48px;
    line-height: 48px;
}

.kontakt-badge a:first-child {
	margin-bottom: 5px;
}

.kontakt-badge i {
	color: #ffffff;
	padding: 5px;
}


/**************************************** --> News und Portfolio Navigation ****************************************/

.mod_newsreader .back {
	display: none;
}

.mod_sibling_navigation_news {
	text-align: right;
	margin-bottom: 40px;
}

.sibling-overview {
    color: #cc1217;
    padding: 20px;
}

.sibling-next, .sibling-prev{
    padding: 20px;
    color: #cc1217;
    position: relative;
}

.sibling-next::after {
	content: "\f105";
    font-family: FontAwesome;
    color: #cc1217;
    font-size: 20px;
    padding-left: 10px;
}

.sibling-prev::before {
	content: "\f104";
    font-family: FontAwesome;
    color: #cc1217;
    font-size: 20px;
    padding-right: 10px;
}

.sibling-next:hover, .sibling-prev:hover, .sibling-overview:hover {
	background: #cc1217;
	color: #ffffff;
}

.sibling-next:hover::after, .sibling-prev:hover::before{
	color: #ffffff;
}

/**************************************** --> Portfolio Icon manuell einfügen nach contao 5.3. Update | 10.03.25) ****************************************/
.car-side .info,
.wand-magic-sparkles .info,
.sign-post .info,
.building .info,
.eye-slash .info,
.window-frame .info{
  position: relative;
}

.car-side .info:after,
.wand-magic-sparkles .info:after,
.sign-post .info:after,
.building .info:after,
.eye-slash .info:after,
.window-frame .info:after{
  content: "";
  width: 20px;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  background-color: #cc1217;
  position: absolute;
}

.car-side .info:after{
	mask: url("/files/Designelemente/icons/car-side-solid.svg") no-repeat center;
	-webkit-mask: url("/files/Designelemente/icons/car-side-solid.svg") no-repeat center;
}

.wand-magic-sparkles .info:after{
  	mask: url("/files/Designelemente/icons/wand-magic-sparkles-solid.svg") no-repeat center;
	-webkit-mask: url("/files/Designelemente/icons/wand-magic-sparkles-solid.svg") no-repeat center;
}


.sign-post .info:after{
  	mask: url("/files/Designelemente/icons/sign-post-solid.svg") no-repeat center;
	-webkit-mask: url("/files/Designelemente/icons/sign-post-solid.svg") no-repeat center;
}


.building .info:after{
  	mask: url("/files/Designelemente/icons/building-solid.svg") no-repeat center;
	-webkit-mask: url("/files/Designelemente/icons/building-solid.svg") no-repeat center;
}

.eye-slash .info:after{
  	mask: url("/files/Designelemente/icons/eye-slash-regular.svg") no-repeat center;
	-webkit-mask: url("/files/Designelemente/icons/eye-slash-regular.svg") no-repeat center;
}

.window-frame .info:after{
  	mask: url("/files/Designelemente/icons/window-frame-solid.svg") no-repeat center;
	-webkit-mask: url("/files/Designelemente/icons/window-frame-solid.svg") no-repeat center;
}



/**************************************** --> Portfolio neu (Debi | 07.06.24) ****************************************/

.mod_portfoliolist_v3 .item .content {
	margin: 0;
	opacity: 0.9;
}

.mod_portfoliolist_v3 .item .title {
	line-height: 1.3;
}

.home .mod_portfoliolist_v3 .item .title {
	font-size: 0.84rem;
}

.home .mod_portfoliolist_v3 .fa {
	color: #cc1217;
}

/**************************************** --> Media Query für Tablets ****************************************/

@media only screen and (max-width: 900px) {
  
    .portfolio-col3 .grid-sizer {
    width: calc(100% / 2);
	}
	
	.mod_portfoliolist_v3.portfolio-col3 .item {
	width: calc(100% / 2);
	}
}

/**************************************** --> Update auf contao 5.3. ****************************************/

body .mod_privacy_optin .privacy_buttons input{
  background: #cc1217
}
