/*
Theme Name: Divi Child
Theme URI: https://www.wieg.cloud
Description: Moritz Immobilien Cloud Theme
Author: wiegcloud
Author URI: https://www.wieg.cloud
Template: divi
Version: 1.0.0
Text Domain:  wieg-cloud-theme
*/

/* Zusätzliches CSS hinter dem abschließenden Schrägstrich einfügen
------------------------------------------------------------------- */
.objekt-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.objekt-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

/* Bild */
.objekt-bild img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Content */
.objekt-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Header */
.objekt-typ {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6b7280;
}
.objekt-titel {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.3;
}
.objekt-titel a {
  color: inherit;
  text-decoration: none;
}
.objekt-titel a:hover { color: #2563eb; }

/* Preis */
.objekt-preis {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.preis-wert {
  font-size: 22px;
  font-weight: 700;
  color: #1d4ed8;
}
.preis-label {
  font-size: 12px;
  color: #6b7280;
}

/* Kennzahlen */
.objekt-facts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}
.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}
.fact-value {
  font-size: 15px;
  font-weight: 600;
}
.fact-label {
  font-size: 11px;
  color: #9ca3af;
}

/* Adresse */
.objekt-adresse {
  font-size: 13px;
  color: #6b7280;
}

/* Ausstattung */
.objekt-ausstattung {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: #f3f4f6;
  color: #374151;
  white-space: nowrap;
}

/* Energie */
.objekt-energie {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.energie-klasse {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  color: #fff;
  font-size: 13px;
}
.klasse-aplus, .klasse-a { background: #16a34a; }
.klasse-b               { background: #65a30d; }
.klasse-c               { background: #ca8a04; }
.klasse-d               { background: #d97706; }
.klasse-e               { background: #ea580c; }
.klasse-f, .klasse-g,
.klasse-h               { background: #dc2626; }
.energie-wert { color: #6b7280; }

/* Footer */
.objekt-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.objekt-btn {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #1d4ed8;
  color: #fff;
  transition: background 0.2s;
}
.objekt-btn:hover { background: #1e40af; }
.objekt-btn--outline {
  background: transparent;
  border: 1px solid #1d4ed8;
  color: #1d4ed8;
}
.objekt-btn--outline:hover {
  background: #eff6ff;
}

/* Responsive */
@media (max-width: 640px) {
  .objekt-facts { gap: 10px; }
  .preis-wert   { font-size: 18px; }
}


.btn-inline .et_pb_button_module_wrapper {
    display: inline-block;
    margin: 0 5px;
}

.bg_none {
	background-image : none!important;
}

.btn-inline{
	text-align:center!important;
}

.mfp-title{
	display:none!important;
}

.nav li ul.sub-menu a{
	width:100%;
	padding-right:30px!important;
}
.nav li ul {
    width: 320px;
	right:0;
}
#top-menu li li a {
    width: 100%;
}

/*
.full_width_item > .et_pb_module_inner > .dmach-acf-item-container > .dmach-acf-item-content > .dmach-acf-value{
	width:100%!important;
	margin:0px!important;
	padding:0px!important;
}
.full_width_item > .et_pb_module_inner > .dmach-acf-item-container > .dmach-acf-item-content{
	margin:-10px!important;
}
*/

/* Parallax Background Image Settings */
/*background image color*/
.pa-parallax-background-image-color .et_parallax_bg:before {
content:"";
display: block;
height: 100%;
position: absolute;
top: 0;
left: 0;
width: 100%;
background-color: rgba(0,0,0,0.6);
}

/*background image gradient color*/
.pa-parallax-background-image-gradient .et_parallax_bg:before {
content:"";
display: block;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-image: -webkit-gradient(linear, left top, right bottom, from(rgba(0, 195, 170, 0.70)), to(rgba(122, 87, 209, 0.70)));
background-image: -webkit-linear-gradient(left top, rgba(0, 195, 170, 0.70), rgba(122, 87, 209, 0.70));
background-image: -moz-linear-gradient(left top, rgba(0, 195, 170, 0.70), rgba(122, 87, 209, 0.70));
background-image: -o-linear-gradient(left top, rgba(0, 195, 170, 0.70), rgba(122, 87, 209, 0.70));
background-image: -ms-linear-gradient(left top, rgba(0, 195, 170, 0.70), rgba(122, 87, 209, 0.70));
background-image: linear-gradient(left top, rgba(0, 195, 170, 0.70), rgba(122, 87, 209, 0.70));
}

/*background image size*/
.pa-parallax-background-image-size .et_parallax_bg {
background-size: cover;
}

/*background image position*/
.pa-parallax-background-image-position .et_parallax_bg {
background-position: center;
}

/*background image repeat*/
.pa-parallax-background-image-repeat .et_parallax_bg {
background-repeat: repeat;
background-size: initial;
}

/*background image blend*/
.pa-parallax-background-image-blend .et_parallax_bg {
background-color: #2cba6c;
background-blend-mode: multiply;
}













/* ── Galerie ──────────────────────────────────────────────── */
.objekt-full__galerie { margin-bottom: 32px; }
.galerie-main img {
  width: 100%; height: 480px;
  object-fit: cover; border-radius: 8px;
}
.galerie-thumbs {
  display: flex; gap: 8px;
  flex-wrap: wrap; margin-top: 8px;
}
.galerie-thumb {
  width: 80px; height: 60px;
  object-fit: cover; border-radius: 4px;
  cursor: pointer; opacity: 0.6;
  transition: opacity 0.2s;
  border: 2px solid transparent;
}
.galerie-thumb:hover,
.galerie-thumb.active {
  opacity: 1;
  border-color: #1d4ed8;
}

/* ── Body ─────────────────────────────────────────────────── */
.objekt-full__body { max-width: 900px; margin: 0 auto; }

/* ── Header ───────────────────────────────────────────────── */
.objekt-full__titel {
  font-size: 28px; margin: 8px 0 4px;
}
.objekt-full__adresse {
  font-size: 15px; color: #6b7280; margin-bottom: 8px;
}

/* ── Sections ─────────────────────────────────────────────── */
.objekt-full__section {
  margin: 28px 0;
  padding-bottom: 28px;
  border-bottom: 1px solid #f3f4f6;
}
.section-title {
  font-size: 16px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #374151; margin-bottom: 16px;
}

/* ── Preise ───────────────────────────────────────────────── */
.objekt-full__preise {
  display: flex; flex-wrap: wrap; gap: 20px;
}
.preis-block {
  display: flex; flex-direction: column;
}
.preis-block--main .preis-wert {
  font-size: 28px; font-weight: 700; color: #1d4ed8;
}
.preis-block .preis-wert { font-size: 18px; font-weight: 600; }
.preis-block .preis-label { font-size: 12px; color: #6b7280; }

/* ── Facts Tabelle ────────────────────────────────────────── */
.objekt-full__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
}
.fact-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f9fafb;
  font-size: 14px;
}
.fact-row__label { color: #6b7280; }
.fact-row__value { font-weight: 600; text-align: right; }

/* ── Badges ───────────────────────────────────────────────── */
.objekt-full__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge--lg {
  font-size: 13px; padding: 6px 14px;
  border-radius: 20px; background: #eff6ff;
  color: #1d4ed8; font-weight: 500;
}

/* ── Energie ──────────────────────────────────────────────── */
.objekt-full__energie { display: flex; flex-direction: column; gap: 10px; }
.energie-display { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.energie-klasse {
  font-size: 22px; padding: 6px 18px;
  border-radius: 6px; font-weight: 700; color: #fff;
}
.energie-label { font-size: 13px; color: #6b7280; }

/* ── Text ─────────────────────────────────────────────────── */
.objekt-full__text {
  font-size: 15px; line-height: 1.7;
  color: #374151; white-space: pre-line;
}

/* ── Karte ────────────────────────────────────────────────── */
.objekt-full__map { border-radius: 8px; overflow: hidden; }

/* ── Footer ───────────────────────────────────────────────── */
.objekt-full__footer {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 28px;
}
.objekt-full__footer .objekt-btn { flex: 1; min-width: 200px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .galerie-main img   { height: 260px; }
  .objekt-full__titel { font-size: 22px; }
  .preis-block--main .preis-wert { font-size: 22px; }
  .objekt-full__facts { grid-template-columns: 1fr; }
}
