/*
Theme Name: Kleinrachlhof
Theme URI: https://kleinrachlhof.de/
Author: Peter Jerger
Author URI: https://deine-domain.de/
Description: Minimalistisches Starter-Theme für Elementor und Customizer
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: elementor, blank, minimal, customizer
Text Domain: kleinrachlhof
*/

body {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
  	font-size: 16px;
	background-color: #fcf2e9;
}

header {
	width: 100%;
	background-color: #fcf2e9;
	position: sticky;
	top: 0;
	z-index: 9999;
	box-shadow: 0px 5px 50px rgb(96, 76, 58);
}


.custom-logo {
	max-width: 20vw;
	height: auto;
}

@media (max-width: 768px) {
	.custom-logo {
		max-width: 40vw;
  	}
}

.header-container {
	display: flex;
  	flex-direction: row;
  	justify-content: space-between;
  	align-items: center;
  	padding: 10px 20px;
	max-width: 1200px;
  	margin: 0 auto;
}

.main-navigation {
  display: flex;
  padding: 10px 20px;
}

.main-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
	flex-wrap: wrap;
}

.main-menu li a {
  text-decoration: none;
  color: #65A171;
  font-weight: bold;
}

.main-menu li {
  display: inline-block;
}


.main-menu a:hover {
  color: #3a6c08;
}

/* Hamburger-Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001; /* Über dem Menü */
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #69866f;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Zustand: geöffnet */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


		/* ===== Responsive ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fcf2e9;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .main-navigation.open {
    display: flex;
  }

  .main-menu {
    flex-direction: column;
    gap: 16px;
  }

  .main-menu li {
    text-align: center;
	  padding: 15px 0 0px 0;
    border-top: 1px solid #69866f;
  }
	
	.main-menu li:nth-child(1){
		border-top: none;
	}
	  
	.main-menu li a {
    color: #65A171;
  }
}


.elementor .start-slider img {
	max-height: 600px;
  object-fit: cover;
  width: 100%;
}

.slider-ferienwohnungen img {
  max-height: 60vh;
  object-fit: cover;
  width: 100%;
}

.slider_text {
	color: #FFF6EF;
	background-color: rgba(0,0,0,0.5);
	backdrop-filter: blur(10px);
	box-shadow: 0px 0px 45px black;
}


.checklist {
    list-style: none; /* Standardpunkte entfernen */
    padding: 0;
    margin: 0;
    text-align: center; /* Text zentrieren */
}

.checklist li {
    margin: 0 12px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: inherit;
	line-height: 1.8em;
    position: relative;
    padding-left: 0;
}

/* Gezeichneter Haken als SVG-Icon */
.checklist li::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%33F8A08'><path d='M7.629 14.296l-4.29-4.29a1 1 0 011.414-1.415l2.876 2.877 6.586-6.586a1 1 0 011.415 1.414l-7.293 7.293a1 1 0 01-1.414 0z' stroke='%233F8A08' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}



/*   Kontaktformular    */

.wpforms-phone-field .phone-row {
    display: flex;
    align-items: center;
}

.wpforms-phone-field .phone-number {
    flex: 1;
    padding: 0.5em 0.75em;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px; /* linke Seite abgerundet */
    outline: none;
    box-sizing: border-box;
}

/* Flaggencontainer so gestalten, dass er wie ein Dropdown wirkt */
.wpforms-phone-field .iti.iti--separate-dial-code {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    padding-left: 8px;
    background-color: #fff;
    cursor: pointer;
    height: 38px; /* passend zur Input-Höhe */
}

.wpforms-phone-field .iti__flag-container {
    display: flex;
    align-items: center;
}

.wpforms-phone-field .iti__selected-dial-code {
    margin-right: 4px;
    font-weight: 500;
}

/* Telefonnummer-Input rechts anfügen, abgerundete rechte Ecke */
.wpforms-phone-field .phone-number {
    border-radius: 0 4px 4px 0;
    border-left: none;
}


.wpforms-field-label {
	margin: 5px !important;
}

.wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field {
	padding: 10px 0 !important;
}



/* Container NICHT als Flex */
.wpforms-date-field {
    display: block !important;
}

/* Label eigene Zeile */
.wpforms-date-field label {
    display: block !important;
    margin-bottom: 8px !important;
}

/* Neue Zeile für Datumsfelder */
.wpforms-date-field .date-row {
    display: flex !important;
    gap: 10px !important;
	max-width: 60%;
}

/* Je 50 % inkl. Padding & Border */
.wpforms-date-field .date-row input[type="date"] {
    width: 50% !important;
    box-sizing: border-box !important;
}


.wpforms-date-field > fieldset > .wpforms-field-row {
	display: none !important;
}

/* Container nicht als Flex */
.wpforms-address-field {
    display: block !important;
	max-width: 60% !important;
}

/* Label eigene Zeile */
.wpforms-address-field label {
    display: block !important;
    margin-bottom: 8px !important;
}

/* Zeile für PLZ + Ort */
.wpforms-address-field .address-row {
    display: flex !important;
    gap: 10px !important;
}

/* PLZ schmal */
.wpforms-address-field .address-zip {
    width: 120px !important;
    box-sizing: border-box !important;
}

/* Ort füllt Rest */
.wpforms-address-field .address-city {
    flex: 1 !important;
    box-sizing: border-box !important;
}




			/* Button-Styling */

/* Container für zentrierte Darstellung */
.button-container {
    text-align: center;
    margin: 10px 0;
}

/* Button-Stil */
.phone-button, .booking-button {
    display: inline-block;
    background-color: #fcf2e9;
    color: #65a171 !important;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* Hover-Effekt */
.phone-button:hover, .booking-button:hover {
    background-color: #b1dfb4;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.phone-button svg {
    flex-shrink: 0;
}

.button-send {
	display: inline-block !important;
    background-color: #65a171 !important;
    color: #fcf2e9 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
}

.button-send:hover {
	background-color: #b1dfb4 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35) !important;
}


			/* Footer Styles */
.site-footer {
    background-color: #343944;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    padding: 20px 0;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-column {
    flex: 1;
    text-align: center;
}

.footer-left,
.footer-right {
    max-width: 200px;
}

.footer-left img,
.footer-right img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-center p {
    margin: 0;
    line-height: 1.6;
}

.footer-center a {
    color: #ffffff;
    text-decoration: none;
}

.footer-center a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-left, .footer-right {
        max-width: 150px;
    }
}



/* --- Globale Elemente --- */


.section-hills {
	background-color: #69866f;
	clip-path: polygon(0px 0px, 10.59% 75.22%, 30% 0px, 37.61% 66.68%, 69.51% 1px, 91.85% 66.99%, 100% 0px, 100% 100%, 0px 100%);
}

.footer-hills {
	background-color: #343944;
	clip-path: polygon(0px 0px, 10.59% 75.22%, 30% 0px, 37.61% 66.68%, 69.51% 1px, 91.85% 66.99%, 100% 0px, 100% 100%, 0px 100%);
}

.elementor-lightbox .dialog-widget-content svg {
	fill: #5a5a5a !important;
	color: #5a5a5a !important;
}

.elementor-slideshow__title {
	display: none !important;
}

.elementor-slideshow__header {
	max-width: 95vw !important;
}

.elementor-lightbox .swiper .swiper-pagination-fraction {
	color: #5a5a5a !important;
}

h2 {
	font-family: 'PT Serif', sans-serif !important;
	color: #5a5a5a !important;
}

h3 {
	font-family: 'PT Serif', sans-serif !important;
	color: #5a5a5a !important;
	font-size: 14pt;
}


#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9999;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTopBtn:hover {
    background-color: #555;
}





/*    FIXES    */
.elementor-element.elementor-element-26231ca {
	text-shadow: none !important;
}

.square-img img {
	object-fit: cover;
	aspect-ratio: 1;
	border: none !important;
}

#gallery-1 .gallery-item {
	margin: 0 !important;
	padding: 5px !important;
}

#price-table {
	border-collapse: collapse;
	width: 100%;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#price-table tr {
	border-bottom: 1px solid #ccc;
}

#price-table tr:last-child {
	border-bottom: none;
}

#price-table td {
	padding: 8px;
}