/* Site-Overrides — kleine Korrekturen ohne Original-CSS anzufassen */

/* Original verwendete <button>/<div>-Tags (kein Default-Underline + kein blau-color).
   Wir nutzen <a> für saubere Navigation — daher Browser-Defaults unterdrücken
   für ALLE Link-Klassen die wir aus <button>/<div> portiert haben. */
.nav-link,
a.nav-left,
.philosophie-button-contact,
.button-offices, .button-apartments, .button-parking, .button-storage,
.responsive-filter a.link,
.footer-link,
.footer-social-icon,
.footer-copyright-right,
.hidden-link,
.responsive-gallery-title .social {
  text-decoration: none;
  color: inherit;
}

/* nav-left ist <a> Wrapper um Logo + Title — color muss schwarz sein (wie Original-<div>) */
a.nav-left,
a.nav-left * {
  color: black;
  text-decoration: none;
  border-color: black;
}

/* Original-CSS für button > b + button > masked-icon (greift nur auf <button>).
   Wir mappen auf <a> mit gleichen Properties damit Layout pixel-identisch ist. */

/* Schaff-dir-Platz-Banner Buttons */
.responsive-categories > .top > a[class*="button-"] > b {
  font-family: Arial;
  float: left;
  letter-spacing: 0.23px;
  margin-top: 2px;
  margin-left: 15px;
}

/* Kategorie-Sektionen "Zeig mir mehr!"-Button (Büroräume, Wohnungen...) */
.responsive-filter > div > a.link {
  color: rgb(52, 143, 169); /* Türkis wie im Original (cadetblue-200) */
  text-decoration: none;
}
.responsive-filter > div > a.link > b {
  font-family: Arial;
  letter-spacing: 0.23px;
  float: left;
}
.responsive-filter > div > a.link > .masked-icon {
  font-family: Arial;
  color: rgb(52, 143, 169);
  height: 32px;
  margin-top: -4.5px;
  float: right;
}

/* Category-Page: Title-Farbe (war weiß auf weiß) */
.category-title-txt b,
.category-title-txt > * {
  color: #1e83a0;
}

/* === Listing-Card: als zusammenhängende Box mit runden Ecken === */
a.category-listing {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #348fa9;
  position: relative;
  /* KEIN overflow: hidden — Original-CSS positioniert .listing-availability
     mit margin-top: -400px ueber dem Bild, das wuerde sonst abgeschnitten */
}
a.category-listing:hover {
  text-decoration: none;
  transform: translateY(-2px);
  transition: transform 0.15s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Image: keine separaten Border-Margins die Card auseinander reißen */
a.category-listing > .listing-image {
  border: 0;
  margin: 0;
  border-radius: 0;
}

/* Data-Bereich: keine separate Border, passt nahtlos in die Card */
a.category-listing > .listing-data {
  border: 0;
  margin: 0;
  border-radius: 0;
  background-color: #348fa9;
}

/* Placeholder-Image: zentriert + großzügiges Padding */
a.category-listing > .listing-image[src*="_no_image"] {
  object-fit: contain;
  padding: 40px 80px;
  background: #1e83a0;
}

/* Listing-Cards: Text-Bereich vergrößern, damit Title + Adresse + Preis reinpassen.
   Original-CSS rechnet text-height (125-240px) je nach Screen-Breite, aber unsere Cards
   im Demo werden bei 3-Spalten-Layout zu schmal — Adressen wrappen auf 2-3 Zeilen. */
:root {
  --listing-text-height: 175px;
  --listing-height: 560px;
}
.listing-title {
  font-size: 19px;
  line-height: 1.25;
  word-wrap: break-word;
}
.listing-data-left {
  font-size: 16px;
  width: calc(70% - 48px) !important;
  max-width: calc(70% - 48px) !important;
}
.listing-address {
  font-size: 14px;
  line-height: 18px;
  margin-top: 6px;
}
.listing-data-right {
  font-size: 15px;
}

/* === Schaff-dir-Platz Banner: Buttons als <a> stylen wie <button> im Original ===
   Original-CSS adressiert nur ".top > button" (direkter button-Child).
   Da wir <a> für saubere Navigation nutzen, müssen wir den gleichen Style nochmal mappen. */
.responsive-categories > .top > a.link[class*="button-"] {
  position: absolute;
  font-size: var(--font-size-4xl);
  color: white;
  background-color: var(--color-cadetblue-200);
  border: 1px solid var(--color-cadetblue-200);
  border-radius: 20px;
  cursor: pointer;
  padding: 0 50px;
  width: 300px;
  height: 70px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  box-sizing: border-box;
}
.responsive-categories > .top > a.link[class*="button-"]:hover {
  text-decoration: none;
  background-color: var(--color-cadetblue-400);
}
.responsive-categories > .top > a.link[class*="button-"] > img {
  height: 32px;
  width: auto;
  flex: 0 0 auto;
}
.responsive-categories > .top > a.link[class*="button-"] > b {
  letter-spacing: 0.23px;
  flex: 1 1 auto;
}

/* Burger-Menu auf Mobile sichtbar */
@media (max-width: 720px) {
  .nav-menu.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    padding: 12px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
}

/* ===== Self-Storage-Demo — Direktlink-Leiste (nexcraft-labs.com) ===== */
.ss-demobar{
  background:#131b3f; color:#fff; font-size:13px;
  display:flex; flex-wrap:wrap; align-items:center; gap:6px 22px;
  padding:9px 24px;
}
.ss-demobar-label{ font-weight:700; color:#7fc4d6; text-transform:uppercase; letter-spacing:.5px; }
.ss-demobar a{ color:#fff; text-decoration:none; font-weight:600; padding:3px 0; border-bottom:2px solid transparent; }
.ss-demobar a:hover{ border-bottom-color:#1e83a0; text-decoration:none; }


.nav-admin-lock:hover,
.nav-admin-lock:focus { opacity: 1; }

/* Brand-Block (Logo + PLATZQUARTIER) weiter nach links */
.nav-left { margin-left: 20px !important; }



/* Dezenter Admin-Login (kaum sichtbar, hover-aufdeckend) */
.navbar { position: relative; }
#NavBar, #NavSpace { position: relative; }
.nav-admin-lock {
  position: absolute;
  top: 12px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: #1a1a1a;
  opacity: 0.18;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
  z-index: 9999;
  line-height: 1;
}
.nav-admin-lock:hover,
.nav-admin-lock:focus { opacity: 0.85; color: #1e83a0; }
.nav-admin-lock svg { display: block; }
.nav-admin-lock:hover,
.nav-admin-lock:focus { opacity: 1; }

/* ==========================================================================
 * 2026-06-11 Demo-vs-Original Sync — Fixes für:
 *   1. "Zeig mir mehr!"-Buttons (CMS rendert <a> statt <button>)
 *   2. Footer Social-Icons (IG/FB) Position
 *   3. Kontakt-Button :hover Hopser
 * ========================================================================== */

/* --- 2. Footer Social-Icons Position --- */
.footer-social {
  width: 175px;
  float: right;
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social-icon {
  cursor: pointer;
  background-color: #fff;
  height: 24px;
  width: 24px;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}
.footer-social-icon img {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

/* --- 3. Kontakt-Button Hover-Hopser fix (R10, härter) --- */
/* Ursache: Original-CSS hat .philosophie-button-contact:hover { display: flex }
 * → wechselt von inline-block (impliziert durch position:absolute) auf flex
 * → Kinder-Layout-Recompute → sichtbarer Sprung.
 * Fix: display in beiden States hart auf inline-block, Original-Regel überschreiben.
 */
.philosophie-button-contact,
.philosophie-button-contact:hover,
.philosophie-button-contact:focus,
.philosophie-button-contact:active {
  display: inline-block !important;
  text-decoration: none !important;
  transition: box-shadow 0.15s ease !important;
}
.philosophie-button-contact:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}
.philosophie-button-contact .gruppe-56,
.philosophie-button-contact:hover .gruppe-56 {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
}

/* statt 'flex' im Original — verhindert Layout-Shift */
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.philosophie-button-contact:hover .gruppe-56 {
  /* kein Transform, kein Position-Shift — nur sanfter Schatten */
}

/* ==========================================================================
 * 2026-06-11 R2 — Badge in die Karte + Layout fix für no-image Listings
 * ========================================================================== */

/* Card wieder mit overflow:hidden + Badge mit absolute positioning innerhalb */
a.category-listing {
  overflow: hidden;
}

/* Original-CSS hat .listing-availability mit margin-top: -400px (für Overlay
   über Bild ohne overflow-clip). Wir überschreiben das mit absoluter
   Positionierung damit Badge sichtbar IN der Karte ist. */
.listing-availability {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  margin: 0 !important;
  z-index: 5;
  float: none !important;
  max-height: none !important;
  padding: 6px 14px !important;
  border-radius: 14px !important;
}

/* Falls keine main_image_id: gleiche Card-Höhe, einfacher hellerer Fallback */
a.category-listing > .listing-image[src=""],
a.category-listing > .listing-image:not([src]) {
  display: none;
}
a.category-listing > .listing-image[alt=""] {
  /* okay, sichtbar wenn src gesetzt */
}
/* Card mit fehlendem Bild: Daten-Bereich auf volle Höhe ohne Layout-Sprung */
a.category-listing:has(> .listing-image:not([src])),
a.category-listing:has(> .listing-image[src=""]) {
  background-color: #348fa9;
}
a.category-listing:has(> .listing-image:not([src])) > .listing-data,
a.category-listing:has(> .listing-image[src=""]) > .listing-data {
  margin-top: 0;
  padding-top: 60px;
}

/* 2026-06-12 R3: Navbar schmäler, Logo + Menü innerhalb mit Luft */
.navbar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 64px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
}
.nav-left {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}
.nav-icon {
  /* R3-Größenlimit zurückgenommen 2026-06-12 R9 — Original-CSS (46.22 × 51) greift */
  width: auto !important;
  height: 51px !important;
  max-width: none !important;
  max-height: 51px !important;
}
.nav-title {
  font-size: 17px !important;
  line-height: 51px !important;
  margin-left: 8px !important;
}
.nav-right {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}
#NavMenu, .nav-menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  gap: 4px !important;
  align-items: center !important;
}
.nav-menu .nav-link {
  white-space: nowrap !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* 2026-06-12 R4: Logo-SVG nicht beschneiden, voll sichtbar */
.nav-icon {
  object-fit: contain !important;
  display: block !important;
}
#NavBar, .navbar { overflow: visible !important; }
#NavSpace, .navspace { overflow: visible !important; }

/* ==========================================================================
 * 2026-06-12 R5 — Detailseite: Map sticky bei langer Description
 * Vorbild: quartier-1060 (kurze Desc, ~ähnliche Höhe wie Map)
 * Problem: quartier-9560 (sehr lange Desc) → Map oben fixiert, darunter Lücke
 * Fix: Map klebt im sichtbaren Bereich, Layout bleibt symmetrisch
 * ========================================================================== */
.obj-area-top {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 20px !important;
}
.obj-data {
  width: calc(100% - 20px - var(--map-width)) !important;
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.obj-map {
  float: none !important;
  flex: 0 0 var(--map-width) !important;
  position: sticky !important;
  top: 20px !important;
  align-self: flex-start !important;
}

/* Beim Mobile-Breakpoint Stacking wiederherstellen */
@media screen and (max-width: 1359px) {
  .obj-area-top {
    flex-wrap: wrap !important;
  }
  .obj-data, .obj-map {
    flex: 1 1 100% !important;
  }
  .obj-map {
    position: static !important;
  }
}

/* ==========================================================================
 * 2026-06-12 R6 — Description neutralisieren gegen Copy-Paste-Inline-Styles
 * (z.B. willhaben.at HTML enthält background-color:#fff; color:#333; etc.)
 * ========================================================================== */
.obj-data-description,
.obj-data-description * {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  font-family: inherit !important;
  max-height: none !important;
  overflow: visible !important;
}
.obj-data-description p,
.obj-data-description ul,
.obj-data-description li,
.obj-data-description div,
.obj-data-description strong,
.obj-data-description span {
  font-size: inherit !important;
}

/* ==========================================================================
 * 2026-06-12 R7 — Detailseite-Refactor: Bilder rechts neben Beschreibung,
 *                 Map klein darunter (statt Galerie oben volle Breite)
 * ========================================================================== */
.obj-gallery {
  flex: 0 0 var(--map-width) !important;
  width: var(--map-width);
  height: 480px;
  background: rgba(0,0,0,0.05);
  border-radius: 20px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.obj-gallery .img-left,
.obj-gallery .img-right {
  flex: 0 0 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255,255,255,0.85);
  z-index: 2;
}
.obj-gallery .img-left { border-radius: 20px 0 0 20px; }
.obj-gallery .img-right { border-radius: 0 20px 20px 0; }
.obj-gallery .img-arrow {
  width: 18px; height: 18px;
}
.obj-gallery-scroll {
  flex: 1 1 auto;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 8px;
  padding: 0;
}
.obj-gallery-scroll::-webkit-scrollbar { display: none; }
.obj-gallery-scroll .img-instance {
  flex: 0 0 auto;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: #ffffff;
  cursor: zoom-in;
  scroll-snap-align: start;
}

/* Kleinere Map unter obj-area-top, volle Breite, gedrungen */
.obj-map-strip {
  width: 100%;
  height: 260px;
  margin: 24px 0 0 0;
  border-radius: 15px;
  overflow: hidden;
  border: 4px solid var(--color-white, #fff);
  background: var(--color-white, #fff);
}
.obj-map-strip iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* Mobile: stacken */
@media screen and (max-width: 1359px) {
  .obj-gallery {
    flex: 1 1 100% !important;
    width: 100% !important;
    position: static !important;
    margin-top: 20px;
  }
  .obj-map-strip {
    height: 220px;
  }
}

/* ==========================================================================
 * 2026-06-12 R8 — Map als letzte Kachel im Bilder-Slider
 * ========================================================================== */
.obj-gallery-map {
  flex: 0 0 auto;
  height: 100%;
  width: clamp(280px, 90%, 480px);
  scroll-snap-align: start;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  display: block;
}
.obj-gallery-map iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
/* obj-map-strip Regel aus R7 darf bleiben — wird nicht mehr gerendert,
   harmlos. */

/* ==========================================================================
 * 2026-06-12 R11 — Social-Icons in responsive-gallery-title sicher rechts
 * Originalwerte right:24/98px greifen bei voller Viewport-Breite über
 * unbekannten Container — manchmal abgeschnitten. Hier kompakt + sicher.
 * ========================================================================== */
.responsive-gallery-title {
  overflow: visible !important;
  padding-right: 100px;
}
.responsive-gallery-title > .social {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;
  width: 36px !important;
  height: 36px !important;
  left: auto !important;
}
.responsive-gallery-title > .social img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  display: block !important;
}
.responsive-gallery-title > .instagram { right: 70px !important; }
.responsive-gallery-title > .facebook  { right: 24px !important; }

/* ==========================================================================
 * 2026-06-12 R12 — Slider: ein Bild pro Position, kein Bleed auf nächstes
 * ========================================================================== */
.obj-gallery-scroll {
  scroll-snap-type: x mandatory !important;
  gap: 0 !important;
}
.obj-gallery-scroll > .img-instance,
.obj-gallery-scroll > .obj-gallery-map {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #ffffff !important;
  scroll-snap-align: start !important;
  scroll-snap-stop: always !important;
}
.obj-gallery-scroll > .obj-gallery-map {
  object-fit: unset !important;
}

/* ==========================================================================
 * 2026-06-12 R13 — Rechte Spalte: Bilder-Slider + kleiner Map-Plan drunter
 * ========================================================================== */
.obj-right-col {
  flex: 0 0 var(--map-width) !important;
  width: var(--map-width);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}
/* obj-gallery in R7 war sticky — hier in den Container hochgezogen */
.obj-right-col .obj-gallery {
  position: static !important;
  flex: 0 0 480px;
  height: 480px;
  width: 100%;
}
.obj-map-mini {
  flex: 0 0 auto;
  width: 100%;
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.obj-map-mini iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;

}
@media screen and (max-width: 1359px) {
  .obj-right-col {
    flex: 1 1 100% !important;
    width: 100% !important;
    position: static !important;
  }
  .obj-right-col .obj-gallery { height: 360px; flex: 0 0 360px; }
  .obj-map-mini { height: 160px; }
}

/* ==========================================================================
 * 2026-06-12 R14 — Bilder-Slider: Pfeile NEBEN Bild (nicht drunter)
 *                  + Quartieranfrage-Unterstrich weg
 * ========================================================================== */
.obj-gallery {
  display: flex !important;          /* 3 Kinder horizontal: ◀ | Bild | ▶ */
  align-items: stretch !important;
  flex-direction: row !important;
  overflow: hidden !important;
}
.obj-gallery .img-left,
.obj-gallery .img-right {
  flex: 0 0 44px !important;
  height: 100% !important;
  align-self: stretch !important;
}
.obj-gallery .obj-gallery-scroll {
  flex: 1 1 auto !important;
  min-width: 0 !important;           /* damit es nicht über parent ragt */
}

/* Quartieranfrage-Button: Browser-default <a> Underline weg */
.obj-data-contact a,
.obj-contact-area,
.obj-contact-area * {
  text-decoration: none !important;
}

/* ==========================================================================
 * 2026-06-12 R15 — Bilder-Feld bombenfest auf 360px kürzen
 * höchste Spezifität (obj-right-col + obj-gallery) und alles !important.
 * ========================================================================== */
.obj-right-col .obj-gallery,
.obj-area-top .obj-gallery {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex: 0 0 480px !important;
  height: 480px !important;
  min-height: 480px !important;
  max-height: 480px !important;
  width: 100% !important;
  overflow: hidden !important;
  position: static !important;
}
.obj-right-col .obj-gallery .obj-gallery-scroll {
  flex: 1 1 auto !important;
  height: 100% !important;
  max-height: 480px !important;
  min-width: 0 !important;
}
.obj-right-col {
  height: auto !important;
  max-height: none !important;
  align-self: flex-start !important;
}
.obj-map-mini {
  height: 160px !important;
}

/* ==========================================================================
 * 2026-06-12 R16 — Kontakt-Portrait größer
 * ========================================================================== */
.responsive-platzquartier-business-portrai-icon {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 1050px !important;
  display: block;
  border-radius: 16px;
  object-fit: cover !important;
  object-position: center top !important;
  margin: 0 auto;
}

/* ==========================================================================
 * 2026-06-12 R20 — Über uns Bild leicht kleiner skalieren (~12% Luft drumherum)
 * Original-Layout sonst unverändert.
 * ========================================================================== */
body .static-ber-uns .static-ber-uns1 .gruppe-89-icon,
.static-ber-uns1 > .left > .gruppe-89-icon,
img.gruppe-89-icon {
  max-width: 85% !important;
  width: 85% !important;
  margin: 0 auto !important;
  display: block !important;
}

/* ==========================================================================
 * 2026-06-12 R21 — Footer-Copyright: rechtes leeres div hat keine min-height
 * → kollabiert → Center wird nach rechts gedrückt. Symmetrisch min-height setzen.
 * ========================================================================== */
.footer-copyright-right {
  min-height: 10px !important;
  display: block !important;
}

/* ==========================================================================
 * 2026-06-12 R22 — Über uns: Top-Abstand oberhalb des Bildes wie andere Seiten
 * ========================================================================== */
.static-ber-uns,
.static-ber-uns1 {
  padding-top: 80px !important;
}
/* Die Original-Regel .left { height: calc(100%+100px); margin-bottom: -100px }
 * zieht das Bild 100px nach oben → kein sichtbarer Abstand. Neutralisieren. */
.static-ber-uns1 > .left {
  margin-bottom: 0 !important;
}

/* ==========================================================================
 * 2026-06-12 R23 — Kontakt-Bild bekommt Abstand zum linken Rand
 * ========================================================================== */
.responsive-kontakt > .responsive-platzquartier-business-portrai-icon {
  margin-left: 40px !important;
  width: calc(100% - 40px) !important;
}

/* ==========================================================================
 * 2026-06-12 R24 — Quartieranfrage-Button: Umrandung grau statt (default) blau
 * ========================================================================== */
.obj-contact-area {
  background-color: white !important;
  border-color: white !important;
  border-radius: 50px !important;
  color: var(--color-cadetblue-200) !important;
}
.obj-contact-area .obj-contact-text {
  color: var(--color-cadetblue-200) !important;
}
/* Symbol war ursprünglich weiß auf blau — neu: cadet-blue auf weiß per Filter */
.obj-contact-area img {
  filter: invert(43%) sepia(20%) saturate(720%) hue-rotate(155deg) brightness(95%) contrast(85%) !important;
}

/* ==========================================================================
 * 2026-06-12 R25 — Listing-Grid bei wenigen Items zentriert statt linksbündig
 * (PHP hängt Klasse cb-count-N an, N=Anzahl der Quartiere)
 * ========================================================================== */
.category-body.cb-count-1,
.category-body.cb-count-2 {
  grid-template-columns: repeat(auto-fit, minmax(0, 500px)) !important;
  justify-content: center !important;
}
/* ==========================================================================
 * 2026-06-12 R26 v2 — Abteile-Liste: cleanes Card/Pill-Design
 * ========================================================================== */
.obj-abteile {
  margin-top: 32px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(4px);
}
.obj-abteile-header {
  font-family: var(--font-verdana), sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  color: #fff;
  opacity: 0.95;
}
.obj-abteile-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  color: #fff;
}
.obj-abteile-table thead th {
  text-align: left;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
  padding: 0 14px 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.obj-abteile-table thead th:last-child { text-align: right; }
.obj-abteile-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: middle;
}
.obj-abteile-table tbody tr:last-child td { border-bottom: 0; }
.obj-abteile-table tbody tr { transition: background 0.15s; }
.obj-abteile-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.obj-abteile-table tbody td:first-child {
  font-weight: 600;
  font-size: 15px;
  width: 1%;
  white-space: nowrap;
}
.obj-abteile-table tbody td:nth-child(2) {
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}
.obj-abteile-table tbody td:last-child { text-align: right; }
/* Status-Pills */
.obj-abteile-table td .pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.obj-abteile-table tr.abt-available td:last-child .pill {
  background: rgba(154, 230, 175, 0.18);
  color: #b7f0c2;
}
.obj-abteile-table tr.abt-reserved td:last-child .pill {
  background: rgba(255, 214, 128, 0.18);
  color: #ffd680;
}
.obj-abteile-table tr.abt-booked td { opacity: 0.55; }
.obj-abteile-table tr.abt-booked td:last-child .pill {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255,255,255,0.55);
}
/* Mobile: stacked */
@media (max-width: 600px) {
  .obj-abteile { padding: 18px; }
  .obj-abteile-table tbody td { padding: 10px 8px; }
}

/* ==========================================================================
 * 2026-06-12 R27 — Horizontal-Scroll der ganzen Seite unterbinden
 * Inhalt klammt sauber am Viewport; nur Elemente mit eigenem overflow:scroll
 * (z.B. Bilder-Slider) können noch quer scrollen.
 * ========================================================================== */
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  max-width: 100vw;
}

/* ==========================================================================
 * 2026-06-12 R28 — Verfügbare Abteil-Zeilen klickbar (zur Kontakt-Seite)
 * ========================================================================== */
.obj-abteile-table tr.clickable {
  cursor: pointer;
}
.obj-abteile-table tr.clickable:hover {
  background: rgba(255,255,255,0.10);
}
.obj-abteile-table tr.clickable:hover td:last-child .pill {
  background: rgba(154, 230, 175, 0.30);
}

/* ==========================================================================
 * 2026-06-12 R29 — Mobile-Hardening: Hamburger-Menü + Layout-Fixes
 * ========================================================================== */

/* Burger-Button: nur bei mobile sichtbar */
.nav-burger {
  display: none;
  font-size: 26px;
  line-height: 1;
  padding: 8px 12px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 900px) {
  .nav-burger {
    display: inline-block !important;
  }
  /* Menü standardmäßig versteckt, ausklappbar */
  #NavMenu.nav-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #fff;
    flex-direction: column !important;
    padding: 12px 24px 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.10);
    z-index: 999;
  }
  #NavMenu.nav-menu.open {
    display: flex !important;
  }
  #NavMenu .nav-link {
    padding: 14px 0 !important;
    font-size: 18px !important;
    border-bottom: 1px solid #eee;
  }
  #NavMenu .nav-link:last-child { border-bottom: 0; }

  /* Navbar Layout-Korrektur */
  .navbar {
    padding-left: 12px !important;
    padding-right: 12px !important;
    position: relative;
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }
  .nav-left {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
  .nav-icon {
    width: auto !important;
    height: 60px !important;
    max-height: 60px !important;
    max-width: 80px !important;
    margin: 0 !important;
  }
  .nav-title { display: none !important; }
  .nav-right {
    margin-left: auto !important;
    flex: 0 0 auto !important;
  }
  .nav-admin-lock {
    display: inline-flex !important;
    align-items: center;
    margin-right: 4px;
    padding: 8px 10px;
    color: inherit;
  }
  .nav-admin-lock svg {
    width: 18px;
    height: 18px;
  }

  /* Hero-Filter-Buttons: nicht absolut sondern stacken */
  .responsive-categories > .top > .button-offices,
  .responsive-categories > .top > .button-apartments,
  .responsive-categories > .top > .button-parking,
  .responsive-categories > .top > .button-storage {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 8px auto !important;
    display: block !important;
  }

  /* Kontakt-Bild bei mobile: kein margin-left, kein min-height 1050 */
  .responsive-kontakt > .responsive-platzquartier-business-portrai-icon {
    margin-left: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: 480px !important;
  }

  /* Footer Social-Icons in Container halten */
  .footer-social {
    flex-wrap: wrap !important;
    width: auto !important;
    max-width: 100% !important;
    padding-right: 16px;
    justify-content: flex-end !important;
  }
  .footer-right {
    overflow: visible !important;
    padding-right: 8px !important;
  }
  .footer-social-icon {
    width: 28px !important;
    height: 28px !important;
    padding: 6px !important;
  }

  /* Object-Detailseite: Slider und Map drunter, voll-breit */
  .obj-right-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    position: static !important;
  }
  .obj-right-col .obj-gallery {
    height: 320px !important;
    flex: 0 0 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
  }
  .obj-area-top {
    flex-direction: column !important;
  }
  .obj-data {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
}

@media screen and (max-width: 600px) {
  /* Sehr kleine Screens: kompaktere Tabelle */
  .obj-abteile { padding: 14px 12px !important; }
  .obj-abteile-table th,
  .obj-abteile-table td { padding: 8px 6px !important; font-size: 13px !important; }
  .obj-abteile-table td .pill { padding: 3px 8px !important; font-size: 12px !important; }
}

/* ==========================================================================
 * 2026-06-12 R30 — Mobile Hero/Categories: nichts überlappt, alle Daten sichtbar
 * (Inhalte identisch zu Desktop)
 * ========================================================================== */
@media screen and (max-width: 1000px) {
  /* Top-Bereich der responsive-categories als flex-column */
  .responsive-categories > .top {
    height: auto !important;
    padding: 40px 20px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px;
  }
  .responsive-categories > .top > .filter-logo-platzquartier-icon {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 80px !important; height: auto !important;
  }
  .responsive-categories > .top > .txt-schaffdirplatz,
  .responsive-categories > .top > .txt-platzquartier,
  .responsive-categories > .top > .filter-txt-ichsuche {
    position: relative !important;
    top: auto !important; left: auto !important; right: auto !important;
    text-align: center !important;
    width: auto !important;
    margin: 0 !important;
  }
  .responsive-categories > .top > .filter-txt-ichsuche {
    font-size: 20px !important;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
  }
  .responsive-categories > .top > .line {
    position: relative !important;
    width: 80% !important;
    left: auto !important; top: auto !important;
    margin: 8px 0 !important;
  }
  /* Filter-Buttons: Inhalt (Icon + Text) zentriert */
  .responsive-categories > .top > .button-storage,
  .responsive-categories > .top > .button-offices,
  .responsive-categories > .top > .button-apartments,
  .responsive-categories > .top > .button-parking {
    width: min(300px, 80%) !important;
    height: 56px !important;
    padding: 0 24px !important;
    margin: 6px auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
  }
  .responsive-categories > .top > .button-storage > img,
  .responsive-categories > .top > .button-offices > img,
  .responsive-categories > .top > .button-apartments > img,
  .responsive-categories > .top > .button-parking > img {
    float: none !important;
    margin: 0 !important;
    height: 28px !important;
    width: auto !important;
  }
  .responsive-categories > .top > .button-storage > b,
  .responsive-categories > .top > .button-offices > b,
  .responsive-categories > .top > .button-apartments > b,
  .responsive-categories > .top > .button-parking > b {
    float: none !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  /* responsive-categories Bottom-Bereich kein riesiger top:950px */
  .responsive-categories > .bottom {
    position: relative !important;
    top: auto !important;
    height: auto !important;
  }

  /* Kontakt-Bild bei mobile SICHTBAR (Original versteckt es) — gleicher Inhalt wie Desktop */
  .responsive-platzquartier-business-portrai-icon {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 480px !important;
    min-height: 0 !important;
    margin: 16px 0 0 0 !important;
  }
}

/* ==========================================================================
 * 2026-06-12 R31 — Hero-Filter-Buttons: Storage oben links (Position tauschen)
 * Desktop: 2x2 Grid — neu: Storage TL, Büroräume TR, Wohnungen BL, Garagen BR
 * ========================================================================== */
@media screen and (min-width: 1001px) {
  .responsive-categories > .top > .button-storage {
    top: calc(50% + 0px) !important;
    left: calc(50% - 305px) !important;
    right: auto !important;
  }
  .responsive-categories > .top > .button-offices {
    top: calc(50% + 0px) !important;
    right: calc(50% - 305px) !important;
    left: auto !important;
  }
  .responsive-categories > .top > .button-apartments {
    top: calc(50% + 0px + 80px) !important;
    left: calc(50% - 305px) !important;
    right: auto !important;
  }
  .responsive-categories > .top > .button-parking {
    top: calc(50% + 0px + 80px) !important;
    right: calc(50% - 305px) !important;
    left: auto !important;
  }
}

/* Mittlerer Breakpoint (Tablet, Original hatte 1000px) */
@media screen and (max-width: 1200px) and (min-width: 1001px) {
  .responsive-categories > .top > .button-storage {
    top: calc(50% + 12px) !important;
    left: calc(50% - 150px) !important;
    right: auto !important;
  }
  .responsive-categories > .top > .button-offices {
    top: calc(50% + 92px) !important;
    left: calc(50% - 150px) !important;
    right: auto !important;
  }
  .responsive-categories > .top > .button-apartments {
    top: calc(50% + 172px) !important;
    left: calc(50% - 150px) !important;
    right: auto !important;
  }
  .responsive-categories > .top > .button-parking {
    top: calc(50% + 252px) !important;
    left: calc(50% - 150px) !important;
    right: auto !important;
  }
}

/* ==========================================================================
 * 2026-06-12 R32 — Footer-Right: Email + 2 Social-Icons in 175px gequetscht
 * → IG ragt raus. Width entfernen, Padding reduzieren.
 * ========================================================================== */
.footer-right {
  padding-right: 24px !important;
}
.footer-social {
  width: auto !important;
  max-width: 100% !important;
  flex-wrap: nowrap !important;
}
.footer-social .footer-link {
  white-space: nowrap;
  margin-right: 6px;
}

/* ==========================================================================
 * 2026-06-12 R33 — Kategorie ohne verfügbare Objekte:
 *   - Bild abgedimmt + diagonale Linie
 *   - Overlay-Label "Derzeit keine X verfügbar"
 * ========================================================================== */
.responsive-filter.cat-unavailable {
  position: relative;
}
.responsive-filter.cat-unavailable > .image > img {
  filter: grayscale(80%) brightness(0.7);
}
.responsive-filter.cat-unavailable::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom right,
    transparent 0%,
    transparent calc(50% - 2px),
    rgba(255,255,255,0.85) 50%,
    transparent calc(50% + 2px),
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}
.responsive-filter.cat-unavailable .cat-unavailable-label,
.responsive-filter.cat-unavailable .text {
  z-index: 2;
}
.responsive-filter > .image.cat-unavailable .cat-unavailable-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-family: var(--font-verdana);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ==========================================================================
 * 2026-06-12 R34 — Footer-Right vertikal zentriert (wie das Logo links)
 * ========================================================================== */
/* R34 v2 — footer-right vertikal mittig zum Logo (statt padding-top: 24 → 38) */
.footer-right {
  padding-top: 38px !important;
}
.footer-social {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: auto !important;
}
/* ==========================================================================
 * 2026-06-12 R35 v3 — Mobile Kategorien: Side-by-Side wie Desktop, kompakt
 *   Bild links 40% | Text+Button rechts 60% — Höhe 240px
 * ========================================================================== */
@media screen and (max-width: 779px) {
  .responsive-filter {
    display: flex !important;
    flex-direction: row !important;
    position: relative !important;
    width: 100% !important;
    height: 320px !important;
    margin: 16px 0 !important;
    background: var(--color-cadetblue-200, #348fa9) !important;
    color: #fff;
    overflow: hidden;
    border-radius: 0;
  }
  .responsive-filter > div,
  .responsive-filter > .left,
  .responsive-filter > .right,
  .responsive-filter > .image,
  .responsive-filter > .text {
    position: static !important;
    float: none !important;
    height: 100% !important;
    background: transparent !important;
    margin: 0 !important;
    left: auto !important; right: auto !important; top: auto !important;
    transform: none !important;
  }
  .responsive-filter > .image {
    flex: 0 0 40% !important;
    width: 40% !important;
    padding: 0 !important;
  }
  .responsive-filter > .image > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }
  .responsive-filter > .text {
    flex: 1 1 60% !important;
    width: 60% !important;
    padding: 14px 14px 44px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  .responsive-filter > .text > .title {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: auto !important; max-width: 100% !important;
    height: 38px !important;
    background: var(--color-cadetblue-220, #2a7a8f) !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 0 18px !important;
    margin: 0 auto 12px auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .responsive-filter > .text > .title > div {
    float: none !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
  }
  .responsive-filter > .text > .title img {
    height: 18px !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    opacity: 1 !important;
  }
  .responsive-filter > .text > .title b {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
  }
  .responsive-filter > .text > .intro {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important;
    margin: 6px 0 !important;
    flex: 1 1 auto;
    overflow: hidden;
  }
  /* Mobile Header im Desktop-Stil: groß, mit weißer Trennlinie drunter
   * (Desktop hat 21xl + position:absolute + line drunter — wir adaptieren proportional) */
  .responsive-filter > .text > .intro > .txt-header {
    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    color: #fff !important;
    display: block !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .responsive-filter > .text > .intro > .txt-header::first-letter {
    text-transform: uppercase !important;
  }
  /* Original-.line wieder einblenden — weiße Trennlinie wie Desktop */
  .responsive-filter > .text > .intro > .line {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: #fff !important;
    margin: 10px 0 10px 0 !important;
    position: static !important;
    border: 0 !important;
  }
  .responsive-filter > .text > .intro > .txt-header .non-mobile {
    display: inline !important;
  }
  .responsive-filter > .text > .intro > .txt-header .nobreak {
    white-space: normal !important;
  }
  .responsive-filter > .text > .intro .line {
    display: none !important;
  }
  .responsive-filter > .text > .intro .txt-content {
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: rgba(255,255,255,0.92);
    /* Begrenzte Zeilen damit es kompakt bleibt */
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .responsive-filter > .text > button.link {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: auto !important;
    min-width: 70% !important;
    max-width: 95% !important;
    height: 38px !important;
    margin: 0 auto 22px auto !important;
    padding: 0 18px !important;
    background: white !important;
    border: 1px solid white !important;
    border-radius: 999px !important;
    color: var(--color-cadetblue-200) !important;
    font-size: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    flex: 0 0 auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  }
  .responsive-filter > .text > button.link > b {
    float: none !important;
    color: var(--color-cadetblue-200) !important;
    letter-spacing: 0.2px;
    font-size: 13px !important;
  }
  .responsive-filter > .text > button.link > .masked-icon {
    float: none !important;
    height: 18px !important;
    width: 18px !important;
    margin: 0 !important;
  }
  .responsive-filter > .bottom {
    display: none !important;
  }
  /* cat-unavailable: Label NUR über das Bild (links 40%), Text-Bereich unberührt */
  .responsive-filter.cat-unavailable > .image {
    position: relative !important;
    overflow: hidden;
  }
  .responsive-filter.cat-unavailable .cat-unavailable-label {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(-10deg) !important;
    font-size: 11px !important;
    padding: 5px 10px !important;
    max-width: 90%;
    text-align: center;
    line-height: 1.2;
  }
  /* Diagonale Linie geht wieder über die GANZE Kategorie (Bild + Text) */
  .responsive-filter.cat-unavailable::after {
    display: block !important;
  }
  /* Bild bekommt keine eigene Diagonal-Linie mehr */
  .responsive-filter.cat-unavailable > .image::after {
    display: none !important;
  }
  .responsive-filter.cat-unavailable .cat-unavailable-label {
    z-index: 2;
  }
}



/* ==========================================================================
 * 2026-06-12 R36 — Back-to-top Button (mobile only)
 * ========================================================================== */
#back-to-top {
  display: none;
}
@media screen and (max-width: 900px) {
  #back-to-top {
    display: flex;
    position: fixed;
    right: 16px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-cadetblue-200, #348fa9);
    color: #fff;
    border: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9990;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
  }
  #back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  #back-to-top:hover,
  #back-to-top:active {
    background: var(--color-cadetblue-220, #2a7a8f);
  }
}

/* ==========================================================================
 * 2026-06-12 R37 — Empty-State auf objekte.php: leserlich + freundlich
 * ========================================================================== */
.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  width: 100%;
}
.empty-state-card {
  background: var(--color-cadetblue-200, #348fa9);
  color: #fff;
  padding: 40px 36px;
  border-radius: 18px;
  text-align: center;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.empty-state-icon {
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.empty-state-card h2 {
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.empty-state-card p {
  margin: 0 0 26px 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}
.empty-state-btn {
  display: inline-block;
  background: #fff;
  color: var(--color-cadetblue-200, #348fa9);
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.empty-state-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
@media (max-width: 600px) {
  .empty-state { padding: 32px 12px; }
  .empty-state-card { padding: 30px 22px; }
  .empty-state-card h2 { font-size: 19px; }
  .empty-state-card p { font-size: 14px; }
}

/* ==========================================================================
 * 2026-06-12 R38 — Kategorie-Button auf Desktop: Text einzeilig halten,
 *   Icon rechts mit gap, kein Float-Bruch bei längerem Text ("Kontakt aufnehmen")
 * ========================================================================== */
@media screen and (min-width: 780px) {
  .responsive-filter > div > button.link {
    width: auto !important;
    min-width: 380px;
    max-width: 90%;
    height: 84.28px !important;
    padding: 0 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    white-space: nowrap !important;
  }
  .responsive-filter > div > button.link > b {
    float: none !important;
    white-space: nowrap !important;
  }
  .responsive-filter > div > button.link > .masked-icon {
    float: none !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
}

/* ==========================================================================
 * 2026-06-12 R39 — Kategorie-Header dicker auf Desktop UND Mobile
 *   (Original wirkte zu fein für so prominenten Header)
 * ========================================================================== */
.responsive-filter > div > .intro > .txt-header,
.responsive-filter > .text > .intro > .txt-header {
  font-weight: 900 !important;
  letter-spacing: -0.2px;
}


/* ==========================================================================
 * 2026-06-12 R41 — Kategorie-Sektionen: nur Überschriften, kein Beschreibungstext
 * ========================================================================== */
@media screen and (max-width: 779px) {
  .responsive-filter > div > .intro > .txt-content,
  .responsive-filter > .text > .intro > .txt-content,
  .responsive-filter .txt-content {
    display: none !important;
  }
}

/* ==========================================================================
 * 2026-06-12 R42 — Mobile: Title-Pille auch kantenbündig wie Desktop
 * .text.right → Pille rechts an Kante, LINKER Bogen rund, rechter flach
 * .text.left  → Pille links an Kante, RECHTER Bogen rund, linker flach
 * ========================================================================== */
@media screen and (max-width: 779px) {
  /* Mobile: alle Title-Pillen ebenfalls rechts an Kante */
  .responsive-filter > .text > .title,
  .responsive-filter > .left > .title,
  .responsive-filter > .right > .title,
  .responsive-filter > .text.left > .title,
  .responsive-filter > .text.right > .title {
    margin-left: auto !important;
    margin-right: -14px !important;
    border-radius: 999px 0 0 999px !important;
    padding-right: 28px !important;
    padding-left: 18px !important;
  }
}

/* ==========================================================================
 * 2026-06-12 R43 — Schrift-Größen anpassen: Title kleiner, Header größer
 * ========================================================================== */

/* Mobile: Title-Pille größer, Header kleiner */
@media screen and (max-width: 779px) {
  .responsive-filter > .text > .title b {
    font-size: 17px !important;
    letter-spacing: 0.2px !important;
  }
  .responsive-filter > .text > .title img {
    height: 22px !important;
  }
  .responsive-filter > .text > .intro > .txt-header {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
}

/* ==========================================================================
 * 2026-06-12 R44 — Kategorie-Header: erste Phrase auf eigener Zeile
 *   Storage:    "Zu viel Zeug?" | "Schaff dir Platz! – Mieten Sie …"
 *   Offices:    "Büros mit Zukunft" | "- wir gestalten Ihren Arbeitsplatz"
 *   Apartments: "Wohnen mit Charakter" | "– unsere Objekte haben Persönlichkeit"
 *   Parking:    "Garagen mit Stil –" | "Ihr Auto in sicherer Umgebung"
 * ========================================================================== */
@media screen and (max-width: 779px) {
  .responsive-filter .txt-header > span:first-child {
    display: block !important;
  }
}


/* ==========================================================================
 * 2026-06-12 R45 v2 — Diagonal-Strich ÜBER der Title-Pille rendern
 *   Strich auf z-index 10, alle Sektion-Elemente bleiben drunter.
 *   Label bleibt am höchsten (z-index 20).
 * ========================================================================== */
.responsive-filter.cat-unavailable::after {
  z-index: 10 !important;
}
.responsive-filter.cat-unavailable .cat-unavailable-label {
  z-index: 20 !important;
}
.responsive-filter.cat-unavailable > .text > .title,
.responsive-filter.cat-unavailable > div > .title {
  z-index: 1 !important;
}
