/*
 Theme Name:     Kreativ
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Kreativ Webagentur KlG
 Author URI:     https://www.kreativ.swiss
 Template:       Divi
 Version:        1.0.2
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/*----- Header ----- */
/*Fixed Header Mobile*/
@media (max-width: 980px) {
.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: fixed; 
}
}
/*===== Mobile menu =====*/
/* Full width expand mobile menu that opens under the header */
@media only screen and (max-width: 980px) {
  .mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
  }
  #main-header .container.clearfix.et_menu_container {
    width: 100%;
  }
  .logo_container {
    padding-left: 30px;
  }
  #et-top-navigation {
    padding-right: 5%;
  }
  #mobile_menu {
    display: block !important;
    right: 0;
    left: 0px;
    top: 81px;
    min-height: calc( 100vh - 81px )!important;
    transition: all .5s ease-in-out;
    transform-origin: top;
	  z-index:-1!important;
  }
  .mobile_nav.closed #mobile_menu {
    transform: rotateY(0);
    opacity: 0;
		visibility: hidden;
  }
  .mobile_nav.opened #mobile_menu {
    transform: rotateY(0);
    opacity: 1;
  }
}
/*Remove Lines from Mobile Menu*/
header#main-header .et_mobile_menu li a{
    border: 0px !important;
}
/*Stick items to the left and increase font size*/
@media only screen and (max-width: 980px) {
  /* Add 14px padding above the entire menu list */
  .et_mobile_menu {
    padding-top: 30px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
  }

  /* Reset individual list item spacing */
  .et_mobile_menu li {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  /* Apply consistent padding to links */
  .et_mobile_menu li a {
    display: block;
    padding: 12px 37px !important;  /* 12px top/bottom, 20px left/right */
    font-size: 18px !important;
    text-align: left !important;
  }
}

/*----- Menu -----*/
.container {
	width: 90%;
	max-width:1480px;
}
#top-menu-nav {
	padding-bottom:12px!important;
}

#main-header {
	box-shadow:none!important;
}
/*--- CTA Button---*/
@media only screen and (min-width: 980px) {
.menu-contact {
	padding:0!important;
	border-radius:0px!important;
	border-width:1px!important;
	border-color:#032451!important;
	transition:0.3s;
	/*border:solid 1px!important;*/
	background-color:#032451!important;
	color:#ffffff!important;
	/*font-family:'undefined'!important;*/
	/*font-size:18px!important;*/
	font-weight:500!important;
	/*box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 6s infinite;
	animation-delay:1.5s;*/
}
.menu-contact a {
	color:#ffffff!important;
	padding: 13px 20px 13px 20px!important;
	border:solid 1px #032451!important;
	border-radius:0px!important;
}
#main-header.et-fixed-header .menu-contact a, .page-id-179 #main-header.et-fixed-header .menu-contact a {
	color:#ffffff!important;
	/*border:solid 1px!important;*/
	/*border-radius:5px!important;*/
}
}
#top-menu-nav .menu-contact a:hover {
	background:#420201!important;
	color:#fff!important;
	border:solid 1px #0C3A7A!important;
	/*border-width:1px!important;*/
	border-radius:0px!important;
	opacity:1!important;
}
	}
/*Change color of main and fixed header*/
/* Default main header: white text for all EXCEPT language switcher + contact*/
#main-header:not(.et-fixed-header) #top-menu > li:not(.menu-ontact) > a:not(#language-switcher-toggle) {
  color:#fff!important;
} 

/*----- Slider Styles -----*/
.et_pb_slider .et_pb_container {
  display: flex;
  align-items: flex-end !important; /* move content to bottom */
}

.et_pb_slider .et_pb_slider_container_inner {
  display: flex;
  align-items: flex-end !important;
  justify-content: flex-start !important; /* keep left */
  width: 100%;
}

.et_pb_slider .et_pb_slide_description {
  width: 100%;
  text-align: left !important;
  padding-bottom: 40px; /* distance from bottom */
  margin: 0 !important;
}

.et_pb_slider .et_pb_slide_title,
.et_pb_slider .et_pb_slide_content,
.et_pb_slider .et_pb_button_wrapper {
  text-align: left !important;
}

/*----- Control size of hero -----*/
.hero-section {
	padding-top:25px!important;
	padding-bottom:25px!important;
}
@media (max-width: 1645px) {
  .hero-section {
  margin: 0 auto;
  padding-top: 4vw!important;
  padding-bottom: 5vw!important;
  }
}

/*----- Button Hover Animation -----*/
.custom-button:hover {
	transition: all 0.25s ease;
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(0,0,0,0.12);	
}

/*----- Referenzen Kacheln -----*/
.et_pb_column.image-hover-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* duplicated background for zoom effect */
.et_pb_column.image-hover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: scale(1);
  transition: transform 0.5s ease;
  z-index: 0;
}

/* overlay */
.et_pb_column.image-hover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.35s ease;
  z-index: 1;
  pointer-events: none;
}

/* content above image + overlay */
.et_pb_column.image-hover-card > .et_pb_module {
  position: relative;
  z-index: 2;
}

/* hover states */
.et_pb_column.image-hover-card:hover::before {
  transform: scale(1.08);
}

.et_pb_column.image-hover-card:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

/*Style taxonomy bagde*/
.portfolio-badge {
  display: inline-block;
  width: fit-content;
  background-color: #420201;
  color: #fff;
  padding: 10px 14px;
  border-radius: 0;
  line-height: 1;
  margin-bottom: auto;
  align-self: flex-end;
}
.portfolio-title {
	justify-content:end;
	margin-top:auto;
}

/*--- Filter für Referenzen ---*/
.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  display: inline-block;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid #420201;
  color: #420201;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #420201;
  color: #ffffff;
}

.filter-btn.active {
  background: #420201;
  color: #ffffff;
}
/*--- Scrollable filters on mobile ---*/
.portfolio-filters-wrap {
  position: relative;
  overflow: hidden;
}

.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.portfolio-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid #420201;
  color: #420201;
  text-decoration: none;
	white-space: nowrap;
	font-size: 14px;
    font-family: 'Montserrat';
    font-weight: 500;
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
  background: #420201;
  color: #fff;
}

/* fades */
.portfolio-filters-wrap::before,
.portfolio-filters-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.portfolio-filters-wrap::before {
  left: 0;
  opacity: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,1));
}

.portfolio-filters-wrap::after {
  right: 0;
  opacity: 1;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
}

.portfolio-filters-wrap.show-left-fade::before {
  opacity: 1;
}

.portfolio-filters-wrap.hide-right-fade::after {
  opacity: 0;
}

/*----- Links Animation Styling ------*/
/*Credits*/
.credits-info {
  	display: inline-block;
	color:#4A4A4A!important;
	padding:none!important;
}
.credits-info-white {
	display: inline-block;
	color:#fff!important;
	padding:none!important;
}
.credits-info:hover {
	color:#0C3A7A!important;
}
.credits-info-white:hover {
	color:#fff;
}
.credits-info:after {
  	content: '';
  	width: 0px;
 	 height: 1px;
 	 display: block;
 	 background: #0C3A7A;
 	 transition: 300ms;
}
.credits-info-white:after {
  	content: '';
  	width: 0px;
 	 height: 1px;
 	 display: block;
 	 background: #61652F;
 	 transition: 300ms;	
}
.credits-info:hover:after, .credits-info-white:hover:after {
	width: 100%;
}
/*Credits Reverse*/
.credits-info-reverse {
  	display: inline-block;
	color:#4A4A4A!important;
	padding:none!important;
}
.credits-info-reverse:hover {
	color:#0C3A7A!important;
}
.credits-info-reverse:after {
  	content: '';
  	width: 100%;
 	 height: 1px;
 	 display: block;
 	 background: #4A4A4A;
 	 transition: 300ms;
}
.credits-info-reverse:hover:after {
	width: 0px;
}
/*Credits White*/
.credits-info-white {
	display: inline-block;
	color:#fff!important;
	padding:none!important;
}

.credits-info-white:hover {
	color:#fff;
}

.credits-info-white:after {
  	content: '';
  	width: 0px;
 	 height: 1px;
 	 display: block;
 	 background: #c1c1c1;
 	 transition: 300ms;	
}
.credits-info-white:hover:after {
	width: 100%;
}

/*========== Template Mietliegenschaften ==========*/
/*Display blurbs in a single line*/
.blurb-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blurb-container::-webkit-scrollbar {
  display: none;
}

/* kill Divi equal-width columns */
.blurb-container > .facts-column {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* also target Divi column sizing classes */
.blurb-container > .et_pb_column {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* make blurb define the width */
.blurb-container .blurb-single {
  width: auto !important;
  max-width: none !important;
  margin-bottom: 0 !important;
}

.blurb-container .blurb-single .et_pb_blurb_content {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap;
}

.blurb-container .blurb-single .et_pb_main_blurb_image {
  margin: 0 10px 0 0 !important;
  flex: 0 0 auto;
}

.blurb-container .blurb-single .et_pb_blurb_container,
.blurb-container .blurb-single .et_pb_module_header {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  white-space: nowrap;
}
.blurb-container.et_pb_row > .et_pb_column,
.blurb-container.et_pb_row > .et_pb_column_1_3,
.blurb-container.et_pb_row > .et_pb_column_4_4,
.blurb-container.et_pb_row > .et_pb_column_1_2,
.blurb-container.et_pb_row > .et_pb_column_1_4,
.blurb-container.et_pb_row > .et_pb_column_3_4 {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: fit-content !important;
}

/*-----Custom CPT Page -----*/
.custom-row .et_pb_column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.custom-row .custom-link {
  margin-bottom: 0 !important;
  align-self: flex-start;
  text-align: left;
}

.custom-row .custom-title {
  margin-bottom: 0 !important;
  align-self: flex-start;
  text-align: left;
}
/*Add overlay to bg image*/
.custom-row {
  position: relative;
  overflow: hidden;
}

.custom-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.custom-row > .et_pb_column {
  position: relative;
  z-index: 2;
}

/*========= Kontaktformular ==========*/

/*Labels*/
.column-half p, .column-full p {
	font-family:'Montserrat'!important;
	color:#032451!important;
}
/*Text field settings*/
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
	width:100%!important;
	min-height:48px!important;
	border-radius:0px!important;
	font-size: 18px!important;
	font-family: 'DM Sans',Helvetica,Arial,Lucida,sans-serif;
	font-weight: 300!important;
	padding-left:10px!important;
	border-color:#E2E5EA;
}

@media (max-width:980px) {
	input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
		font-size:16px!important;
	}
}
.page-id-179 textarea , .page-id-179 textarea {
	width:100%!important;
	min-height:48px!important;
	height:96px;
	max-height:500px!important;
	border-radius:0px!important;
	font-size: 18px!important;
	font-family: 'DM Sans',Helvetica,Arial,Lucida,sans-serif;
	padding-left:10px!important;
	border-color:#E2E5EA;
	padding-top:10px;
	transition: ease-in-out 0.5s;
}
@media (max-width:900px) {
	textarea {
		font-size:16px!important;
	}
}
textarea:focus {
	min-height:48px!important;
	height:200px;
	max-height:500px!important;	
	transition: ease-in-out 0.5s;
}
@media (max-width:900px) {
	input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
		width:100%!important;
	}
}
/*Error message text*/
.wpcf7-not-valid-tip {
	padding-top:4px!important;
	font-family: 'DM Sans',Helvetica,Arial,Lucida,sans-serif;
	color:#D41111!important;
	font-size:16px!important;
}
.page-id-179 label, .page-id-179 label {
	font-size:16px!important;
	font-family:'Outfit'!important;
	color:#4A4A4A!important;
}
/*Radio buttons*/
.wpcf7-list-item {
	margin:0 0 0 6px!important;
}
/*Submit button*/
.page-id-179 .wpcf7-submit, .page-id-179 .wpcf7-submit {
	font-family: 'DM Sans',Helvetica,Arial,Lucida,sans-serif;
	color:#fff!important;
	border-radius:0px!important;
	font-size:18px!important;
	background-color:#032451!important;
	border:1px;
	padding: 11px 22px 11px 22px;
	cursor:pointer;
	margin-top:10px;
	transition:0.3s;
}
.page-id-179 .wpcf7-submit:hover, .page-id-179 .wpcf7-submit:hover  {
	background-color:#420201!important;
	border:1px;
}
.page-id-179 .wpcf7-submit:hover:after, .page-id-179 .wpcf7-submit:hover:after {
	display:none!important;
}
.page-id-179 .wpcf7-submit:after, .page-id-179 .wpcf7-submit:after {
	display:none!important;
}
.page-id-179 .wpcf7-submit:hover, .page-id-179 .et_pb_module .et_pb_button:hover, .page-id-179 .wpcf7-submit:hover, .page-id-179 .et_pb_module .et_pb_button:hover {
	padding: 11px 22px 11px 22px;
	border:1px;
	transition:0.3s;
}
/*.page-id-179 .form-row p, .page-id-179 .form-row p {
	font-size:16px!important;
	font-family:'Montserrat'!important;
	color:#4A4A4A!important;
}*/
/*Focus label*/
input.text:focus, input.title:focus, input[type=text]:focus, select:focus, textarea:focus, input[type=email]:focus, input[type=tel]:focus {
	border-color:#0C3A7A!important;
}
/*Error labels*/
.wpcf7-not-valid {
 	color:#D41111!important;
	border-color:#D41111!important;
}

/*--- Error & Success Message pattern ---*/
/*General message pattern*/
.wpcf7 form .wpcf7-response-output {
    border:1px solid!important;
    border-radius: 0px!important;
    font-size:16px!important;
    padding:1.2em 1.2em!important;
    display: flex;
    align-items: center;
	font-family: 'DM Sans',Helvetica,Arial,Lucida,sans-serif;
	font-weight:300!important;
	margin-left:0px!important;
	margin-right:0px!important;
}

/*SUCCESS message pattern*/
.wpcf7 form.sent .wpcf7-response-output {
    border:1px solid #E3F1D7!important;
    background:#CDEDBD!important;
}

.wpcf7 form.sent .wpcf7-response-output:before {
    content: '';
    width: 25px;
    height: 25px;
    background-image: url('https://vinum-dominus.ch/wp-content/uploads/2024/08/check-green-filled.webp');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 6px;
    display: inline-block;
}

/*ERROR message pattern*/
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
	border: 1px solid #D41111!important;
	background:#F2B8B8!important;
}

.wpcf7 form.failed .wpcf7-response-output:before, .wpcf7 form.invalid .wpcf7-response-output:before, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    content: '';
    width: 25px;
    height: 25px;
    background-image: url('https://vinum-dominus.ch/wp-content/uploads/2024/08/error-circle.webp');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 6px;
    display: inline-block;

}
/*Custom form layout*/
/*---------- Devenir membre form ----------*/
#responsive-form{
	max-width:600px /*-- change this to get your desired form width --*/;
	margin:0 auto;
        width:100%;
}
.form-row{
	width: 100%;
}
.column-half, .column-full, .column-third {
	float: left;
	position: relative;
	padding: 0.65rem 0.65rem 0.65rem 0;
	width:100%;
	-webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
@media only screen and (min-width: 48em) { 
	.column-half{
		width: 50%;
	}
	.column-third {
		width:33%;
	}
}

/*Text animate*/
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
  transition:
    opacity 1.7s ease,
    transform 1.7s ease,
    filter 1.7s ease;
  will-change: transform, opacity, filter;
}

.word-reveal.animate .word {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* keep natural spacing between words */
.word-reveal .word-space {
  display: inline-block;
  width: 0.35em;
}

/*ABOUT*/
.function-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.function-badge {
  display: inline-block;
  width: fit-content;
  background-color: #fff;
  color: #420201;
  padding: 10px 14px;
  border-radius: 0;
	border:1px solid #420201;
	text-transform:uppercase;
  line-height: 1;
  white-space: nowrap;
}

/*Values*/
/* ===== DESKTOP ===== */
.value-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* adjust if needed */
}

/* ===== TABLET ===== */
@media (max-width: 980px) {
  .value-container {
    grid-template-columns: repeat(2, 1fr);
  }

  /* third column spans full width (2 columns) */
  .value-3 {
    grid-column: span 2;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
  .value-container {
    grid-template-columns: 1fr;
  }

  .value-3 {
    grid-column: auto; /* reset */
  }
}

/*CUSTOM LINKEDIN BUTTON*/
.icon-buttons {
  display: flex;
  gap: 8px; /* space between buttons */
  align-items: center;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  border: 1px solid #420201;
  padding: 10px 14px;
  border-radius: 0;

  transition: all 0.2s ease;
  cursor: pointer;
}

.icon-button img {
  width: 24px;
  height: 24px;
  display: block;
}

.icon-button:hover {
  background: #D2C2C2;
 /* transform: translateY(-1px);*/
}

/*========== PRICING */
/* ============================================================
   Winkelmann Real Estate – Preisrechner
   ============================================================ */

.wr-calc-wrap * {
  box-sizing: border-box;
}

.wr-calc-wrap {
  width: 100%;
}

/* ── Card ── */
.wr-calc-card {
  background: #ffffff;
  border: 0.5px solid #d8d8d8;
  overflow: hidden;
  max-width: 1480px;
}

/* ── Header ── */
.wr-calc-header {
  /*background: #032451;
  padding: 24px 28px 22px;*/
	display:none!important;
}

.wr-calc-header-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.wr-calc-header-title {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.wr-calc-header-title em {
  font-style: italic;
}

/* ── Body ── */
.wr-calc-body {
  padding: 24px 24px 24px;
}

.wr-calc-section {
  margin-bottom: 20px;
}

/* ── Field label ── */
.wr-calc-field-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 10px;
  display: block;
}

/* ── Liegenschaftstyp Toggle ── */
.wr-calc-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 0.5px solid #d8d8d8;
}

.wr-calc-toggle-btn {
  padding: 10px 12px;
  border: none;
  border-right: 0.5px solid #d8d8d8;
  background: #f8f8f8;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.wr-calc-toggle-btn:last-child {
  border-right: none;
}

.wr-calc-toggle-btn.active {
  background: #032451;
  color: #fff;
}

.wr-calc-toggle-btn:hover:not(.active) {
  background: #ececec;
  color: #111827;
}

/* ── Stepper + Input ── */
.wr-calc-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.wr-calc-unit-btn {
  width: 36px;
  height: 36px;
  border: 0.5px solid #d8d8d8;
  background: #f8f8f8;
  font-size: 18px;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.wr-calc-unit-btn:hover {
  background: #ececec;
}

.wr-calc-input {
  width: 72px;
  height: 36px;
  text-align: center;
  border: 0.5px solid #d8d8d8;
  background: #fff;
  color: #111827;
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
}

.wr-calc-input::-webkit-outer-spin-button,
.wr-calc-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wr-calc-input:focus {
  border-color: #032451;
  box-shadow: 0 0 0 2px rgba(3,36,81,0.12);
}

.wr-calc-unit-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

/* ── Slider ── */
.wr-calc-slider-row {
  margin-bottom: 4px;
}

.wr-calc-slider {
  width: 100%;
  height: 4px;
  accent-color: #032451;
  cursor: pointer;
background:#F5F6F8;
	border-radius:99px;
}

.wr-calc-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.04em;
}

/* ── Divider ── */
.wr-calc-divider {
  height: 0.5px;
  background: #fff;
  margin: 20px 0;
}

/* ── Breakdown ── */
.wr-calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0px;
	padding:20px;
	background:#F5F6F8;
}

.wr-calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.wr-calc-breakdown-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.wr-calc-breakdown-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  text-align: right;
}

.wr-calc-breakdown-divider {
  height: 0.5px;
  background: #e5e7eb;
  margin: 4px 0;
}

/* Total-Zeile in der Aufstellung */
.wr-calc-breakdown-total .wr-calc-breakdown-label {
  font-weight: 600;
  color: #111827;
}

.wr-calc-breakdown-total .wr-calc-breakdown-value {
  font-size: 14px;
  font-weight: 600;
	color:#111827;
}

/* ── Monatspreis-Block (dunkles Banner) ── */
.wr-calc-monthly-row {
  background: #032451;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 0;
}

.wr-calc-monthly-left {
  flex: 1;
}

.wr-calc-total-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.wr-calc-total-price {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  word-break: break-word;
}

.wr-calc-monthly-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  text-align: left;
}

.wr-calc-monthly-note span {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,1);
  white-space: nowrap;
}

/* ── CTA Button ── */
.wr-calc-cta-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  background: #032451;
  color: #fff;
  border: none;
  text-decoration: none;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 14px;

  /*letter-spacing: 0.14em;*/
  transition: background 0.2s ease;
}

.wr-calc-cta-btn:hover {
  background: #420201;
  color: #fff;
}

/* ── Parkplatz-Hinweis ── */
.wr-calc-parking-note {
  margin-top: 16px;
  border-left: 2px solid #032451;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.5;
  background: #f8f8f8;
}

.wr-calc-parking-note strong {
  font-weight: 600;
  color: #111827;
}

/* ── Disclaimer ── */
.wr-calc-disclaimer {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  text-align: left;
  margin-top: 20px;
	margin-bottom:20px;
  padding: 0 4px;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .wr-calc-card {
    max-width: 100%;
  }

  .wr-calc-header,
  .wr-calc-body,
  .wr-calc-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wr-calc-total-price {
    font-size: 24px;
  }
}

/*Adjustments*/
h5.custom-h5 /*Title*/ {
	font-family:'DM Serif Display',Georgia,"Times New Roman",serif!important;
	color:#032451!important;
	font-size:20px!important;
}
.additional-blurb h6 /*Fake body*/ {
	font-size:14px;
	color:#4a4a4a!important;
	line-height:1.3em!important;
}

/*Hide reCaptcha banner*/
.grecaptcha-badge { 
visibility: hidden; 
opacity: 0;
display:none;
}