:root {
--color-1: 134, 67, 21;
--color-2: 175, 92, 31;	
--color-3: 7, 140, 57;	
--main-padding: 10vw;	
--font-size-1: 3vw;	
--font-size-2: 2vw;		
--swiper-pagination-color:rgba(var(--color-3), 1) !important;	
--swiper-navigation-color:rgba(var(--color-3), 1) !important;	
--swiper-theme-color:rgba(var(--color-2), 1) !important;	
--fancybox-zIndex: 99999 !important;
}	
	


@media only screen and (max-width: 767px) {
	:root {
	--main-padding: 5vw;	
	--font-size-1: 3.5vw;	
	}
}
@media only screen and (min-width: 780px) and (max-width: 1080px) {	
	:root {
	--main-padding: 6vw;	
	}
}


html { font-size: 18px;  }

body {
	background: #fff;
	margin:0;
	padding: 0;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
	font-size: 21px;
	width: 100vw !important;
	max-width: 100vw !important;
	color: rgba(var(--color-1), 1);

}

* {
	text-decoration: none
}


p {
	padding:0;
	margin: 0;
	font-weight: 200;
		font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
	line-height: 1.9em;
	color: rgba(var(--color-1), 1);
}
b, strong {
	font-weight: 600;
}


ol {
	padding-left: 0;
	margin: 0;
	padding-top:15px;
}
ol li {
	list-style: none;
	padding:5px;
	font-weight: 200 !important;
}

ol li::before {
    font-family: "Font Awesome 6 Free";
    content: "\f00c"; 
    font-weight: 900;
    padding-right: 10px;
}



h1, h2, h3, h4, h5, h6 {
	padding:0;
	margin: 0;
	text-transform: normal;
	color: rgba(var(--color-3), 1);
	line-height: 1.1em;
	font-size: var( --font-size-1) !important;	
	
	
	font-family: "jaf-bernina-sans", sans-serif;
font-weight: 700;
font-style: normal;
	
}


@media only screen and (max-width: 767px) {
	h1, h2, h3, h4, h5, h6 {
		font-size: 32px !important;	

	}
}

#gallery {
	display: none !important;
}

a {
color: rgba(var(--color-1), 1);
}


p a {
	text-decoration: underline;
}


/* Content */

.container {
	max-width: 100%;
	height: auto;
	padding-left:var(--main-padding);
	padding-right:var(--main-padding);
	overflow: hidden;
}



/* Navigation Bar */
.navbar {
  position: fixed;
  width: 100vw;
  z-index: 9999;
  background: transparent;
	height: 150px;
}

.navbar::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 25%, rgba(217, 217, 217, 0) 100%);
    opacity: 0.8;
	z-index: -1;
}

.navbar-inner {
  width: calc(100vw - var(--main-padding) * 2);
  padding-left: var(--main-padding);
  padding-right: var(--main-padding);
  display: flex;
  justify-content: space-between; /* Updated this line */
  align-items: center;
	height: 100%;
}

/* Logo Style */
.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo a {
	display: flex;
	align-items: center;
}

.navbar-logo img {
	width: 200px;
	height: auto;
	transition: width 0.5s, fill 0.5s ease;
}


body.scrolling .navbar-logo img,
body.menuopen .navbar-logo img{
	width: 100px;
	height: auto;
}



body.scrolling .navbar {
	height: 80px;
}


@media only screen and (max-width: 767px) {
	.navbar-logo svg {
	width: 270px;
	height: auto;
	transition: width 0.5s, fill 0.5s ease;
}
}



/* Navigation Links Style */
.navbar-links {
  display: flex;
  list-style-type: none;
  margin-left: auto;
}

.navbar-links ul {
  display: flex;
}

.navbar-links li {
  padding: 0 15px;
  list-style: none;
  position: relative;
}

.navbar-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease-in-out;
	text-transform: uppercase;
	
	
		font-family: "jaf-bernina-sans", sans-serif;
font-weight: 400;
font-style: normal;
	
}



/* Schöner Hover-Effekt mit Unterstreichung */
.navbar-links li a::after {
content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 15px;
    background-color: rgba(var(--color-1), 1);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    z-index: -1;
}

.navbar-links li:hover a {
  color: #fff !important;
}

.navbar-links li:hover a::after {
  width: 90%;
  left: 5%;
}


.navbar-links .sub-menu li a::after {
	display: none;
}

/* Animation für aktiven Link */
.navbar-links li.current_page_item a {
  font-weight: 500;
  position: relative;
}

.navbar-links li.current_page_item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: rgba(var(--color-1), 1);
}

/* Scrolling-Änderung */
body.scrolling .navbar-links li a {
  color: #fff;
}
body.scrolling .navbar-links li:hover a {
  color: #000 !important;
}
body.scrolling .navbar-links li a::after {
  background-color: rgba(var(--color-1), 1);
}


/* Leichtes Fade-in beim Hover */
.navbar-links li:hover a {
  transition: color 0.3s ease-in-out;
}

.navbar-links .button {
	 background-color: rgba(var(--color-2), 1);
	padding-top:8px;
	padding-bottom: 8px;
	color:rgba(var(--color-1), 1) !important;
	transition: all 0.3s;
	margin-left:20px;
	border-radius: 20px;
	text-transform: uppercase;
	font-weight: 600 !important;
}
.navbar-links .button a,
.navbar-links .button:hover a{
	color:rgba(var(--color-1), 1) !important;
	font-weight: 600 !important;
}

.navbar-links .button:hover a::after {
  display: none;
}

.navbar-links .button:hover {
	 background-color: rgba(var(--color-2), 1);
}


.navbar-links .menu {
	display: flex;
	align-items: center;
}

/* Additional Styles for Icons */
.navbar-actions {
  display: flex;
  align-items: center;
}

.navbar-actions a svg , .navbar-actions svg {
	width: auto;
	height: 20px;
	fill:#FFF;
}

.icon-placeholder {
  width: 22px;
  height: auto;
  margin-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
	padding-top:5px;
}

.navbar {
	transition: background 0.5s;
}
body.scrolling .navbar{
	background: #FFF;
}
body.scrolling .navbar::after {
	background: transparent;
}

body.scrolling  .navbar-links li a {
  color: #000;
}
body.single-appartement  .navbar-links li a {
  color: #000;
}

/* Swiper */

.swiper-pagination-bullet {
  width: 15px !important;
  height: 15px !important;
  border-radius: 25px !important;
}

/* Footer */

.footer svg polygon, .footer svg path {
	fill:#fff;
}
.footer svg rect {
	fill:rgba(var(--color-3), 1);
}

.footer #pe_rating {
	padding-top:50px;
}

.footer a {
	color:#FFF !important;
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: 40% 60%;
  padding: 50px var(--main-padding) 40px;
  background:rgba(var(--color-1), 1);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  gap: 50px;
  margin-top: 0;
	color:#FFF;
	padding-bottom: 80px;
	color:#FFF !important;
	align-items: start;
}

.footer-column {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
	display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.footer-column.first,
.footer-column.end {
  padding-top: 30px;
}

.footer-column.end svg {
	height: 100px;
}

.footer-column.end a {
	color:#FFF !important;
}

.footer-column.first {
  line-height: 1.5em;
  text-align: left;
  color: #FFF;
}

.footer-column.kontakt {
  line-height: 1.5em;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.footer-column.kontakt h5,
.footer-column.kontakt h6,
.footer-column.kontakt p {
  color: #FFF !important;
}
.footer-column.kontakt h6 {
	font-size: 22px !important;
}

.footer-column.kontakt p {
  width: 70%;
}

.footer .kontakt_data {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.footer .kontakt_data .kontakt_col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  color: #FFF;
}

.footer .kontakt_data .kontakt_col svg {
  width: auto;
  fill: #fff;
  height: 40px;
}


.footer .inner-footer {
  background: transparent;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  position: absolute;
  pointer-events: none;
  overflow: hidden;
}



@media only screen and (max-width: 767px) {
	.footer .footer-column.end svg {
	width: 270px;
	height: auto;
}
		.footer .footer-column.logo svg {
	width: 100%;
	height: auto;
}
}

.footer-column.logo svg {
	padding-bottom: 20px;
}


.footer h5 {
	color:#FFF !important;
	font-size: 30px !important;
	padding-bottom: 8px !important;
	padding-top:17px;
}

.footer p {
	line-height: 1.6em !important;
	color:#FFF !important;
}


/* Kontaktformular */
.footer form.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
	  width: calc(100% - var(--main-padding) / 2);
}

.footer .wpcf7-form input[type="text"],
.footer .wpcf7-form input[type="email"],
.footer .wpcf7-form input[type="tel"],
.footer .wpcf7-form input[type="date"],
.footer .wpcf7-form input[type="number"],
.footer .wpcf7-form textarea,
.footer .wpcf7-form select{
  width: calc(100% - 40px);
  padding: 14px 20px;
  background: rgba(255,255,255, 0.8);
  color: rgba(var(--color-1));
  border: none;
  border-radius: 15px;
  font-size: 16px;
  resize: vertical;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  margin-bottom: 8px;
}

.footer .wpcf7-form select{
  width: calc(100% - 0px);
}

.footer .wpcf7 {
	padding-bottom: 50px;
}


.footer .wpcf7-list-item {
	margin-left:0px;
	 font-family: 'Jost';
  font-style: normal;
  font-weight: 200;
	font-size: 15px;
	line-height: 1.5em;
}

.footer .wpcf7-form textarea {
  min-height: 100px;
}

.footer .wpcf7-form p.small {
	font-size: 13px;
	line-height: 1.6em;
}
.footer .wpcf7-form p.small a {
	color:#FFF;
	text-decoration: underline;
}

.footer .wpcf7-form input::placeholder,
.footer .wpcf7-form textarea::placeholder {
  color: rgba(var(--color-1), 0.8);
}

.footer .wpcf7-form input[type="submit"] {
  background: rgba(var(--color-2), 1);
  color: #fff !important;
  font-weight: bold;
  padding: 14px 24px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer .wpcf7-form input[type="submit"]:hover {
  background: rgba(var(--color-3), 1);
  color: #FFF;
}


.footer .form-grid {
  display: flex;
  gap: 15px; 
  flex-wrap: wrap;
}

.footer .form-col {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


#ui-datepicker-div {
	border-radius: 15px !important;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 7px 29px 0px !important;
}
.ui-widget-header {
	background:rgba(var(--color-1), 1) !important;
	color:#FFF !important;
	border-radius: 15px !important;
}

.ui-state-default {
    border-radius: 15px !important;
	text-align: center !important;
	border:1px solid rgba(var(--color-1), 1) !important;
	background: #FFF !important;
}

.ui-state-default.ui-state-highlight {
	border:1px solid rgba(var(--color-2), 1) !important;
	background:rgba(var(--color-2), 1) !important;
	color:#FFF !important;
}

.ui-state-default.ui-state-active {
	border:1px solid rgba(var(--color-3), 1) !important;
	background:rgba(var(--color-3), 1) !important;
	color:#FFF !important;
}
.ui-state-default:hover {
	border:1px solid rgba(var(--color-3), 1) !important;
}



.footer-column-full {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  color: #fff;
  z-index: 2;
	background: #fff;
	height: 1px;
}



/* Social Icons */
.footer .social-icons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  align-items: center;
  padding-top: 20px;
}

.footer .social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.footer .social-icons a svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  transition: transform 0.3s ease;
}

.footer .social-icons a svg path {
  transition: fill 0.3s ease;
}

.footer .social-icons a:hover svg {
  transform: scale(1.2);
}

.footer .social-icons a:hover svg path {
  fill: rgba(var(--color-2), 1) !important;
}

/* Zusatz-Anpassung (wahrscheinlich für Cookie-Banner oder ein Plugin?) */
.gDldoV {
  left: auto !important;
  right: 30px !important;
}



@media only screen and (max-width: 767px) {
	 .footer-column.kontakt{
    order: 2; /* kommt nach oben */
  }

  .footer-column.logo {
    order: 1;
  }
}

/* Footer Menu */


.menu-socket-menu-container {
    text-align: left;
}

.menu-socket-menu-container ul {
    list-style: none; 
    padding: 0;
    margin: 0;
	padding-bottom: 5px;
}

.menu-socket-menu-container ul li {
    display: inline; /* Stellt die Listenelemente inline dar */
    margin-right: 10px; /* Fügt Abstand zwischen den Links hinzu */
}

.menu-socket-menu-container ul li a {
    text-decoration: none; /* Entfernt die Unterstreichung */
    color: inherit; /* Übernimmt die Textfarbe */
}

.menu-socket-menu-container ul li:not(:last-child)::after {
    content: "•"; /* Fügt ein Trennzeichen nach jedem Menüelement hinzu */
    margin-left: 10px; /* Abstand nach dem Trennzeichen */
}

@media only screen and (max-width: 767px) {
	 .menu-socket-menu-container {
        text-align: center; /* Zentriert den Container */
    }

    .menu-socket-menu-container ul {
        display: inline-block; /* Zentriert die Liste innerhalb des Containers */
    }

    .menu-socket-menu-container ul li {
        display: block; /* Stellt jedes Listenelement untereinander dar */
        margin: 5px 0; /* Fügt vertikalen Abstand zwischen den Elementen hinzu */
    }

    .menu-socket-menu-container ul li:not(:last-child)::after {
        content: ""; /* Entfernt das Trennzeichen für mobile Ansicht */
    }
	
	
	.footer {
     grid-template-columns: 100%;
	}
	
	.footer-column.kontakt p {
    width: 100%;
}
	
	.footer form.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: calc(102% - var(--main-padding));
}
	
	.footer-column.first {
    text-align: center;
}
	.footer .social-icons {
    justify-content: center;
    align-items: center;
}
	.footer-column.first, .footer-column.end {
    text-align: center;
}
	
}




/* Layover */

#layover {
	position: fixed;
	width: calc(100vw - var(--main-padding) - var(--main-padding));
	height: calc(100vh - 150px);
	background: rgba(var(--color-1), 0.98);
	z-index: -1;
	padding-top: 150px !important;
	padding-left: var(--main-padding);
	padding-right: var(--main-padding);
	top: -150%; 
	transition: top 0.8s, z-index 0.5s;
	color:#FFF;
	text-transform: none;
}

#layover a {
	color:rgba(255,255,255,0.7);
	transition: color 0.9s;
}

#layover p {
	color:#FFF !important;
}

#layover .inner {
	 display: flex;
    flex-direction: column;
	align-items: flex-start;
	height: calc(100vh - 100px);
}

#layover .inner .item {
	text-align: left;
	font-size:3.5vh;
}

#layover .inner .item:nth-child(2) {
	text-align: left;
	font-size:4.5vh;
}

#layover .inner .item:last-child {
	font-size:2.5vh;
	text-align: left;
	margin-top: auto; 
	padding-bottom: 250px;
	transition: padding-bottom 0.3s;
}

body.scrolling #layover .inner .item:last-child {
	padding-bottom: 50px;
}

#layover .inner ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#layover .inner ul li {
	line-height: 1.8em;
}
#layover .inner ul li:hover a {
	color:#FFF;
}





	#layover	{
	padding-top:100px;
	height: calc(100vh - 100px);
	}

	#layover .inner {
		grid-template-columns: 1fr;
	}

	#layover .inner .item {
		text-align: left;
		font-size:2.5vh;
	}
	#layover .inner .item:last-child {
		font-size:2vh;
	}
	#layover .inner .item a::after, #layover .inner .item a::before {
		display: none !important;
	}	


@media (min-width: 780px) {
	#layover .wpml-ls {
		display: none;
	}
	
	
}

@media (max-width: 780px) {
	
	#layover .button a {
		color: rgba(var(--color-1), 1);
	}
	#layover .button {
		margin-top:20px;
		background-color: rgba(var(--color-2), 1);
  padding-top: 8px;
  padding-bottom: 8px;
  color: rgba(var(--color-1), 1) !important;
  transition: all 0.3s;
  margin-left: 0px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600 !important;
		padding-left:15px;
		padding-right: 15px;
	}
	
	
	body.scrolling #layover .inner {
	height: calc(100vh - 173px) !important;
}
	
	#layover {
    padding-top: 173px;
	}

}







#burger-icon {
    width: 150px;
    height: auto;
    display: inline-block;
    text-align: center;
	cursor: pointer;
	display: none;
}
@media only screen and (max-width: 767px) {
	#burger-icon {
    width: 80px;
		display: block;
	}
}


#burger-icon .dots-container {
    display: flex;
    justify-content: center;
    transition: all 0.3s ease; /* Ãœbergangseffekt hinzugefÃ¼gt */
}

#burger-icon .dot {
    width: 10px;
    height: 10px;
    background: #FFF;
    margin: 3px;
    border-radius: 100%;
    transition: background 0.3s ease, transform 0.3s ease;
}

#burger-icon .menu_name {
    font-size: 16px;
	color:#FFF;
}

#burger-icon:hover .dot:nth-child(1) {
    background: rgba(var(--color-2), 1);
    transform: scale(1.2);
}

#burger-icon:hover .dot:nth-child(2) {
    background: rgba(var(--color-1), 1);
    transition-delay: 120ms;
    transform: scale(1.2);
}

#burger-icon:hover .dot:nth-child(3) {
    background: rgba(var(--color-2), 1);
    transition-delay: 240ms;
    transform: scale(1.2);
}

body.scrolling #burger-icon .dot:nth-child(1),
body.scrolling #burger-icon .dot:nth-child(2),
body.scrolling #burger-icon .dot:nth-child(3),

body.blank_header #burger-icon .dot:nth-child(1),
body.blank_header #burger-icon .dot:nth-child(2),
body.blank_header #burger-icon .dot:nth-child(3) {
	 background: rgba(var(--color-2), 1);
}





body.scrolling #burger-icon .menu_name,
body.blank_header #burger-icon .menu_name{
	 color: rgba(var(--color-1), 1);
}	

body.menuopen #burger-icon .menu_name,
body.menuopen #burger-icon .dot:nth-child(2),
body.menuopen #burger-icon .dot:nth-child(3) {
    display: none;
}

body.menuopen #burger-icon .dots-container {
    justify-content: center;
    transition: all 0.3s ease; /* Ãœbergangseffekt hinzugefÃ¼gt */
}

body.menuopen #burger-icon .dots-container .dot {
    width: 40px;
    height: 40px;
    background: #FFF; /* Ã„ndern Sie die Hintergrundfarbe auf die gewÃ¼nschte Farbe */
    transform: scale(1);
    transition: all 0.3s ease; /* Ãœbergangseffekt hinzugefÃ¼gt */
}

body.menuopen #burger-icon .dots-container .dot {
    background: rgba(var(--color-2), 1);
}
body.menuopen #burger-icon:hover .dots-container .dot {
    background:#FFF;
}
body.menuopen #burger-icon .dots-container .dot:nth-child(1) {
    transform: translate(0, 0);
	z-index: 9999 !important;
}

body.menuopen #burger-icon .dots-container .dot:nth-child(2) {
    transform: translate(10px, -10px);
}

body.menuopen #burger-icon .dots-container .dot:nth-child(3) {
    transform: translate(40px, -40px);
}

body.menuopen #burger-icon .dots-container .dot:nth-child(1)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px; /* Breite der Linie */
    height: 3px; /* Höhe der Linie */
    background-color: #fff; /* Farbe der Linie */
    transform: translate(-50%, -50%) rotate(45deg); /* Erste Linie diagonal */
    box-shadow: 0 0 0 #000;
}

body.menuopen #burger-icon .dots-container .dot:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px; /* Breite der Linie */
    height: 3px; /* Höhe der Linie */
    background-color: #fff; /* Farbe der Linie */
    transform: translate(-50%, -50%) rotate(-45deg); /* Zweite Linie diagonal */
    box-shadow: 0 0 0 #000;
}

body.menuopen #burger-icon:hover .dots-container .dot:nth-child(1)::after,
body.menuopen #burger-icon:hover .dots-container .dot:nth-child(1)::before {
    background:rgba(var(--color-2), 1);
}




body.menuopen #layover {
	top: 0;
	z-index: 999;
}

body.menuopen #header-menu {
	background:transparent;
}





.button-container {
    display: inline-flex;
    align-items: center;
    background:rgba(var(--color-2), 1);
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    cursor: pointer;
	padding:5px 0;
	padding-left:25px;
	padding-right: 10px;
	padding-top:8px;
}

.button-text {
    margin-right: 20px;
}

.button-icon svg {
	width: 25px;
}

.button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #008bd2;
    border-radius: 50%;
    font-size: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.button-container:hover .button-icon {
    transform: scale(1.4); 
     background:rgba(var(--color-1), 1);
    color: #fff;
}
.button-container:hover .button-icon svg {
	fill:#FFF;
}







/* Gesamter Widget-Container */
#cta_contact {
    position: fixed;
    width: 65px;
    height: 65px;
    right: 40px;
    top: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
	transition: opacity 0.5s ease;
}

iframe[name="ca-review-widget"] {
  transition: opacity 0.5s ease;
}

.hidden {
  opacity: 0;
}

/* Widget-Container */
.contact-widget {
    width: 80px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    position: relative;
}

/* Icons Styling */
.contact-widget .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-widget .icon svg {
    width: 30px;
    height: auto;
    fill: rgba(var(--color-1), 1);
    transition: fill 0.3s ease, transform 0.3s ease;
}

/* Hover-Effekt für Icons */
.contact-widget .icon:hover {
    transform: scale(1.2) rotate(10deg);
}

.contact-widget .icon:hover svg {
    fill: rgba(var(--color-2), 1);
}

/* Trennlinie */
.contact-widget .divider {
    width: 60%;
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}

.contact-widget .icon:nth-child(1):hover {
    animation: vibrate 0.3s ease-in-out infinite;
}

/* Keyframes für das Vibrieren */
@keyframes vibrate {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}




/* Kreis Button */


.cta {
  position: relative;
  padding: 12px 18px;
  transition: all 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
	    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: 50px;
  background:  rgba(var(--color-1), 0.2);
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
}

.cta span {
  position: relative;
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #234567;
}

.cta svg {
  position: relative;
  top: 0;
  margin-left: 10px;
  fill:rgba(var(--color-1), 1);
  transform: translateX(-5px);
  transition: all 0.3s ease;
	width: 20px;
}

.cta:hover:before {
  width: 100%;
  background:  rgba(var(--color-1), 1);
	color:#FFF;
}
.cta:hover span {
	color:#FFF;
}

.cta:hover svg {
  transform: translateX(0);
	fill:#FFF;
}
.cta:hover svg {
	fill:#FFF;
}

.cta:active {
  transform: scale(0.95);
}


body.blank_header .main{
	padding-top:0px;
}
body.blank_header .navbar::after {
	display: none;
}

body.blank_header .navbar-links li a {
	color:#000;
}
body.blank_header .navbar-links li:hover a {
	color: rgba(var(--color-1), 1) !important;
}



@media only screen and (max-width: 767px) {
	.navbar-links {
		display: none;
	}
	
	#cta_contact {
    right: 20px;
    top: 75%;
}
	
	body.menuopen.blank_header .navbar-logo svg path {
	fill:#FFF !important;
}
	
	
}

.textbox ul li {
	line-height: 1.6em;
}




@media only screen and (min-width: 1200px) and (max-width: 1280px){
.navbar-links li a {
	font-size:	12px;
}
}



/* Sub Menü */


/* Dropdown über die gesamte Breite */
.navbar-links li.menu-item-has-children {
  position: relative; 
}

.navbar-links li.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 30px;
  left: 0;
  width: auto;
min-width: 240px;
  background-color: rgba(255,255,255, 0.9) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  padding: 10px 5px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.1s ease;
  z-index: 9999;
	height: auto;
}


/* Beim Hover von Parent-LI oder Submenü bleibt Menü offen */
.navbar-links li.menu-item-has-children:hover > .sub-menu,
.navbar-links li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Beim Hover anzeigen */
.navbar-links li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenü-Elemente formatieren */
.navbar-links .sub-menu li {
  width: auto;
  margin-right: 40px;
  margin-bottom: 10px;
  list-style: none;
}

.navbar-links .sub-menu li a {
  color: rgba(var(--color-3), 1) !important;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  text-decoration: none;
  padding: 5px 0;
  display: block;
  transition: all 0.1s ease-in-out;
}

.navbar-links .sub-menu li a:hover {
  color: rgba(var(--color-1), 1) !important;
}


/* Mobil: Submenü untergeordnet anzeigen */
@media only screen and (max-width: 767px) {
  .navbar-links li.menu-item-has-children {
    position: relative;
  }

  .navbar-links li.menu-item-has-children > .sub-menu {
    position: static;
    width: 100%;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
    display: block;
  }

  .navbar-links .sub-menu li {
    margin: 0;
    padding-left: 20px;
  }

  .navbar-links .sub-menu li a {
    padding: 10px 0;
  }

  .navbar-links li.menu-item-has-children > a::after {
    content: none;
  }
}


.single-headline {
	padding-top:50px;
}
body.single-appartement .container.textbox {
  padding-top: 20px;
}


body.single-appartement .navbar::after {
	display: none;
}




/* gallerysection */

.gallerybg {
	background:rgba(var(--color-1), 1);
	margin-top:160px;
	overflow: hidden;
}

.gallerysection {
	padding-top:50px;
	padding-bottom: 50px;
	
}

.gallery {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 10px;
      max-width: 100%;
      margin: 0 auto;
    }

.gallery > div {
  aspect-ratio: 16 / 12;
  overflow: hidden;
  position: relative; 
}

.gallery .item2,
.gallery .item3,
.gallery .item4,
.gallery .item5{
  aspect-ratio: 16 / 11.7 !important;
}

.gallery img {
  position: absolute;
  inset: 0;   
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
	border-radius: 15px;
}


.gallery .morebilder {
	position: absolute;
  background: transparent;
  right: 15px;
  top: 15px;
  padding: 5px 20px;
  border-radius: 5px;
  opacity: 0.9;
  color: #585655;
	z-index: 9;
	font-size: 17px;
	cursor: pointer;
	transition: background 0.3s;
}


.gallery .morebilder:hover {
	
}



    /* Positionierung der einzelnen Bilder */
    .item1 { grid-column: 1;       grid-row: 1 / span 2;  position: relative;  }
    .item2 { grid-column: 2;       grid-row: 1; }
    .item3 { grid-column: 3;       grid-row: 1; position: relative; }
    .item4 { grid-column: 2;       grid-row: 2; }
    .item5 { grid-column: 3;       grid-row: 2; }

    /* Responsive: auf engen Bildschirmen alle Bilder übereinander */
    @media (max-width: 768px) {
      .gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, auto);
      }
      .item1 { grid-row: 1; grid-column: 1; }
      .item2 { grid-row: 2; grid-column: 1; }
      .item3 { grid-row: 3; grid-column: 1; }
      .item4 { grid-row: 4; grid-column: 1; }
      .item5 { grid-row: 5; grid-column: 1; }
    }



@media only screen and (max-width: 767px) {
	.item4, .item5 {
		display: none;
	}
}


@media (max-width: 767px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
  }

  /* Großes Bild über beide Spalten */
  .item1 {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  /* Die nächsten beiden Bilder nebeneinander */
  .item2 {
    grid-column: 1;
    grid-row: 2;
  }
  .item3 {
    grid-column: 2;
    grid-row: 2;
  }
  /* Zusätzliche Bilder ausblenden */
  .item4,
  .item5 {
    display: none;
  }
}

.morebilder svg path {
	fill:#fff !important;
}
.morebilder svg:hover path {
	fill:rgba(var(--color-3), 1) !important;
}
.morebilder svg  {
	width: 30px;
	height: auto;
}
