/*
Theme Name: Bâleo Erlenmatt
Author: Portalworks
Version: 1.0.0
*/

:root {
  /* Farben */
  --primary-col: #484848;
  --light-col: #dcf1fb;
  --text-col: #333333;
  --accent-col: #d02f2d;
  --green-col: #7ba903;
  --border-col: #e5e5e5;

  /* Schrift */
  --main-font: "co-text", sans-serif;

  /* Abstände – die Desktop-Werte stehen in der 992er Media-Query */
  --header-h: 64px; /* Höhe des fixierten Headers */
  --section-y: 48px; /* vertikaler Innenabstand einer Sektion */
  --block-gap: 64px; /* Abstand vom Block zur nächsten Sektion */

  /* Wiederkehrende Werte */
  --underline-offset: 3px;
  --transition-colors:
    background-color 0.3s ease-in-out, border-color 0.3s ease-in-out,
    color 0.3s ease-in-out;
	
}

/* ==========================================================================
   2. Schriften
   ========================================================================== */

@font-face {
  font-family: "co-text";
  src:
    url("assets/fonts/co-text/co-text-regular.woff2") format("woff2"),
    url("assets/fonts/co-text/co-text-regular.woff") format("woff"),
    url("assets/fonts/co-text/co-text-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "co-text";
  src:
    url("assets/fonts/co-text/co-text-bold.woff2") format("woff2"),
    url("assets/fonts/co-text/co-text-bold.woff") format("woff"),
    url("assets/fonts/co-text/co-text-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   3. Base
   ========================================================================== */

body {
  font-family: var(--main-font);
  color: var(--text-col);
  padding-top: var(--header-h);
}

html {
	scrollbar-gutter: stable;
}

/* Sektions-Rhythmus und Seitentitel */
.row.card-gutter {
    --bs-gutter-y: 30px !important;
}
.section {
  padding: var(--section-y) 0;
}

.section-top-padding,
.section-top-padding-sm {
  padding-top: 45px;
}

.section-title {
  margin: 0 0 32px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2; /* 74/64 */
  color: #000;
}

.primary-btn {
  border: 1px solid var(--primary-col);
  border-radius: 28px;
  color: var(--primary-col);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  padding: 10px 21px;
  width: 100%;
  gap: 10px;
}

.primary-btn img {
  width: 24px;
  height: auto;
  object-fit: contain;
  transition: filter 0.2s ease;
}

.primary-btn:hover img {
  filter: brightness(0) invert(1);
}

.primary-btn:hover {
  color: #fff;
  background-color: var(--green-col);
  border: 1px solid var(--green-col);
}

/* Dauerhaft unterstrichener Link */
.link-underline,
.shop-card__website,
.contact__link,
.site-footer__menu a {
  text-decoration: underline;
  text-underline-offset: var(--underline-offset);
}

/* Weisser Link auf dunklem Grund, Unterstrich erst bei Hover */
.shop-card__phone:hover,
.site-footer__links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: var(--underline-offset);
}

/* Bild füllt seinen Wrapper – die Grösse bestimmt der Wrapper */
.hero__image,
.teaser-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logos und Icons im Wrapper links ausrichten */
.shop-hours__logo img,
.contact__icon img {
  object-position: left center;
}

/* Letztes Element einer Aufzählung ohne Abstand nach unten */
.text-media__text > *:last-child,
.contact__line:last-child,
.site-footer__links li:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   5. Header & Navigation
   ========================================================================== */

/* Header ist immer fixed (wie shopping-arena.ch), Schatten verstärkt sich beim Scrollen */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
}

/* Eingeloggt: Header unter der WP Admin-Bar positionieren */
body.admin-bar .site-header {
  top: 46px;
}

.site-header__brand {
  padding: 0;
}

.site-header__logo {
  height: 40px;
  width: auto;
}

.site-header__name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-col);
}

.main-nav {
  padding: 12px 0;
}

.main-nav .navbar-toggler {
  padding-left: 0;
  padding-right: 0;
  border: none;
}

.main-nav .navbar-toggler:focus {
  box-shadow: none;
}

/* Hamburger wie shopping-arena.ch: mittlere Linie kürzer, offen = X */
.main-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333333' stroke-linecap='round' stroke-width='2.5' d='M4 8h22M14 15h12M4 22h22'/%3e%3c/svg%3e");
}

.main-nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333333' stroke-linecap='round' stroke-width='2.5' d='M8 8l14 14M22 8L8 22'/%3e%3c/svg%3e");
}

.main-nav .nav-link {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--text-col);
  padding: 8px 0;
	padding-inline: 0 !important;
}

.nav-link:focus {
	box-shadow: none;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .nav-link.active {
  color: #000;
}

/* Dropdown-Pfeil — CUSTOM ICON: einfach die background-image URL austauschen,
   z.B. url("assets/img/dropdown-arrow.svg") */
.main-nav .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border: none;
  vertical-align: middle;
  background-image: url("assets/images/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.main-nav .navbar-collapse {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  clip-path: inset(0 0 -35px);
}

.main-nav .navbar-collapse .navbar-nav {
  padding: 8px 16px 16px;
}

/* Mobile Dropdown klappt wie das Bootstrap-Collapse auf (gleiche Animation), ohne Schatten.
   Die exakte Höhe setzt main.js beim Öffnen, damit die Animation smooth bleibt. */
.main-nav .dropdown-menu {
  display: block;
  min-width: 220px;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: max-height 0.4s ease-in-out;
}

.main-nav .dropdown-item {
  font-size: 16px;
  color: var(--text-col);
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.main-nav .dropdown-menu li:last-child .dropdown-item {
  border-bottom: none;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
  background-color: var(--primary-col);
  color: #fff;
}

.main-nav .dropdown-item.active {
  background-color: var(--text-col);
  color: #fff;
}

/* ==========================================================================
   6. Hero Slider
   ========================================================================== */

.hero {
  position: relative;
}

.hero-swiper {
  width: 100%;
  height: 60vw;
  min-height: 300px;
}

.hero__slide {
  position: relative;
}

.hero__slide-content {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

.hero__title {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}

/* Badge (roter Kreis) – mobil/Tablet oben rechts im Himmel, nicht über den Bäumen */
.hero__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  gap: 8px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--accent-col);
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
}

/* Nur der Text ist gedreht: so bleibt die Box des Kreises genau der Kreis und ragt nicht über das Bild hinaus */
.hero__badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: inherit;
  transform: rotate(10deg);
}

.hero__badge:hover {
  color: #fff;
  transform: scale(1.05);
}

.hero__badge-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.hero__badge-link {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
}

/* Swiper Navigation & Pagination */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #fff;
  --swiper-navigation-size: 25px;
}

.swiper-button-prev.hero-prev {
	left: 48px;
}

.swiper-button-next.hero-next {
	right: 48px;
}

.hero-swiper .swiper-pagination-bullet {
  width: 13px;
  height: 13px;
  margin: 0 11px !important;
  background-color: var(--text-col);
  opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.hero-swiper .swiper-pagination {
  bottom: 32px;
}

/* ==========================================================================
   7. Teaser Cards
   ========================================================================== */

.teaser-card {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.teaser-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.teaser-card__content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 28px;
}

.teaser-card__title {
  margin: 0 0 30px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.teaser-card__link {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
}

.teaser-card:hover .teaser-card__link {
  color: #fff;
  text-decoration: underline;
}

/* ==========================================================================
   8. Shops (Geschäfte)
   ========================================================================== */

/* 3D-Flip bei Hover (wie neumarktplatz-4-brugg.ch) */
.shop-card {
  height: 170px;
  perspective: 1000px;
}

.shop-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.shop-card:hover .shop-card__inner {
  transform: rotateY(180deg);
}

.shop-card__front,
.shop-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.shop-card__front {
  padding: 16px;
  background-color: #fff;
  border: 1px solid var(--border-col);
}

.shop-card__logo {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
}

.shop-card__back {
  padding: 16px;
  background-color: var(--primary-col);
  color: #fff;
  transform: rotateY(180deg);
  overflow: hidden;
}

.shop-card__name {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1; /* 24/21 */
}

.shop-card__contact {
  gap: 5px;
}

.shop-card__phone {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5; /* 24/16 */
  color: #fff;
  text-decoration: none;
}

.shop-card__website {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5; /* 24/16 */
  color: #fff;
}

.shop-card__website:hover {
  color: #fff;
}

/* ==========================================================================
   9. Öffnungszeiten
   ========================================================================== */

/* Tabelle wird in beiden Öffnungszeiten-Blöcken verwendet */
.hours-table td {
  font-size: 16px;
  line-height: 1.8; /* 28/16 */
  vertical-align: top;
}

.hours-table td.hours-table__day {
  padding-right: 50px;
  font-weight: 700;
  white-space: nowrap;
}

/* Generelle Öffnungszeiten */

.general-hours {
  padding-top: 48px;
}

.general-hours .section-title {
  margin-bottom: 40px;
}

/* Mobile bleibt der Banner im Container, ab lg läuft er über die volle Breite */
.general-hours__box .container {
  padding-left: 0;
  padding-right: 0;
}

/* Bild liegt absolut auf der linken Hälfte und läuft bis zum Bildschirmrand,
   der Text sitzt über offset-lg-6 in der rechten Container-Hälfte */
.general-hours__image-box {
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
}

.general-hours__image-mobile {
  height: 240px;
}

.general-hours__box {
  background-color: var(--light-col);
}

.general-hours__content {
  padding: 40px 24px;
}

/* Logo-Box: Grösse steht auf dem Wrapper, das Bild füllt sie (object-fit: contain) */
.general-hours__logo {
  width: 224px;
  max-width: 100%;
  height: 49px;
}

.general-hours__title {
  margin: 40px 0 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1; /* 34/32 */
  color: #000;
}

/* Öffnungszeiten je Geschäft */

/* Abstand zwischen den Karten */
.shop-hours__grid {
  --bs-gutter-y: 40px;
}

/* Logo-Box: Grösse steht auf dem Wrapper, das Bild füllt sie (object-fit: contain) */
.shop-hours__logo {
  width: 100%;
  max-width: 254px;
  height: 80px;
  margin-bottom: 25px;
}

/* Kurze Linie über dem Namen */
.shop-hours__name::before {
  content: "";
  display: block;
  width: 75px;
  margin-bottom: 25px;
  border-top: 3px solid #000;
}

.shop-hours__name {
  margin: 0 0 25px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1; /* 34/32 */
  color: #000;
}

.shop-hours__note {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

/* ==========================================================================
   10. Text mit Bild (Anreise & Parking)
   ========================================================================== */

/* Abstand nach unten laut Figma: 60px zwischen den beiden Blöcken */
.text-media {
  padding-bottom: 40px;
}

/* Nur der erste Block der Seite trägt den Seitentitel und damit den Abstand
   zum Header – die weiteren Blöcke schliessen direkt daran an */
.text-media--with-title {
  padding-top: 48px;
}

.text-media__title {
  margin: 0 0 25px;
  font-size: 32px;
  font-weight: 700;
  line-height: 34px;
  color: #000;
}

.text-media__text,
.text-media__text p,
.text-media__text li {
  font-size: 16px;
  font-weight: 400;
  line-height: 25.5px;
  letter-spacing: 0;
	color: #000;
}

.text-media__image {
  height: 240px;
}

/* Tabelle: Icon-Spalte, Bezeichnung, Wert rechts – Linie unter jeder Zeile */
.text-media__table {
  margin-top: 40px;
}

.text-media__table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--border-col);
  font-size: 17px;
  font-weight: 700;
  line-height: 25.5px;
  vertical-align: middle;
}

.text-media__table-icon {
  width: 60px;
}

/* Icons sind unterschiedlich gross, begrenzt wird auf 30x30px */
.text-media__table-icon img {
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
}

.text-media__btn {
  margin-top: 30px;
  padding: 14px 30px;
  border: 1px solid var(--primary-col);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-col);
  transition: var(--transition-colors);
}

.text-media__btn:hover,
.text-media__btn:focus {
  background-color: var(--green-col);
  border-color: var(--green-col);
  color: #fff;
}

/* ==========================================================================
   11. Kontakt
   ========================================================================== */

.contact {
  padding-bottom: var(--block-gap);
}

.contact__title {
  margin-bottom: 40px;
}

.contact__icon {
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
}

.contact__column-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

.contact__line {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2px;
}

.contact__link {
  color: inherit;
}

.contact__link:hover,
.contact__link:focus {
  color: #000;
}

/* ==========================================================================
   12. Lageplan
   ========================================================================== */

.lageplan {
  padding-bottom: var(--block-gap);
}

.lageplan__title {
  margin-bottom: 40px;
}

/* Etagen-Buttons: aktive Etage grün gefüllt, die übrigen weiss mit Rahmen */
.lageplan__tabs {
  row-gap: 10px; /* nur für den Umbruch auf kleinen Bildschirmen */
}

.lageplan__tab {
  margin-right: 20px;
  padding: 9px 21px;
  border: 1px solid var(--primary-col);
  border-radius: 28px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.21px; /* -1.5% */
  color: var(--primary-col);
  transition: var(--transition-colors);
}

.lageplan__tab:last-child {
  margin-right: 0;
}

.lageplan__tab:hover,
.lageplan__tab:focus-visible {
  border-color: var(--green-col);
  color: var(--green-col);
}

/* Steht absichtlich nach :hover – die aktive Etage bleibt auch beim Hover grün */
.lageplan__tab.is-active {
  background-color: var(--green-col);
  border-color: var(--green-col);
  color: #fff;
}

/* Die Pläne werden von main.js überblendet – nur der aktive Panel liegt im Fluss */
.lageplan__panel {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.lageplan__panel.is-active {
  display: block;
}

.lageplan__panel.is-visible {
  opacity: 1;
}

/* Feste Höhe, damit beim Umschalten nichts springt – der Plan wird eingepasst */
.lageplan__stage {
  height: 300px;
  margin: 40px 0;
}

.lageplan__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Legende: zwei Spalten, zeilenweise gefüllt (1 | 2 / 3 | 4 …) */
.lageplan__legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 40px;
}

.lageplan__legend-link {
  gap: 10px;
}

.lageplan__legend-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--light-col);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  color: #3a3a3a;
}

/* Co Text hat asymmetrische Metriken (Ascent 28 / Descent 9 pro 21px),
   darum sitzt die Ziffer im Flex-Center zu tief – optisch nachjustiert */
.lageplan__legend-number-text {
  display: block;
  line-height: 1;
  transform: translateY(-0.118em);
}

.lageplan__legend-name {
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.2px;
}

/* Lageplan mit interaktiver Karte (Mapplic): Karte + kompakte Mieterliste */
.lageplan__map {
  margin: 32px 0 28px;
}

.lageplan__map mapplic-map {
  display: block;
}

.lageplan__legend-link {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

button.lageplan__legend-link {
  cursor: pointer;
}

button.lageplan__legend-link:hover .lageplan__legend-name,
button.lageplan__legend-link:focus-visible .lageplan__legend-name {
  color: var(--green-col);
}

.lageplan__legend-item.is-active .lageplan__legend-number {
  background-color: var(--green-col);
  color: #fff;
}

.lageplan__legend-item.is-active .lageplan__legend-name {
  color: var(--green-col);
}

/* Kompakte Liste: auf dem Handy zwei Spalten, danach so viele wie Platz haben */
.lageplan__legend.lageplan__legend--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  max-width: none;
}

.lageplan__legend--compact .lageplan__legend-link {
  gap: 8px;
}

.lageplan__legend--compact .lageplan__legend-number {
  width: 24px;
  height: 24px;
  font-size: 13px;
}

.lageplan__legend--compact .lageplan__legend-name {
  font-size: 15px;
  line-height: 18px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .lageplan__legend.lageplan__legend--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 24px;
  }
}

@media (min-width: 1200px) {
  .lageplan__map {
    margin: 60px 0 48px;
  }

  .lageplan__legend.lageplan__legend--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 32px;
  }

  .lageplan__legend--compact .lageplan__legend-number {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .lageplan__legend--compact .lageplan__legend-name {
    font-size: 17px;
    line-height: 20px;
  }
}

/* ==========================================================================
   13. Karte
   ========================================================================== */

.map-block__embed {
  height: 400px;
}

.map-block__embed iframe,
.map-block__embed img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   14. Gewerbe
   ========================================================================== */
.gewerbe-section {
  margin-bottom: 100px;
}

.iso-img {
	margin-bottom: 100px;
	max-width: 525px;
	height:auto;
}

.iso-img svg {
	width: 100%;
	height: 100%;
	object-fit: contain;
	overflow: visible; /* angehobene Geschosse dürfen über den viewBox-Rand hinaus */
}

/* Isometrie: Hover Tabelle <-> SVG (main.js) */
.iso-floor {
  transition: transform 0.35s ease;
}

.iso-floor.is-lifted {
  transform: translateY(-300px); /* SVG-Einheiten (viewBox 1280x720); ab 300 sind alle Wohnungen erreichbar (QA) */
}

.iso-flat {
  cursor: pointer;
}

.iso-flat path {
  transition: fill 0.2s ease;
}

.iso-flat.is-active path {
  fill: var(--green-col);
}

.gewerbe-table tbody tr.is-hovered td,
.gewerbe-table-2 tbody tr.is-hovered td,
.wohnungen-table tbody tr.is-hovered td {
  background-color: var(--green-col);
  color: #fff;
}

/* Links (auch PDF-Icon) ohne eigenen Hintergrund, damit die Zeile einfarbig bleibt */
.gewerbe-table tbody tr.is-hovered td a,
.gewerbe-table-2 tbody tr.is-hovered td a,
.wohnungen-table tbody tr.is-hovered td a {
  background-color: transparent;
  color: #fff;
}

.gewerbe-table {
  margin-bottom: 20px;
}

.gewerbe-table tr th {
  background-color: var(--primary-col);
  color: #fff;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.gewerbe-table tr td {
  color: #000;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  border-top: 2px solid #f1eeeb;
  border-bottom: 2px solid #f1eeeb;
}

.gewerbe-table tr td a {
  color: #000;
}

.pdf-img {
  width: 24px;
  height: auto;
}

.text-under-table {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #000;
}

.table-2-wrapper {
  margin-top: 60px;
  max-width: 660px;
}

.table-2-wrapper h4 {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.gewerbe-table-2 {
  max-width: 550px;
  margin-bottom: 0;
}

.gewerbe-table-2 tr td {
  border-top: 2px solid #f1eeeb;
  border-bottom: 2px solid #f1eeeb;
  padding: 12px 25px;
	white-space: nowrap;
}

.table-mobile-item {
  padding: 10px 8px;
}

.table-mobile-item:first-child {
  padding-top: 0;
}

.table-mobile-item:last-child {
  padding-bottom: 0;
}

.gewerbe-table .hidden-row > td {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-mobile-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.gewerbe-section .primary-btn {
  margin-top: 30px;
}

/* ==========================================================================
   15. Wohnungen (Filter + Tabelle)
   ========================================================================== */
.wohnungen-section {
  padding-bottom: 80px;
}

/* Filterleiste: mobil alles untereinander, ab 768px in drei Zeilen,
   ab 1200px in einer Zeile (siehe Abschnitt 17) */
.wohn-filter {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 48px 0 32px;
}

.wohn-filter__label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}

/* Die Checkbox sitzt laut Design etwas tiefer als die Slider-Spur */
.wohn-filter__available .wohn-filter__label {
  margin-bottom: 21px;
}

/* Der zweite Slider hat keinen Titel – Platz wird nur gehalten, wenn beide
   Slider nebeneinander stehen */
.wohn-filter__label--placeholder {
  display: none;
}

.wohn-filter__selects {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wohn-filter__select {
  padding: 9px 16px;
  border: 1px solid #000;
  border-radius: 28px;
  background-image: url("assets/images/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 13px;
  font-family: var(--main-font);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: #000;
  appearance: none;
  cursor: pointer;
  transition: var(--transition-colors);
}

.wohn-filter__select:focus-visible {
  outline: none;
}

.wohn-filter__ranges {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Zwei-Griff-Slider: eine Spur als ::before, darüber zwei range-Inputs.
   Die Inputs selbst nehmen keine Klicks an, nur ihre Griffe. */
.wohn-filter__slider {
  --handle-size: 20px;
  --track-h: 6px;
  --track-col: #4848481f;
  --track-fill: #e9e9e9;
  position: relative;
  width: 100%;
  height: var(--handle-size);
}

/* Spur ausserhalb der Auswahl: weiss mit Rahmen */
.wohn-filter__slider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: var(--track-h);
  border: 2px solid var(--track-col);
  background-color: #fff;
  transform: translateY(-50%);
}

/* Ausgewählter Bereich zwischen den Griffen – die Grenzen setzt main.js
   als --from/--to (Pixel, gemessen an den Griffmitten) */
.wohn-filter__slider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--from, 0px);
  width: calc(var(--to, 100%) - var(--from, 0px));
  height: var(--track-h);
  background-color: var(--track-fill);
  transform: translateY(-50%);
}

.wohn-filter__handle {
  position: absolute;
  inset: 0;
  z-index: 1; /* ::after (die Füllung) wird nach den Kindern gemalt und würde sonst über den Griffen liegen */
  width: 100%;
  height: var(--handle-size);
  margin: 0;
  padding: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
}

.wohn-filter__handle:focus {
  outline: none;
}

.wohn-filter__handle::-webkit-slider-thumb {
  width: var(--handle-size);
  height: var(--handle-size);
  border: 0;
  border-radius: 50%;
  background-color: var(--primary-col);
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
}

.wohn-filter__handle::-moz-range-thumb {
  width: var(--handle-size);
  height: var(--handle-size);
  border: 0;
  border-radius: 50%;
  background-color: var(--primary-col);
  pointer-events: auto;
  cursor: pointer;
}

.wohn-filter__handle::-moz-range-track {
  background: transparent;
  border: 0;
}

.wohn-filter__value {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
	color: #000;
}

/* Checkbox: das echte Feld liegt unsichtbar darunter, sichtbar ist das SVG */
.wohn-filter__check {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.wohn-filter__check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.wohn-filter__check-icon {
  display: flex;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--primary-col);
  transition: color 0.2s ease-in-out;
}

.wohn-filter__check-icon svg {
  width: 100%;
  height: 100%;
}

/* Unangehakt bleibt nur der Kreis – der Haken kommt erst beim Anhaken */
.wohn-filter__check-mark {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.wohn-filter__check input:checked + .wohn-filter__check-icon {
  color: var(--primary-col);
}

.wohn-filter__check
  input:checked
  + .wohn-filter__check-icon
  .wohn-filter__check-mark {
  opacity: 1;
}

.wohn-filter__check-text {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}

/* Tabelle scrollt, der Kopf bleibt stehen */
.wohn-table-box {
  max-height: 395px;
  overflow-y: auto;
  margin-bottom: 30px;
}

.wohnungen-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background-color: var(--primary-col);
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.wohnungen-table tbody td {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.wohnungen-table tbody td a {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  text-decoration: none;
}

.wohnungen-table tbody td a:hover {
  text-decoration: underline;
}

.wohnen-btn {
  margin-right: 30px;
}

.wohnen-btn:last-child {
  margin-right: 0;
}

/* Atelier Creativa: gleiche Tabelle wie Wohnungen (Block blocks/atelier.php) */
.atelier-section {
  margin-bottom: 100px;
}

/* ==========================================================================
   16. Vorteile
   ========================================================================== */
.vorteile-section {
  background-color: var(--light-col);
  padding: 100px 0;
}

.vorteile-section .vorteile-title {
  color: #000;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 50px;
}

.vorteile-section .card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  background-color: var(--green-col);
}

.vorteile-section .card-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.vorteile-section .card-title {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #000;
  margin-bottom: 17px;
}

.vorteile-section p.text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
}

/* ==========================================================================
   18. Galerie Swiper
   ========================================================================== */
.galerie-swiper {
  padding: 70px 0;
}
.galerie-swiper .section-title {
  margin-bottom: 60px;
}

.galerie-swiper__slide {
  width: min(860px, 85vw);
  opacity: 0.33;
  transition: opacity 0.3s ease-in-out;
}

.galerie-swiper .swiper-slide-active {
  opacity: 1;
}

.galerie-swiper__slide a {
  display: block;
}

.galerie-swiper__image {
  display: block;
  width: 100%;
  aspect-ratio: 860 / 540;
  object-fit: cover;
}

/* Grüne Kreis-Pfeile, das Icon liegt als SVG im Button.
   Geteilt von Galerie Swiper und Text und Swiper */
.swiper-button-prev.galerie-prev,
.swiper-button-next.galerie-next {
  width: 36px;
  height: 36px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: var(--green-col);
}

.swiper-button-prev.galerie-prev::after,
.swiper-button-next.galerie-next::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  background-size: contain;
  background-repeat: no-repeat;
}

.swiper-button-prev.galerie-prev::after {
  background-image: url("assets/images/swiper-arrow-left.svg");
}

.swiper-button-next.galerie-next::after {
  background-image: url("assets/images/swiper-arrow-right.svg");
}

.galerie-swiper .galerie-swiper__progress {
  position: static;
  width: 113px;
  height: 6px;
  margin: 20px auto 0;
  border-radius: 3px;
  overflow: hidden;
  background-color: var(--border-col);
}

.galerie-swiper .galerie-swiper__progress-fill {
  display: block;
  width: 16px;
  height: 100%;
  border-radius: 3px;
  background-color: var(--green-col);
  transition: transform 0.3s ease-in-out;
}

.galerie-swiper__more {
  margin-top: 60px;
}

/* Lightbox: Bild vertikal zentriert statt an Lightbox2' Top-Offset */
.lightbox {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%);
}

/* Lightbox offen: Scrollbar hängt am html-Element, body { overflow: hidden }
   aus lightbox.css reicht also nicht gegen das Scrollen der Seite */
html:has(body.lb-disable-scrolling) {
  overflow: hidden;
}

/* ==========================================================================
   18b. Galerie (Raster)
   ========================================================================== */

.galerie__group + .galerie__group {
  margin-top: 60px;
}

.galerie__group-title {
  margin: 0 0 25px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}

.galerie__subgroup + .galerie__subgroup {
  margin-top: 40px;
}

.galerie__subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-col);
}

.galerie__link,
.galerie__image {
  display: block;
}

.galerie__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ==========================================================================
   18c. Text und Swiper
   ========================================================================== */

/* Der Slider ragt rechts aus dem Container bis an den Viewport-Rand –
   clip fängt den Scrollbar-Rest von 50vw ab */
.text-und-swiper {
  overflow-x: clip;
  padding-bottom: 80px;
}

.text-und-swiper__title {
  margin: 0 0 20px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

.text-und-swiper__text {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

.text-und-swiper__slide {
  width: 100%;
}

.text-und-swiper__image {
  display: block;
  width: 100%;
  aspect-ratio: 946 / 578;
  object-fit: cover;
}

.text-section .text,
.text-section .text a {
	color: #000;
}

/* ==========================================================================
   19. Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-col);
}

/* Dunkler Footer-Bereich */
.site-footer__main {
  padding: 45px 0 50px;
  background-color: var(--primary-col);
  color: #fff;
}

.site-footer__cols {
  margin-top: 30px;
}

.site-footer__logo {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.site-footer__name {
  font-size: 28px;
  font-weight: 700;
  color: #999999;
}

.site-footer__address {
  gap: 12px;
  margin-top: 12px;
}

.site-footer__address-icon {
  margin-top: 2px;
}

.site-footer__address p {
  font-size: 16px;
  line-height: 1.5;
}

.site-footer__links li {
  margin-bottom: 25px;
  line-height: 1.2;
}

.site-footer__links a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}

.site-footer__hours-title {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.site-footer__hours-row {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8; /* 28/16 */
}

.site-footer__hours-day {
  width: 88px;
}

.site-footer__inner {
  padding: 21px 0;
}

.site-footer__menu {
  gap: 5px;
}

.site-footer__menu li + li::before {
  content: "|";
  margin-right: 5px;
  color: var(--text-col);
}

.site-footer__menu a {
  font-size: 14px;
  color: var(--text-col);
}

.site-footer__menu a:hover {
  color: #000;
}

.site-footer__copyright {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.site-footer__management-logo {
  max-width: 450px;
  height: auto;
}

/* ==========================================================================
   20. 404
   ========================================================================== */
.error-404 {
  padding: 64px 0 72px;
  background-color: var(--light-col);
  text-align: center;
}

.error-404__code {
  margin: 0;
  font-size: clamp(110px, 22vw, 240px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.error-404__title {
  margin: 8px 0 16px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}

.error-404__text {
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-col);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.error-404__actions .primary-btn {
  width: auto;
  min-width: 200px;
  text-decoration: none;
  transition: var(--transition-colors);
}

.error-404__actions .primary-btn--filled {
  background-color: var(--primary-col);
  color: #fff;
}

.error-404__actions .primary-btn--filled:hover {
  background-color: var(--green-col);
  border-color: var(--green-col);
}

/* ==========================================================================
   17. Responsive
   Ein Media-Query pro Breakpoint, Reihenfolge wie die Abschnitte oben.
   ========================================================================== */

@media (min-width: 768px) {
  .primary-btn {
    width: fit-content;
  }
}

/* --------------------------------------------------------------------------
   ab 768px – Tablet
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  /* 15. Wohnungen – Dropdowns in Zeile 1, Slider in Zeile 2, Checkbox in Zeile 3 */
  .wohn-filter__selects {
    flex-direction: row;
  }

  .wohn-filter__select {
    width: 153px;
  }

  .wohn-filter__ranges {
    flex-direction: row;
    gap: 30px;
  }

  .wohn-filter__slider {
    width: 265px;
  }

  /* Beide Slider liegen jetzt auf einer Linie – Platz für den fehlenden Titel */
  .wohn-filter__label--placeholder {
    display: block;
    visibility: hidden;
  }

  /* 11. Kontakt – Spalten auf gleicher Höhe (Icon, Titel, Zeilen), Tablet 2 Spalten */
  .contact .row:has(> .col-md-4) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .contact .row > .col-md-4 {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    align-content: start;
    row-gap: 0;
    width: auto;
    max-width: none;
    margin-top: 0;
  }

  /* 12. Lageplan */
  .lageplan__legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
  }

  .gewerbe-table tr td a {
    text-decoration: none;
  }

  .gewerbe-table tr td a:hover {
    text-decoration: underline;
  }
}

/* --------------------------------------------------------------------------
   ab 783px – ab hier ist die WP Admin-Bar 32px hoch
   -------------------------------------------------------------------------- */

@media (min-width: 783px) {
  body.admin-bar .site-header {
    top: 32px;
  }
}

/* --------------------------------------------------------------------------
   ab 992px – Desktop
   -------------------------------------------------------------------------- */

@media (min-width: 992px) {
  /* 1. Tokens */
  :root {
    --header-h: 121px;
    --section-y: 80px;
    --block-gap: 100px;
  }
	
	.row.card-gutter {
    --bs-gutter-x: 30px !important;
}

  /* 4. Gemeinsame Klassen */
  .section-title {
    margin: 0 0 60px;
    font-size: 64px;
  }

  .section-top-padding {
    padding-top: 95px;
  }
  
	.section-top-padding-sm {
		padding-top: 55px;
	}
	
  /* 5. Header & Navigation – Logo zentriert oben, Menü darunter, Dropdown bei Hover */
  .main-nav {
    padding: 12px 0 10px;
  }

  .site-header__brand {
    margin: 0 0 20px;
  }

  .site-header__logo {
    height: 49px;
  }

  .main-nav .navbar-nav {
    gap: 8px 110px;
    padding: 0 !important;
  }
	
	.main-nav .nav-link {
		padding: 0 !important;
	}

  .main-nav .navbar-collapse {
    position: static;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    clip-path: none;
  }

  .main-nav .dropdown-menu {
    display: none;
    max-height: none;
    overflow: visible;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: none;
  }

  .main-nav .dropdown-menu.show,
  .main-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .main-nav .dropdown > .dropdown-toggle:active {
    pointer-events: none;
  }

  /* 6. Hero Slider */
  .hero-swiper {
    height: 780px;
    min-height: 0;
  }

  .hero__slide-content {
    top: 50%;
  }

  .hero__title {
    font-size: 76px;
  }

  .hero__badge {
    gap: 15px;
    width: 200px;
    height: 200px;
    top: 32px; /* auf allen Desktop-Breiten oben rechts im Himmel, nicht über den Bäumen */
    right: 32px;
  }

  .hero__badge-text {
    font-size: 19px;
  }

  .hero__badge-link {
    font-size: 16px;
  }

  /* 7. Teaser Cards */
  .teaser-card {
    height: 500px;
  }

  .teaser-card__content {
    padding: 40px 48px;
  }

  /* 8. Shops – 95px Titel zum Header, 100px Karten zur nächsten Sektion (Figma) */
  .shops {
    padding: 95px 0 var(--block-gap);
  }

  .shop-card {
    height: 178px;
  }

  .shop-card__logo {
    max-width: 240px;
    max-height: 110px;
  }

  .shop-card__back {
    padding: 25px;
  }

  .shop-card__name {
    margin: 0 0 25px;
    font-size: 21px;
  }

  .shop-card__phone,
  .shop-card__website {
    font-size: 16px;
  }

  /* 9. Öffnungszeiten */
  .general-hours {
    padding-top: 95px;
  }

  .general-hours .section-title {
    margin-bottom: 60px;
  }

  .general-hours__banner {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .general-hours__box .container {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
  }

  .general-hours__content {
    padding: 65px 40px 80px 95px;
  }

  .general-hours__title {
    font-size: 32px;
  }

  .shop-hours {
    padding: 75px 0 var(--block-gap);
  }

  .shop-hours__grid {
    --bs-gutter-y: 65px;
  }

  .shop-hours__logo {
    height: 85px;
  }

  .shop-hours__name {
    font-size: 32px;
  }

  /* 10. Text mit Bild */
  .text-media {
    padding-bottom: 60px;
  }
	
.text-media:nth-last-child(1 of .text-media) {
  padding-bottom: 100px;
}

  .text-media--with-title {
    padding-top: 95px;
  }

  /* Abstand zwischen Textspalte und Bild laut Figma */
  .text-media .row {
    --bs-gutter-x: 100px;
  }

  .text-media__image {
    height: 375px;
  }

  /* 11. Kontakt */
	
	.contact {
		padding-top: 95px;
	}

  .contact__column-title {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0;
  }

  .contact .row:has(> .col-md-4) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* 12. Lageplan – Abstände laut Figma: 80px Titel, 135px um den Plan, 155px zum Footer */
  .lageplan {
    padding-bottom: 155px;
	  padding-top: 95px;
  }

  .lageplan__stage {
    height: 560px;
    margin: 135px 0;
  }

  .lageplan__legend {
    gap: 25px 40px;
  }

  /* Legende in Figma-Grösse erst ab Desktop */
  .lageplan__legend-link {
    gap: 12px;
  }

  .lageplan__legend-number {
    width: 31px;
    height: 31px;
    font-size: 21px;
  }

  .lageplan__legend-name {
    font-size: 21px;
    line-height: 22px;
  }

  /* 13. Karte */
  .map-block__embed {
    height: 730px;
  }

  /* 14. Gewerbe */

  .gewerbe-table {
    max-width: 70%;
  }

  .wohnungen-section {
    padding-bottom: 125px;
  }

  .wohn-table-box {
    max-width: 90%;
  }

  /* 18. Galerie Swiper – Pfeile 30px neben dem aktiven Slide */
  .galerie-swiper {
    padding: 100px 0;
  }

  .galerie-swiper .swiper-button-prev.galerie-prev,
  .galerie-swiper .swiper-button-next.galerie-next {
    width: 40px;
    height: 40px;
  }

  .galerie-swiper .swiper-button-prev.galerie-prev {
    left: calc(50% - min(430px, 42.5vw) - 76px);
  }

  .galerie-swiper .swiper-button-next.galerie-next {
    right: calc(50% - min(430px, 42.5vw) - 76px);
  }

  .galerie-swiper .galerie-swiper__progress {
    margin-top: 24px;
  }

  /* 18b. Galerie (Raster) – Abstände laut Figma */
	.galerie {
		padding-top: 95px; 
		padding-bottom: 100px; 
	}
  .galerie__group + .galerie__group {
    margin-top: 100px;
  }

  .galerie__group-title {
    margin-bottom: 35px;
    font-size: 32px;
  }

  .galerie__subgroup + .galerie__subgroup {
    margin-top: 60px;
  }

  .galerie__subtitle {
    margin-bottom: 30px;
  }

  /* 18c. Text und Swiper */
  .text-und-swiper {
    padding-bottom: 100px;
  }
  .text-und-swiper__title {
    margin-bottom: 35px;
    font-size: 35px;
    line-height: 1.3;
  }

  .text-und-swiper__text {
    font-size: 17px;
  }

  .text-und-swiper__slider {
    width: calc(50vw - (var(--scrollbar-w, 0px) / 2) - 12px);
  }

  .text-und-swiper__slide {
    width: calc(100% - 95px);
  }

  .text-und-swiper .swiper-button-prev.galerie-prev {
    left: 15px;
  }

  .text-und-swiper .swiper-button-next.galerie-next {
    right: 110px;
  }
	
	.text-section {
		padding-top: 95px;
	}

  /* 15. Footer */
  .site-footer__cols {
    margin-top: 55px;
  }
}

/* --------------------------------------------------------------------------
   ab 1200px – hier passt die Filterleiste in eine Zeile (braucht ~1160px)
   -------------------------------------------------------------------------- */

@media (min-width: 1200px) {
  /* 15. Wohnungen */
  .wohn-filter {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin: 90px 0 60px;
  }

  /* Pillen sitzen auf der Höhe der Slider-Spur, nicht auf der Titelzeile */
  .wohn-filter__selects {
    margin-top: 18px;
  }
}

/* --------------------------------------------------------------------------
   ab 1400px – schmalerer Container für lange Textspalten
   -------------------------------------------------------------------------- */

@media (min-width: 1400px) {
  .custom-container {
    max-width: 1074px;
  }


  .shop-card__back {
    padding: 40px;
  }
}

/* Kontakt: 992–1199px sind die Spalten schmal – kleinerer Titel, damit "Gastro" nicht allein in einer Zeile steht */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .contact__column-title {
    font-size: 20px;
  }
}
