[data-general-property-contact][hidden] {display:none;}
.property-mobile-summary,.property-contact-bar,.housing-promotions-swipe {display:none;}
[data-housing-business-login][hidden] {display:none !important;}
.search-agent-entry {display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:12px;color:var(--red-dark);font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:3px;}
.filter-apply {margin-top:14px;}
#objektanfrage,#finanzierungsrechner {scroll-margin-top:16px;}
.property-share-actions {display:flex;gap:inherit;}
.property-share-actions .property-facebook-share.h-btn {flex:none;width:44px;min-height:44px;padding:0;color:#0866ff;}
.property-facebook-share.h-btn svg {width:20px;height:20px;}

@media (max-width:740px) {
  body {font-size:16px;line-height:1.55;}
  .housing-masthead .masthead-tools,.housing-masthead .mobile-menu {display:none;}
  .housing-masthead .masthead-main {min-height:60px;}
  .housing-masthead .masthead-brand {max-width:185px;}

  .home-hero-new .hero-copy {padding:8px 0 12px;}
  .search-heading h1 {font-size:clamp(28px,8vw,38px);line-height:1.08;}
  .home-hero-new .hero-copy h1 {font-size:clamp(29px,8.8vw,39px);line-height:1.13;overflow-wrap:break-word;}
  .home-hero-new .hero-copy .eyebrow {margin-bottom:8px;font-size:16px;}
  .home-hero-new .hero-copy > p {margin-top:10px;font-size:18px;line-height:1.5;}
  .home-hero-new .hero-actions {gap:8px;margin-top:14px;}
  .home-hero-new .hero-member {font-size:14px;line-height:1.35;}
  .home-hero-new .hero-actions .h-btn,.home-hero-new ~ .search-container .housing-search > .h-btn {width:auto;min-height:44px;padding:8px 12px;gap:7px;border-radius:9px;font-size:14px;line-height:1.2;}
  .home-hero-new .hero-actions .h-btn svg,.home-hero-new ~ .search-container .housing-search > .h-btn svg {width:16px;height:16px;flex:none;}
  .home-hero-new ~ .search-container .housing-search > .h-btn {justify-self:start;}
  .home-hero-new ~ .search-container .housing-search label > span {margin-bottom:4px;font-size:13px;}
  .hero-property-visual {height:clamp(190px,51vw,300px);}
  .home-hero-new .hero-property-visual:has(> .hero-sponsored) {height:clamp(245px,79vw,430px);}
  .home-hero-new .hero-sponsored .hero-property-caption {inset:auto 11px 11px;padding:12px 58px 12px 13px;}
  .home-hero-new .hero-sponsored .hero-property-caption strong {font-size:clamp(19px,5vw,24px);overflow-wrap:anywhere;}
  .home-hero-new .hero-sponsored .hero-property-caption p {font-size:15px;}
  .housing-search {padding:14px;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));}
  .housing-search .location-search,.housing-search .h-btn {grid-column:1/-1;}
  .housing-search .h-btn {width:100%;}
  .housing-search label>span,.filter-form label>span {font-size:14px;}
  .housing-search input,.housing-search select,.filter-form input,.filter-form select,.results-toolbar select {min-height:44px;font-size:16px;}
  .search-heading {gap:12px;margin-bottom:16px;}
  .search-heading p {font-size:16px;margin-top:8px;}
  .search-heading .eyebrow {display:none;}
  .view-switch {display:flex;width:100%;}
  .view-switch button {flex:1;min-height:44px;justify-content:center;font-size:16px;}
  .filter-form {padding:14px;}
  .filter-primary,.filter-extra {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .filter-primary>label:first-child,.filter-primary>.h-btn {grid-column:1/-1;}
  .filter-form label {min-width:0;}
  .more-filters summary {min-height:44px;padding-block:8px;font-size:16px;}
  .more-filters summary>span {font-size:13px;}
  .filter-apply {width:100%;}
  .results-toolbar {gap:4px 12px;margin:16px 0 2px;font-size:14px;flex-wrap:wrap;}
  .property-grid.housing-result-grid {grid-template-columns:minmax(0,1fr);gap:13px;}
  .housing-result-grid > .property-card {display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);min-height:180px;border-radius:13px;}
  .housing-result-grid .property-image {height:auto;min-height:100%;}
  .housing-result-grid .property-image > a {position:absolute;inset:0;}
  .housing-result-grid .no-property-image {min-height:0;font-size:12px;padding:6px;text-align:center;gap:4px;}
  .housing-result-grid .property-image .property-status:not(.sold) {display:none;}
  .housing-result-grid .property-image .property-status.sold {inset:auto 4px 4px;font-size:10px;padding:3px;line-height:1.2;}
  .housing-result-grid .property-image > .housing-promotion-label {inset:auto auto 6px 5px;font-size:10px;}
  .housing-result-grid .property-image > .energy-house {width:24px;height:24px;inset:auto 4px 4px auto;}
  .housing-result-grid .property-image > .energy-house > span {font-size:13px;line-height:12px;inset:5px 0 0;}
  .housing-result-grid .property-image > .energy-house small {font-size:5px;line-height:5px;}
  .housing-result-grid .property-image .favorite-button {top:4px;right:4px;width:44px;height:44px;}
  .housing-result-grid .property-copy {padding:11px 10px;min-width:0;}
  .housing-result-grid .property-copy h3 {margin:3px 0 7px;font-size:19px;line-height:1.18;overflow-wrap:anywhere;}
  .housing-result-grid .property-city {font-size:13px;line-height:1.3;margin:0;}
  .housing-result-grid .property-facts {display:flex;flex-wrap:wrap;gap:4px 8px;margin:0 0 5px;font-size:13px;}
  .housing-result-grid .property-bottom {border:0;flex-direction:row;gap:3px;align-items:center;padding:2px 0 0;}
  .housing-result-grid .property-bottom > strong {font-size:clamp(17px,5vw,22px);line-height:1.2;}
  .housing-result-grid .property-bottom > a {display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:50%;background:#f8edf0;color:var(--red-dark);font-size:0;}
  .pagination .h-btn {min-height:44px;font-size:16px;}
  .housing-top-promotions,.search-results .housing-top-promotions {min-width:0;margin-block:16px 20px;padding:12px;border:1px solid #ead3da;border-radius:14px;background:#fff6f8;}
  .housing-top-promotions .housing-promotions-heading {gap:6px 9px;margin-bottom:10px;}
  .housing-top-promotions .property-grid {display:grid;grid-template-columns:none;grid-auto-columns:74%;grid-auto-flow:column;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;scrollbar-width:thin;}
  .housing-top-promotions .property-grid:has(> :only-child) {grid-template-columns:minmax(0,1fr);grid-auto-flow:row;}
  .housing-top-promotions .property-card {aspect-ratio:auto;scroll-snap-align:start;background:#fff;border:1px solid #e7ccd4;box-shadow:none;}
  .housing-top-promotions .property-card .property-image {position:relative;height:clamp(118px,34vw,172px);}
  .housing-top-promotions .property-card .property-copy {position:static;padding:7px 9px;background:#fff;color:var(--ink);}
  .housing-top-promotions .property-card .property-copy h3 {font-size:18px;}
  main:has(> .home-hero-new) > .housing-top-promotions .property-grid {grid-auto-columns:88%;}
  main:has(> .home-hero-new) > .housing-top-promotions .property-card .property-image {height:auto;aspect-ratio:3/2;}
  main:has(> .home-hero-new) > .housing-top-promotions .property-card .property-copy {padding:10px 11px;}
  main:has(> .home-hero-new) > .housing-top-promotions .property-card .property-copy h3 {font-size:20px;}
  .housing-top-promotions .property-city {color:var(--muted);font-size:13px;}
  .housing-top-promotions .property-card .property-bottom > a {width:44px;height:44px;min-height:44px;background:var(--red-dark);color:#fff;}
  .housing-top-promotions .property-card .property-bottom > a:hover {background:var(--red);}
  .housing-top-promotions .favorite-button {width:44px;height:44px;}
  .housing-promotions-swipe {display:flex;align-items:center;gap:6px;margin:7px 0 0;color:var(--muted);font-size:13px;}
  .housing-promotions-swipe p {margin:0 auto 0 0;color:inherit;font:inherit;}
  .housing-promotions-swipe button {min-width:44px;min-height:44px;border:1px solid #e7ccd4;border-radius:8px;background:#fff;color:var(--red-dark);font-size:19px;cursor:pointer;}
  .housing-promotions-swipe button:disabled {opacity:.45;cursor:default;}
  .housing-promotion-label,.housing-listing-banner-photo > .housing-promotion-label {background:#8d2346;color:#fff;border-color:#8d2346;}
  .housing-spotlight {grid-template-columns:minmax(0,35%) minmax(0,1fr);min-height:0;}
  .housing-spotlight-photo {min-height:150px;}
  .housing-spotlight > div {padding:10px;gap:4px;}
  .housing-spotlight h2,.housing-spotlight-price {font-size:18px;}
  .housing-spotlight .h-btn {min-height:44px;font-size:13px;padding:5px 8px;}
  .housing-listing-banner-middle {grid-template-columns:minmax(0,1fr);min-height:0;margin:12px -8px;padding:10px;border:1px solid #e1aebd;border-radius:18px;background:#f8e7ec;box-shadow:0 7px 25px #54162d24;}
  .housing-promotion-preview .housing-listing-banner-middle {margin-inline:0;}
  .housing-banner-heading {display:flex;align-items:center;gap:8px;padding:2px 2px 10px;color:var(--red-dark);font-size:15px;}
  .housing-listing-banner-media {border-radius:13px 13px 0 0;background:#fff;padding:8px 8px 0;}
  .housing-listing-banner-photo {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0;background:#fff;}
  .housing-listing-banner-photo img {position:static;display:block;width:100%;height:auto;border-radius:9px;background:#f6eff1;}
  .housing-listing-banner-photo .housing-banner-primary {grid-column:1/-1;aspect-ratio:5/4;}
  .housing-listing-banner-photo .housing-banner-secondary {display:block;aspect-ratio:3/2;}
  .housing-listing-banner-photo:has(img:nth-child(2):last-of-type) .housing-banner-secondary {grid-column:1/-1;aspect-ratio:5/2;}
  .housing-listing-banner-photo > .housing-promotion-label {display:none;}
  .housing-banner-favorite.favorite-button {display:grid;right:16px;top:16px;width:44px;height:44px;border:1px solid #eadce0;box-shadow:0 2px 8px #0002;}
  .housing-listing-banner-copy {padding:15px 14px 16px;gap:8px;border-radius:0 0 13px 13px;background:#fff;}
  .housing-banner-price {gap:5px 9px;}
  .housing-banner-price b {font-size:clamp(24px,6.4vw,34px);line-height:1.15;}
  .housing-banner-finance.h-btn {display:inline-flex;min-height:44px;padding:6px 9px;border-radius:999px;color:var(--red-dark);font-size:13px;text-align:center;}
  .housing-listing-banner-copy h3 {font-size:clamp(22px,5.9vw,30px);line-height:1.16;}
  .housing-listing-banner-location {font-size:15px;}
  .housing-banner-facts {width:100%;padding-block:10px;margin:2px 0;border-block:1px solid var(--line);font-size:14px;}
  .housing-listing-banner-copy .housing-banner-description:not([hidden]) {display:block;margin:0;color:var(--ink);font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;}
  .housing-listing-banner-link {width:100%;min-height:48px;justify-content:space-between;padding-inline:13px;font-size:16px;}
  .housing-spotlight p {font-size:13px;}
  .housing-map-panel .map-area .map-canvas,.property-page .housing-map-panel .map-area .map-canvas {height:clamp(280px,55svh,460px);}
  .map-preview {width:min(260px,66vw);}
  .map-reset {min-height:44px;}
  .pagination {gap:8px;flex-wrap:wrap;}

  .property-page .breadcrumbs {font-size:14px;gap:6px;flex-wrap:wrap;margin-bottom:12px;}
  .property-title {gap:12px;margin-bottom:14px;}
  .property-title .eyebrow {font-size:13px;margin-bottom:5px;}
  .property-title h1 {font-size:clamp(29px,8vw,39px);line-height:1.1;overflow-wrap:anywhere;}
  .property-title p {font-size:16px;margin-top:6px;}
  .property-title-actions {gap:8px;flex-wrap:wrap;}
  .property-title-actions .h-btn {font-size:15px;min-height:44px;padding:8px 12px;}
  .photo-gallery:not(.photo-gallery-empty) {height:auto;aspect-ratio:4/3;grid-template: minmax(0,1fr) / minmax(0,1fr);gap:0;border-radius:14px;}
  .photo-gallery > button:not(.gallery-main):not(.gallery-all) {display:none;}
  .photo-gallery > .gallery-main {grid-area:1/1;min-height:0;}
  .photo-gallery img {display:block;}
  .photo-gallery .gallery-all {right:10px;bottom:10px;min-height:44px;padding:8px 12px;font-size:14px;max-width:calc(100% - 20px);}
  .gallery-dialog {width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;}
  .gallery-dialog-bar {height:56px;padding:6px 12px;font-size:16px;}
  .gallery-dialog-stage {height:calc(100% - 56px);grid-template-columns:44px minmax(0,1fr) 44px;touch-action:pan-y pinch-zoom;}
  .gallery-dialog-stage img {max-height:calc(100dvh - 56px);}
  .gallery-dialog button {min-width:44px;min-height:44px;}
  .property-mobile-summary {display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--line);}
  .property-mobile-summary .detail-price {display:block;font-size:clamp(25px,7vw,32px);line-height:1.15;}
  .property-mobile-summary > div > span {font-size:14px;color:var(--muted);}
  .property-mobile-summary .h-btn {min-height:44px;font-size:15px;padding:8px 12px;}
  .property-mobile-summary .detail-loan-link {display:flex;align-items:center;min-height:44px;margin:0;font-size:15px;}
  .property-mobile-summary > div {flex-basis:100%;}
  .road-actions {gap:6px 12px;}
  .road-actions .h-btn,.road-actions .text-link {display:inline-flex;align-items:center;min-height:44px;font-size:15px;}
  .property-detail-layout {gap:20px;padding-top:14px;}
  .property-contact {display:none;}
  body:has(.property-contact-bar:not([hidden])):has(.mobile-bottom-nav) {padding-bottom:calc(60px + var(--mobile-nav-height));}
  body:has(.property-contact-bar:not([hidden])) .housing-toast {bottom:calc(65px + var(--mobile-nav-height));}
  .property-contact-bar {position:fixed;z-index:20;inset:auto 0 var(--mobile-nav-height);display:grid;grid-template-columns:minmax(0,1fr);padding:6px max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left));background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 20px #36202a18;}
  .property-contact-bar.property-general-contact-bar {grid-template-columns:auto minmax(0,1fr);gap:8px;}
  .property-contact-dialog {width:min(100% - 16px,480px);max-width:none;max-height:calc(100dvh - 16px - env(safe-area-inset-bottom));margin:auto auto calc(8px + env(safe-area-inset-bottom));padding:15px;border:1px solid var(--line);border-radius:16px;color:var(--ink);overflow-y:auto;overscroll-behavior:contain;}
  .property-contact-dialog::backdrop {background:#24151bb3;}
  .property-contact-dialog header {display:flex;justify-content:space-between;align-items:center;gap:8px;}
  .property-contact-dialog h2 {margin:0;font-size:22px;line-height:1.15;}
  .property-contact-dialog header button {min-width:44px;min-height:44px;padding:0;font-size:23px;justify-content:center;flex:none;}
  .property-contact-dialog .property-quick-contact {margin-top:12px;gap:10px;}
  .property-page .property-section {margin-top:0;padding:20px 0;}
  .property-facts-panel h2 {margin-bottom:10px;}
  .property-facts-highlights {padding:7px 0;}
  .property-facts-details > div {min-height:36px;padding:6px 0;}
  .property-facts-details dt,.property-facts-details dd {font-size:14px;}
  .property-facts-details .energy-house {max-height:30px;}
  .property-location-section .road-actions {gap:4px 12px;}
  .property-location-section .road-actions .h-btn {padding:8px 12px;}
  .property-page .loan-panel {padding:16px;}
  .property-page .loan-form {margin-top:14px;gap:12px;}
  .property-section h2,.loan-panel h2 {font-size:24px;line-height:1.18;}
  .description-copy,.content-article {font-size:16px;overflow-wrap:anywhere;}
  .housing-contact-form input:not([type=checkbox]),.housing-contact-form select,.housing-contact-form textarea,.loan-fields input {min-height:46px;font-size:16px;}
  .housing-contact-form label,.loan-fields label {font-size:15px;}
  .housing-contact-form .consent-check {align-items:flex-start;font-size:14px;}
  .housing-contact-form .consent-check input {flex-shrink:0;width:20px;height:20px;}
  .contact-optional summary {display:list-item;min-height:44px;padding-block:10px;}
  .content-contact .contact-two {grid-template-columns:minmax(0,1fr);}
  .loan-fields {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .loan-results output {overflow-wrap:anywhere;}
  .site-footer {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;font-size:15px;line-height:1.5;}
  .site-footer p,.site-footer h3,.footer-bottom,.footer-bottom button {font-size:15px;}
  .footer-brand>img {max-width:100%;}
  .footer-bottom>div {gap:8px 12px;}
  .site-footer h3 {margin-top:8px;}
  .housing-toast {width:max-content;max-width:calc(100% - 24px);font-size:15px;padding:10px 14px;bottom:calc(12px + var(--mobile-nav-height));}
  .housing-cookie-banner {bottom:calc(10px + env(safe-area-inset-bottom));}
  .housing-cookie-banner .h-btn {min-height:44px;white-space:normal;}
  .property-contact-bar .h-btn {min-height:44px;justify-content:center;gap:6px;padding:6px 10px;font-size:14px;line-height:1.15;text-align:center;white-space:normal;}
  .property-contact-bar svg {width:17px;height:17px;flex:none;}
  .property-page .property-section {margin-top:0;padding:20px 0;}
  .property-facts-panel h2 {margin-bottom:10px;}
  .property-facts-highlights {padding:7px 0;}
  .property-facts-details > div {min-height:36px;padding:6px 0;}
  .property-facts-details dt,.property-facts-details dd {font-size:14px;}
  .property-facts-details .energy-house {max-height:30px;}
  .property-location-section .road-actions {gap:4px 12px;}
  .property-location-section .road-actions .h-btn {padding:8px 12px;}
  .property-page .loan-panel {padding:16px;}
  .property-page .loan-form {margin-top:14px;gap:12px;}
  .property-section h2,.loan-panel h2 {font-size:24px;line-height:1.18;}
  .description-copy,.content-article {font-size:16px;overflow-wrap:anywhere;}
  .housing-contact-form input:not([type=checkbox]),.housing-contact-form select,.housing-contact-form textarea,.loan-fields input {min-height:46px;font-size:16px;}
  .housing-contact-form label,.loan-fields label {font-size:15px;}
  .housing-contact-form .consent-check {align-items:flex-start;font-size:14px;}
  .housing-contact-form .consent-check input {flex-shrink:0;width:20px;height:20px;}
  .contact-optional summary {display:list-item;min-height:44px;padding-block:10px;}
  .content-contact .contact-two {grid-template-columns:minmax(0,1fr);}
  .loan-fields {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .loan-results output {overflow-wrap:anywhere;}
  .site-footer {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;font-size:15px;line-height:1.5;}
  .site-footer p,.site-footer h3,.footer-bottom,.footer-bottom button {font-size:15px;}
  .footer-brand>img {max-width:100%;}
  .footer-bottom>div {gap:8px 12px;}
  .site-footer h3 {margin-top:8px;}
  .housing-toast {width:max-content;max-width:calc(100% - 24px);font-size:15px;padding:10px 14px;bottom:calc(12px + var(--mobile-nav-height));}
  .housing-cookie-banner {bottom:calc(10px + env(safe-area-inset-bottom));}
  .housing-cookie-banner .h-btn {min-height:44px;white-space:normal;}
}

/* The catalogue map uses the entire results area. */
.search-page .map-filter-toggle{display:none}
.search-page.is-map-view .map-filter-toggle{display:inline-flex}
.search-page [hidden]{display:none!important}
.search-results .search-map{position:static}
.search-map .housing-map-panel .map-area .map-canvas{height:clamp(480px,72svh,780px);max-height:none}
.map-listing-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ce2449}
.map-list-switch{
 position:absolute;z-index:2;bottom:34px;left:50%;transform:translateX(-50%);
 min-height:44px;display:flex;align-items:center;gap:8px;padding:8px 16px;white-space:nowrap;
 border:1px solid #cbd9d3;border-radius:10px;background:#fff;color:var(--ink);
 box-shadow:0 2px 8px #28252826;font:700 15px/1.25 'DM Sans',Arial,sans-serif;cursor:pointer;
}
.map-list-switch svg{width:18px;height:18px}
@media(max-width:700px){
 .search-page.is-map-view .search-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;margin-bottom:12px}
 .search-page.is-map-view .search-heading>div:first-child{grid-column:1/-1}
 .search-page.is-map-view .search-heading .eyebrow{display:none}
 .search-page.is-map-view .search-heading h1{font-size:clamp(22px,6vw,34px);margin:0}
 .search-page.is-map-view .search-heading p{font-size:14px;margin:4px 0}
 .search-page.is-map-view .view-switch{width:auto;margin:0}
 .search-page.is-map-view .map-filter-toggle{margin:0;min-height:44px;padding:6px 12px;font-size:14px;white-space:nowrap}
 .search-map .housing-map-panel .map-area .map-canvas{height:clamp(360px,66svh,650px)}
}
