.propstack-hero-fullwidth,.propstack-hero-fullwidth .container{width:100%;max-width:none}
.propstack-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.propstack-gallery img{display:block;width:100%;height:auto}
.propstack-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.propstack-contact-form-fields input,.propstack-contact-form-fields select,.propstack-contact-form-fields textarea{width:100%;box-sizing:border-box}
@media(max-width:767px){.propstack-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Ergänzungen zum bestehenden Enfold-/Avia-Layout. */
.agwp-pf-excerpt{margin-bottom:28px}.agwp-pf-exc-h4{display:flex;align-items:center;gap:10px;margin:8px 0;line-height:1.25}.agwp-pf-exc-h4 img{flex:0 0 auto}.agwp-pf-exc-price{margin-top:18px}.agwp-pf-exc-price-ft{font-size:1.5em}.propstack-gallery,.propstack-gallery-grundriss{margin-top:18px}.propstack-areabutler-embed iframe,.propstack-ogulo-embed iframe{width:100%;min-height:600px;border:0}.propstack-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.propstack-contact-form-fields button:focus,.propstack-contact-form-fields input:focus,.propstack-contact-form-fields select:focus,.propstack-contact-form-fields textarea:focus{outline:3px solid rgba(212,175,55,.45);outline-offset:2px}@media(max-width:767px){.propstack-areabutler-embed iframe,.propstack-ogulo-embed iframe{min-height:420px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.propstack-object-title{margin-bottom:8px}.propstack-object-title strong{font-weight:700}.propstack-object-location{display:none!important}.propstack-areabutler-embed,.propstack-ogulo-embed{width:100%}.propstack-areabutler-embed iframe,.propstack-ogulo-embed iframe{display:block;width:100%;min-height:600px;border:0}

/* Immobiliengalerie: ein grosses Bild, Vorschauen darunter. */
.propstack-gallery-featured .avia-gallery-big{display:block;width:100%;margin:0 0 14px}
.propstack-gallery-featured .avia-gallery-big img{display:block;width:100%;height:auto}
.propstack-gallery-featured .avia-gallery-thumb{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;width:100%}
.propstack-gallery-featured .avia-gallery-thumb a{display:block;min-width:0}
.propstack-gallery-featured .avia-gallery-thumb img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.propstack-contact-form-fields button[type="submit"]{display:block;width:100%;min-height:58px;margin-top:18px;padding:16px 28px!important;border:2px solid #d4af37!important;border-radius:2px;background:#d4af37!important;color:#000000!important;font-size:20px!important;font-weight:700!important;line-height:1.2;cursor:pointer;text-align:center;box-shadow:none!important}
.propstack-contact-form-fields button[type="submit"]:hover{background:#c29d28!important;color:#000000!important}
.propstack-contact-form-fields button[type="submit"]:focus{outline:3px solid rgba(212,175,55,.5);outline-offset:3px}
@media(max-width:767px){.propstack-gallery-featured .avia-gallery-thumb{grid-template-columns:repeat(4,minmax(0,1fr))}.propstack-contact-form-fields button[type="submit"]{font-size:18px!important}}

/* v6.1.6: Galerie mit einem grossen Bild und Vorschauen darunter. */
.propstack-gallery-featured .avia-gallery-big,
.propstack-gallery-featured .avia-gallery-big-inner{display:block!important;width:100%!important;margin:0 0 14px!important}
.propstack-gallery-featured .avia-gallery-big img{display:block!important;width:100%!important;height:auto!important}
.propstack-gallery-featured .avia-gallery-thumb,
.propstack-gallery-featured .avia-gallery-thumbs{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;width:100%!important;margin:0!important}
.propstack-gallery-featured .avia-gallery-thumb a,
.propstack-gallery-featured .avia-gallery-thumbs a{display:block!important;min-width:0!important}
.propstack-gallery-featured .avia-gallery-thumb img,
.propstack-gallery-featured .avia-gallery-thumbs img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover}
/* v6.1.6: Kontaktbutton gross, gold und schwarz. */
.propstack-contact-form-fields button[type="submit"],
.propstack-contact-form-fields input[type="submit"],
.propstack-contact-form-fields .button{display:block!important;width:100%!important;min-height:62px!important;margin:20px 0 0!important;padding:18px 30px!important;border:2px solid #d4af37!important;border-radius:2px!important;background:#d4af37!important;background-image:none!important;color:#000000!important;font-size:20px!important;font-weight:700!important;line-height:1.2!important;text-align:center!important;cursor:pointer!important;box-shadow:none!important}
.propstack-contact-form-fields button[type="submit"]:hover,
.propstack-contact-form-fields input[type="submit"]:hover,
.propstack-contact-form-fields .button:hover{background:#c29d28!important;color:#000000!important}
.propstack-contact-form-fields button[type="submit"]:focus,
.propstack-contact-form-fields input[type="submit"]:focus,
.propstack-contact-form-fields .button:focus{outline:3px solid rgba(212,175,55,.55)!important;outline-offset:3px}
@media(max-width:767px){.propstack-gallery-featured .avia-gallery-thumb,.propstack-gallery-featured .avia-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))!important}.propstack-contact-form-fields button[type="submit"],.propstack-contact-form-fields input[type="submit"],.propstack-contact-form-fields .button{font-size:18px!important}}


/* v6.1.7: kontrollierte Galerie wie auf der bestehenden Referenzseite. */
.propstack-gallery-stacked{display:block!important;width:100%;margin:18px 0 28px}
.propstack-gallery-stacked .propstack-gallery-main{display:block;width:100%;margin:0 0 14px}
.propstack-gallery-stacked .propstack-gallery-main-link{display:block;width:100%;line-height:0}
.propstack-gallery-stacked .propstack-gallery-main-image{display:block;width:100%;height:auto;max-height:none;object-fit:cover}
.propstack-gallery-stacked .propstack-gallery-previews{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;width:100%;margin:0}
.propstack-gallery-stacked .propstack-gallery-preview{display:block!important;min-width:0;line-height:0;opacity:.78;transition:opacity .15s ease,outline-color .15s ease}
.propstack-gallery-stacked .propstack-gallery-preview:hover,.propstack-gallery-stacked .propstack-gallery-preview.is-active{opacity:1}
.propstack-gallery-stacked .propstack-gallery-preview.is-active{outline:3px solid #d4af37;outline-offset:-3px}
.propstack-gallery-stacked .propstack-gallery-preview-image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
/* v6.1.7: eindeutig adressierter, grosser Kontaktbutton gegen Enfold-Theme-Regeln. */
#top form.propstack-contact-form-fields p.propstack-contact-submit-wrap{margin:22px 0 0!important}
#top form.propstack-contact-form-fields button.propstack-contact-submit,
#top form.propstack-contact-form-fields button.propstack-contact-submit.avia-button,
#top form.propstack-contact-form-fields input[name="propstack_contact_submit"]{display:block!important;width:100%!important;min-width:100%!important;min-height:68px!important;height:auto!important;margin:0!important;padding:20px 32px!important;border:2px solid #d4af37!important;border-radius:3px!important;background:#d4af37!important;background-color:#d4af37!important;background-image:none!important;color:#000!important;-webkit-text-fill-color:#000!important;font-size:22px!important;font-weight:700!important;line-height:1.25!important;text-align:center!important;text-transform:none!important;cursor:pointer!important;box-shadow:none!important}
#top form.propstack-contact-form-fields button.propstack-contact-submit:hover,
#top form.propstack-contact-form-fields button.propstack-contact-submit.avia-button:hover,
#top form.propstack-contact-form-fields input[name="propstack_contact_submit"]:hover{background:#c29d28!important;background-color:#c29d28!important;color:#000!important;-webkit-text-fill-color:#000!important}
#top form.propstack-contact-form-fields button.propstack-contact-submit:focus,
#top form.propstack-contact-form-fields input[name="propstack_contact_submit"]:focus{outline:3px solid rgba(212,175,55,.55)!important;outline-offset:3px}
@media(max-width:767px){.propstack-gallery-stacked .propstack-gallery-previews{grid-template-columns:repeat(4,minmax(0,1fr))}.propstack-gallery-stacked .propstack-gallery-preview-image{aspect-ratio:4/3}#top form.propstack-contact-form-fields button.propstack-contact-submit,#top form.propstack-contact-form-fields input[name="propstack_contact_submit"]{min-height:62px!important;padding:18px 24px!important;font-size:19px!important}}
@media(prefers-reduced-motion:reduce){.propstack-gallery-stacked .propstack-gallery-preview{transition:none}}

/* v6.1.8: cache-sichere Asset-Version und URL-/Anrede-Fixes. */

/* v6.3.0: Medienordner-Übersicht im Backend. */
.propstack-media-folder-cards{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;margin:20px 0}.propstack-media-folder-card{display:flex;justify-content:space-between;gap:12px;padding:14px;background:#fff;border:1px solid #ccd0d4;text-decoration:none}.propstack-media-folder-card span{color:#646970}@media(max-width:782px){.propstack-media-folder-cards{grid-template-columns:1fr}}
