/* Start custom CSS for shortcode, class: .elementor-element-ae54567 */) platzieren. Das bestehende Shortcode-Widget [oo_estate view="Immobilien"] bleibt erhalten. Optional CSS-Klasse sg-onoffice-native im Shortcode-Widget vergeben. Die Selektoren greifen sowohl mit sg-onoffice-native ALS AUCH über das Elementor-Shortcode-Widget. Nicht als universellen globalen CSS-Block einfügen, wenn andere onOffice-Listen absichtlich anders aussehen sollen. ============================================================================ */ /* 01 / Markenfarben und Grundtypografie */ :is(.elementor-widget-shortcode.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) { --sg-estate-ink: #1c2520; --sg-estate-gold: #bea66a; --sg-estate-gold-ink: #826936; --sg-estate-paper: #f7f5ef; --sg-estate-limestone: #eae7de; --sg-estate-muted: #666a61; --sg-estate-rule: #d9d3c5; width: 100%; min-width: 0; font-family: 'Manrope', Arial, sans-serif; color: var(--sg-estate-ink); background: #fff; -webkit-font-smoothing: antialiased; } :is(.elementor-widget-shortcode.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode), :is(.elementor-widget-shortcode.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) *, :is(.elementor-widget-shortcode.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) *::before, :is(.elementor-widget-shortcode.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) *::after { box-sizing: border-box; } /* 02 / Überschrift und Ergebnisanzahl: Die H1 der Seite existiert bereits oben */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listheadline { padding: 0 0 clamp(22px, 3vw, 42px); border-bottom: 1px solid var(--sg-estate-rule); margin: 0 0 clamp(24px, 3.2vw, 44px); } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listheadline h1 { display: none; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listheadline p { margin: 0; font: 600 11px/1.7 'Manrope', Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: var(--sg-estate-muted); } /* 03 / Suche & Sortierung */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-searchform, :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-estate-sort { margin: 0 0 clamp(28px, 4vw, 52px); } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-searchformfieldwrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-searchformfield { width: auto; min-width: 0; padding: 0; margin: 0; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-searchformfield label, :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-estate-sort label { display: block; margin: 0 0 8px; font-size: 11px; font-weight: 600; line-height: 1.6; color: var(--sg-estate-muted); letter-spacing: .03em; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-searchformfield :is(input, select), :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-estate-sort select, :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-searchformfield .ts-control { width: 100%; min-height: 48px; border: 1px solid var(--sg-estate-rule); border-radius: 0; background: #fff; color: var(--sg-estate-ink); font: 400 14px/1.4 'Manrope', Arial, sans-serif; box-shadow: none; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-searchformfield :is(input, select) { padding: 10px 14px; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-estate-sort, :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-estate-sort > .col-lg-12 { padding: 0; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-estate-sort select { width: min(100%, 360px); padding: 10px 14px; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) :is(.oo-searchformfield input[type='submit'], .oo-searchformfield button[type='submit']) { width: auto; max-width: 100%; min-height: 48px; padding: 12px 22px; border: 1px solid var(--sg-estate-ink); border-radius: 0; background: var(--sg-estate-ink); color: white !important; font: 600 12px/1.5 'Manrope', Arial, sans-serif; transition: background .25s ease, border-color .25s ease; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) :is(.oo-searchformfield input[type='submit'], .oo-searchformfield button[type='submit']):hover { background: #344037; border-color: #344037; } /* 04 / Großzügiges 2-Spalten-Portfolio statt kleinteiliger 3er-Karten */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listframe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(20px, 2.7vw, 42px); align-items: stretch; width: 100%; margin: 0; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listobject { width: auto; min-width: 0; padding: 0; margin: 0; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listobjectwrap { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--sg-estate-rule); border-radius: 0; background: #fff; box-shadow: none; transition: border-color .35s ease, box-shadow .35s ease; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listobject:hover .oo-listobjectwrap { border-color: rgba(190, 166, 106, .65); box-shadow: 0 16px 55px rgba(28, 37, 32, .075); } /* 05 / Bilder: klare, große Bildflächen; Objektfokus bleibt mittig */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listimage { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; position: relative; background: var(--sg-estate-limestone); } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listimage .oo-picture { display: block; width: 100%; height: 100%; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listimage :is(.oo-responsive-image, img) { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: center center; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listobject:hover .oo-listimage img { transform: scale(1.035); } /* onOffice-Markierungslabels wie Neu / Reserviert / Verkauft */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listimage > span { position: absolute; z-index: 2; left: 18px; top: 18px; padding: 8px 12px; background: rgba(28, 37, 32, .92); color: #fff; font: 650 10px/1.5 'Manrope', Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; } /* 06 / Inhalt und Typografie */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listinfo { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: clamp(22px, 2.4vw, 34px); } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listtitle { height: auto; min-height: 0; overflow: visible; margin: 0 0 21px; color: var(--sg-estate-ink); text-align: left; font: 400 clamp(22px, 2.05vw, 32px)/1.24 'Manrope', Arial, sans-serif; letter-spacing: -.045em; overflow-wrap: anywhere; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listinfotable { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-content: start; column-gap: 14px; width: 100%; min-height: 0; margin: 0; padding: 0; font-size: 13px; line-height: 1.55; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listinfotable .oo-listtd { display: block; width: auto; min-width: 0; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--sg-estate-rule); color: var(--sg-estate-muted); font-weight: 400; overflow-wrap: anywhere; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listinfotable .oo-listtd:nth-child(2n) { color: var(--sg-estate-ink); font-weight: 600; text-align: right; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listinfotable .oo-listtd.--highlight { color: var(--sg-estate-gold-ink); font-weight: 700; } /* 07 / Details- und Favoriten-Buttons */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: auto; padding-top: 27px; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink .oo-details-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; flex: 1 1 auto; width: auto; min-height: 52px; padding: 13px 18px; border: 1px solid var(--sg-estate-ink); border-radius: 0; background: var(--sg-estate-ink); color: #fff !important; text-align: center; text-decoration: none; font: 650 12px/1.5 'Manrope', Arial, sans-serif; transition: background .25s ease, border-color .25s ease; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink .oo-details-btn::after { content: '↗'; color: var(--sg-estate-gold); font-size: 19px; line-height: 1; font-weight: 400; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink .oo-details-btn:hover { background: #344037; border-color: #344037; color: #fff !important; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink button.favorize { display: inline-flex; align-items: center; justify-content: center; width: auto; max-width: 100%; min-height: 52px; padding: 12px 17px; border: 1px solid var(--sg-estate-rule); border-radius: 0; background: transparent; color: var(--sg-estate-ink) !important; font: 600 11px/1.4 'Manrope', Arial, sans-serif; text-align: center; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink button.favorize:hover { background: var(--sg-estate-paper); border-color: var(--sg-estate-gold); color: var(--sg-estate-ink) !important; } /* 08 / Pagination */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) :is(.oo-listpagination, .oo-post-nav-links) { margin-top: clamp(36px, 5vw, 70px); text-align: center; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-post-nav-links ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-post-nav-links :is(a, .current) { display: inline-flex; align-items: center; justify-content: center; min-width: 43px; min-height: 43px; margin: 0; padding: 8px 12px; border: 1px solid var(--sg-estate-rule); border-radius: 0; background: #fff; color: var(--sg-estate-ink); text-decoration: none; font: 600 12px/1.4 'Manrope', Arial, sans-serif; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-post-nav-links :is(a:hover, .current) { background: var(--sg-estate-ink); border-color: var(--sg-estate-ink); color: #fff !important; } /* 09 / Tastaturfokus und Animationen */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) :is(a, button, input, select):focus-visible { outline: 2px solid var(--sg-estate-gold-ink); outline-offset: 3px; } @media (prefers-reduced-motion: reduce) { :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) *, :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) *::before, :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) *::after { transition: none !important; animation: none !important; } } /* 10 / Tablet und Smartphones */ @media (max-width: 980px) { :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listframe { grid-template-columns: minmax(0, 1fr); gap: 35px; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-searchformfieldwrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listimage { aspect-ratio: 16 / 9; } } @media (max-width: 575px) { :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-searchformfieldwrap { grid-template-columns: minmax(0, 1fr); gap: 15px; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listimage { aspect-ratio: 4 / 3; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listinfo { padding: 21px; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listtitle { font-size: 23px; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listinfotable { font-size: 12px; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink { flex-direction: column; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink :is(.oo-details-btn, button.favorize) { width: 100%; } } /* 11 / KONTRAST-HÄRTUNG: Korrigiert weiße oder unsichtbare Theme-Buttons */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listobjectwrap .oo-listinfo { height: auto !important; min-height: 0 !important; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listinfotable { min-height: 0 !important; height: auto !important; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink { display: flex !important; visibility: visible !important; opacity: 1 !important; min-height: 52px; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink a.oo-details-btn, :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) a.oo-details-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 52px !important; max-width: 100%; padding: 14px 22px !important; background: #1C2520 !important; background-color: #1C2520 !important; border: 1px solid #1C2520 !important; border-radius: 0 !important; box-shadow: none !important; opacity: 1 !important; visibility: visible !important; color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; text-decoration: none !important; text-shadow: none !important; font: 650 12px/1.45 'Manrope', Arial, sans-serif !important; letter-spacing: .01em; transition: background-color .25s ease, border-color .25s ease, color .25s ease !important; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink a.oo-details-btn:hover, :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink a.oo-details-btn:focus-visible { background-color: #344037 !important; border-color: #BEA66A !important; color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink a.oo-details-btn::after { content: '↗'; display: inline-block; margin-left: 4px; color: #BEA66A !important; -webkit-text-fill-color: #BEA66A !important; font-size: 19px; line-height: 1; font-weight: 400; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink a.oo-details-btn:focus-visible { outline: 2px solid #826936 !important; outline-offset: 3px; } /* Gut lesbare Links/Favoriten ohne ungewollte weiße Hintergründe */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink button.favorize { background: #F7F5EF !important; color: #1C2520 !important; -webkit-text-fill-color: #1C2520 !important; border-color: #D9D3C5 !important; } :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink button.favorize:hover { background: #EAE7DE !important; border-color: #826936 !important; } /* Das Standardtemplate druckt bereits eine H1 oberhalb der Liste; unsere Seite hat schon eine. */ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-listheadline > h1 { display: none !important; } /* Für schmale Mobilansichten bleibt der Button gut bedienbar. */ @media(max-width:575px){ :is(.sg-onoffice-native, .elementor-widget-shortcode, .elementor-shortcode) .oo-detailslink a.oo-details-btn { width: 100% !important; } } /* ============================================================================ V23 / CONTENTBREITE – identisch mit Schramm & Garofano (.sg-wrap) Gilt NUR für das Shortcode-Widget mit sg-onoffice-native oder ein Elementor-Shortcode-Widget, das eine echte onOffice-Immobilienliste enthält. Keine Anpassung an Karten, Bildern, Buttons, Daten oder Detail-Links. ============================================================================ */ body .elementor-widget-shortcode.sg-onoffice-native, body .elementor-widget-shortcode:has(> .elementor-widget-container .oo-listframe) { --sg-estate-container-gutter: clamp(22px, 4vw, 75px); width: min(1380px, calc(100% - 2 * var(--sg-estate-container-gutter))) !important; max-width: 1380px !important; min-width: 0 !important; margin-left: auto !important; margin-right: auto !important; padding-left: 0 !important; padding-right: 0 !important; box-sizing: border-box !important; } /* Vorherige V20-Version verengte nur den inneren Widget-Container. Jetzt wird das Widget selbst begrenzt – innen wieder volle Breite. */ body .elementor-widget-shortcode.sg-onoffice-native > .elementor-widget-container, body .elementor-widget-shortcode:has(> .elementor-widget-container .oo-listframe) > .elementor-widget-container { display: block; width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; } @media (max-width: 767px) { body .elementor-widget-shortcode.sg-onoffice-native, body .elementor-widget-shortcode:has(> .elementor-widget-container .oo-listframe) { width: calc(100% - 42px) !important; } } @media (max-width: 390px) { body .elementor-widget-shortcode.sg-onoffice-native, body .elementor-widget-shortcode:has(> .elementor-widget-container .oo-listframe) { width: calc(100% - 36px) !important; } }/* End custom CSS */