/* =====================================================================
   CLS Global Styles – cleaned & grouped (non-breaking)
   ===================================================================== */

/* ========== 1) Filter & Sortierung (Mietpark / Sales) ========== */

.mietpark-filter, .sales-filter { margin-bottom: 20px; }

.filter-button-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.filter-button {
  font-family: 'montserrat', sans-serif;
  font-size: .7em;
  background: transparent;
  color: #04152D;
  border: 2px solid #04152D;
  padding: 10px 15px;
  margin: 2px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
}
.filter-button:hover,
.filter-button.active {
  background: #04152D;
  color: #fff;
  border: 2px solid #04152D;
}

/* Sortierung */
.sortierung-label {
  font-size: 0.75em;
  font-weight: 500;
  margin-right: 5px;
  color: #555;
}
.sortierung-select {
  padding: 6px 10px;
  font-size: 0.9em;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 250px;
  background-color: #fff;
}

/* Wrapper rund um Mietpark-Listen (Loader darin zentriert) */
.mietpark-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.mietpark-content { position: relative; min-height: 300px; }

#mietpark-loader {
  position: absolute; inset: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}

/* Loader-Spinner */
.spinner {
  width: 40px; height: 40px;
  border: 5px solid rgba(0, 0, 0, 0.2);
  border-top: 5px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Numerische Filter-Kacheln */
.gewicht-filter, .arbeitsbreite-filter {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #f9f9f9; padding: 10px 15px; border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  margin-top: 10px;
}
.gewicht-filter label, .arbeitsbreite-filter label {
  font-size: .9rem; font-weight: 600; color: #333; white-space: nowrap;
}
.gewicht-filter input[type="number"], .arbeitsbreite-filter input[type="number"] {
  width: 80px; padding: 6px; font-size: .9rem;
  border: 1px solid #ccc; border-radius: 3px; text-align: center; outline: none;
  transition: border .2s ease-in-out;
}
.gewicht-filter input[type="number"]:focus,
.arbeitsbreite-filter input[type="number"]:focus { border-color: #04152D; }
#gewicht-filter-button, #arbeitsbreite-filter-button {
  background: #04152D; color: #fff; font-size: .9rem; font-weight: 600;
  border: none; padding: 8px 12px; border-radius: 3px; cursor: pointer;
  transition: background .2s ease-in-out;
}
#gewicht-filter-button:hover, #arbeitsbreite-filter-button:hover { background: #333; }

/* Range-Filter-Container */
.filter-ranges-container {
  display: flex; flex-wrap: wrap; gap: 20px;
  background: #f9f9f9; padding: 10px 15px; border-radius: 5px;
}
.filter-range-wrapper { flex: 1; min-width: 250px; margin: 10px; }
.filter-range-wrapper label { font-size: .85em; margin-bottom: 10px; display: block; }
.range-values { font-size: .85em; color: #333; margin-top: 5px; text-align: center; }

/* jQuery UI Slider */
.ui-slider { background: #404040; border-radius: 4px; height: 6px; position: relative; }
.ui-slider-range { background-color: #2273B8 !important; border: none; }
.ui-slider .ui-slider-handle {
  width: 18px; height: 18px; background: #2273B8; border: 2px solid #fff;
  border-radius: 50%; cursor: pointer; top: -7px; position: absolute;
}

/* Mobile Anpassungen Filter */
@media (max-width: 768px) {
  .filter-button-row { justify-content: flex-start; align-items: flex-start; flex-direction: column; }
  .filter-button { padding: 7px 11px; }
  .sortierung-filter { margin-top: 20px; }
  .gewicht-filter, .arbeitsbreite-filter { flex-direction: column; align-items: flex-start; gap: 5px; }
  .gewicht-filter input[type="number"], .arbeitsbreite-filter input[type="number"] { width: 100%; }
  #gewicht-filter-button, #arbeitsbreite-filter-button { width: 100%; }
  .filter-ranges-container { flex-direction: column; }
}

/* ========== 2) „Personal“-Popup & Optionen (Übersichtskarten) ========== */

.mietanfrageliste-options {
  position: relative;
  display: flex;
  align-items: flex-start;  /* fix: war ungültig */
  gap: 10px;
  margin-bottom: 10px;
  flex-direction: column;
  justify-content: flex-end;
}

.menge-label, .personal-label { font-size: .85em; }
.menge-input-uebersicht { width: 60px; padding: 4px; }
.personal-checkbox-uebersicht { margin-right: 5px; }
.personal-toggle-container { margin-top: 8px; text-align: center; font-size: .8em; color:#555; }
.personal-toggle { margin-right: 5px; }

.personal-auswahl-popup {
  position: absolute; top: 110%; left: 0; background: #fff; border: 3px solid #ddd;
  padding: 12px; z-index: 999; box-shadow: 0 4px 10px rgba(0,0,0,.1); min-width: 220px;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  font-size: 13px; color: #1d1e1c;
}
.personal-auswahl-popup.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.personal-auswahl-popup::before {
  content: ""; position: absolute; top: -20px; right: 20px;
  border-width: 9px; border-style: solid; border-color: transparent transparent #ddd transparent;
}
.personal-auswahl-popup button {
  margin: 5px 10px 0 0; padding: 6px 12px; font-size: 12px; border: none; cursor: pointer;
  border-radius: 3px; transition: background-color .2s; font-weight: 500;
}
.personal-auswahl-popup .personal-ja { background-color: #2273B8; color: #1d1e1c; }
.personal-auswahl-popup .personal-nein { background-color: #1d1e1c; color: #fff; }
.personal-auswahl-popup button:hover { opacity: .8; }

@media (max-width: 600px) {
  .personal-auswahl-popup { width: 90%; left: 5%; right: 5%; }
}

/* ========== 3) Übersichten (Mietpark, Sales, Industry) & Karten ========== */

.mietpark-uebersicht { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-start; }
.sales-uebersicht, .industry-uebersicht { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-start; }

/* Karten */
.mietpark-item, .sales-item, .industry-item {
  background: #fff; border-radius: 0; box-shadow: 0 4px 10px rgba(0,0,0,.1);
  overflow: visible; display: flex; flex-direction: column; position: relative;
  transition: all .3s ease;
}
.mietpark-item { max-width: calc(25% - 20px); }
.sales-item   { max-width: calc(25% - 20px); }
/* .industry-item: Breite wird vom Carousel/Grid gesteuert */

/* Thumbnails */
.mietpark-item-thumbnail,
.sales-item-thumbnail,
.industry-item-thumbnail {
  width: 100%; height: 200px; overflow: hidden; position: relative; padding: 5px;
}
.mietpark-item-thumbnail img, .sales-item-thumbnail img {
  width: 100%; height: 100%;; object-fit: cover;  object-position: center; display: block; transition: transform .3s ease;
}
.mietpark-item-thumbnail:hover img, .sales-item-thumbnail:hover img { transform: scale(1.07); }

/* Karten-Content */
.mietpark-item-content, .sales-item-content, .industry-item-content {
  position: relative; overflow: visible; padding: 15px; flex-grow: 1;
  display: flex; flex-direction: column; width: 100%;
}
.mietpark-item-content { justify-content: space-between; }
.sales-item-content    { justify-content: space-between; }
.industry-item-content { justify-content: flex-start; }

.industry-meta-category { font-size: .9em; font-weight: 600; font-style: italic; }
.industry-meta-period   { font-size: .7em; font-weight: 500; }
.industry-card-kurzbeschreibung { padding: 20px 0; font-size: .9em; line-height: 1.2em; }

/* Links in Karten */
.mietpark-item-content .weiterlesen-link,
.sales-item-content .weiterlesen-link,
.industry-item-content .weiterlesen-link { color: #2273B8 !important; }
.mietpark-item-content .weiterlesen-link:hover,
.sales-item-content .weiterlesen-link:hover,
.industry-item-content .weiterlesen-link:hover { text-decoration: none !important; font-weight: 600 !important; }

/* Titel in Karten */
.mietpark-item-content h2, .sales-item-content h2, .industry-item-content h2 {
  font-size: 1.4rem; font-weight: 700; color: #000; margin-bottom: 10px;
}
.mietpark-item-content h2 a, .sales-item-content h2 a, .industry-item-content h2 a {
  color: #000; text-decoration: none;
}

/* Divider (falls genutzt) */
.mietpark-divider, .sales-divider { height: 3px; width: 40px; background: #2273B8; margin-bottom: 4px; }

/* Excerpts */
.mietpark-item-content .mietpark-excerpt,
.sales-item-content .sales-excerpt { font-size: 1rem; color: #555; margin-bottom: 20px; }
.sales-item-content .sales-excerpt ul li,
.mietpark-item-content .mietpark-excerpt ul li { margin-bottom: 0; line-height: 1.5; font-size: .85em; list-style-type: none;}

/* Button-Row */
.mietpark-button-row { display: flex; gap: 15px; flex-wrap: wrap; align-items: flex-end; }
.mietanfrageliste-options, .single-button-group { display: flex; flex-direction: column; gap: 5px; }

/* Industry Features (Basis – in Single weiter unten überschrieben) */
.industry-features {
  list-style: none; padding-left: 0; margin: .75rem 0 0;
  --feature-font-size: 16px; --feature-icon-size: 18px;
}
.industry-features li {
  position: relative; padding-left: 0; line-height: 2; font-size: 1em; font-weight: 500; border-bottom:0px dotted #ccc;
}
/*.industry-features li::before {
  content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; left: 0; top: .15em; font-size: var(--feature-icon-size); line-height: 1; color: #2273B8;*/
}

/* Responsive Karten-Grid (Mietpark/Sales) */
@media (max-width: 1200px) {
  .sales-item, .mietpark-item { max-width: calc(33% - 13.33px); }
}
@media (max-width: 1024px) {
  .mietpark-uebersicht, .sales-uebersicht { display: flex; }
  .mietpark-item, .sales-item { flex-direction: column; align-items: stretch; max-width: calc(50% - 20px); }
  .mietpark-item-thumbnail, .sales-item-thumbnail { width: 100%; height: 250px; }
  .mietpark-item-content, .sales-item-content { width: 100%; }
}
@media (max-width: 768px) {
  .mietpark-uebersicht, .sales-uebersicht { display: grid; grid-template-columns: 1fr; }
  .mietpark-item, .sales-item { flex-direction: column; max-width: 100%; }
  .mietpark-item-thumbnail, .sales-item-thumbnail { width: 100%; height: 200px; }
  .mietpark-item-content, .sales-item-content { width: 100%; }
}

/* ========== 4) Industry Carousel (Slider) ========== */

.industry-carousel {
  position: relative; max-width: 1300px; margin: 0 auto;
  --gap: 16px; --per-view: 3; --gutter: clamp(12px, 5vw, 48px);
  --arrow-shift: 60%; --arrow-color: #111; --arrow-hover: #000;
  --arrow-size: 56px; --arrow-hit: 72px;
  padding: 0 var(--gutter);
  isolation: isolate;
}

.industry-carousel-track {
  padding: 20px 10px 20px 5px;
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: auto !important; /* JS animiert */
  scroll-snap-type: none !important;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: 0; scroll-padding-right: 0;
  cursor: grab; touch-action: pan-y;
}
.industry-carousel-track.is-dragging {
  cursor: grabbing; user-select: none; -webkit-user-select: none;
}
.industry-carousel-track::-webkit-scrollbar { display: none; }
.industry-carousel-track { scrollbar-width: none; -ms-overflow-style: none; }

.industry-carousel .carousel-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--gap) * (var(--per-view) - 1))) / var(--per-view));
  gap: var(--gap); padding: 0; margin: 0;
}
/* .carousel-slide: leer – JS übernimmt */

.carousel-arrow {
  position: absolute; top: 50%;
  width: var(--arrow-hit); height: var(--arrow-hit);
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; padding: 0;
  color: var(--arrow-color); cursor: pointer; z-index: 9999; overflow: visible;
}
.carousel-arrow::before { content: none !important; }
.carousel-arrow svg { width: var(--arrow-size); height: var(--arrow-size); display: block; pointer-events: none; }
.carousel-arrow svg path { fill: currentColor; }
.carousel-arrow:hover { color: var(--arrow-hover); }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
.carousel-arrow.prev  { left: 0;  transform: translate(calc(-1 * var(--arrow-shift)), -50%); }
.carousel-arrow.next  { right: 0; transform: translate(var(--arrow-shift), -50%); }

@media (max-width: 1024px) { .industry-carousel { --per-view: 2; } }
@media (max-width: 640px)  { .industry-carousel { --per-view: 1; --arrow-shift: 0%; } }
.industry-carousel .industry-item { width: 100%; }

/* ========== 5) Single-Seiten: Sales & Mietpark (unverändert) ========== */

.sales-single-top, .mietpark-single-top {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
}
.sales-title-box, .mietpark-title-box {
  margin-top: 35px; order: 1; flex: 1 1 100%;
}
.sales-tech-details, .mietpark-tech-details {
  flex: 1 1 20%; padding: 2% 0; order: 2;
}
.cpt-image-sales, .cpt-image-mietpark {
  flex: 1 1 45%; max-width: 500px; order: 3;
}
.sales-tech-details h1, .mietpark-tech-details h1 { font-size: 1.8em; margin-bottom: 15px; }
.sales-tech-details ul, .mietpark-tech-details ul { padding-left: 0; list-style: none; }
.sales-tech-details li, .mietpark-tech-details li { border-bottom: 1px dotted #ddd; padding: 5px 0; }
.sales-tech-details li:last-child, .mietpark-tech-details li:last-child { border-bottom: none; }

@media screen and (max-width: 700px) {
  .sales-single-top, .mietpark-single-top { flex-direction: column; }
  .sales-tech-details, .mietpark-tech-details { order: 2; margin-bottom: 50px; }
  .cpt-image-sales, .cpt-image-mietpark { order: 1; margin: 20px 0; }
}

/* Bilder in Beiträgen (Sales/Mietpark) */
.cpt-image-mietpark, .cpt-image-sales { max-width: 800px; margin: 0 auto; }

/* Preise / Nummern */
.sales-angebot-nummer { font-size: 15px; font-weight: 500; color: #333; margin: 20px 0 0; }
.mietpark-angebot-nummer { font-size: 15px; font-weight: 500; color: #333; margin: 0 0 54px; }
.sales-preisdetails-lable { font-size: 15px; font-weight: 500; color: #333; display: block; float: left; }
.sales-verkaufspreis, .sales-preisdetails { font-size: 20px; font-weight: 700; color: #2273B8; margin-bottom: 20px; }

/* ========== 6) Single Industry – Grid-Layout & Meta ========== */

.industry-single-top {
  display: grid !important;
  grid-template-columns: minmax(260px,1fr) minmax(360px,1.4fr);
  grid-template-areas:
    "title    title"
    "meta     image"
    "features image";
  column-gap: 40px; row-gap: 24px; align-items: start;
}
.industry-single-top > * { order: 0 !important; flex: none !important; }

.industry-title-box       { grid-area: title;    margin-top: 35px; }
.industry-meta-single     { grid-area: meta;     padding: 2% 0; }
.industry-features-single { grid-area: features; padding: 2% 0; }
.cpt-image-industry       { grid-area: image;    max-width: 800px; justify-self: end; }

@media (max-width: 700px) {
  .industry-single-top {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "image" "meta" "features";
    gap: 20px;
  }
  .cpt-image-industry { justify-self: start; max-width: 100%; }
}

/* Meta-Block unter Titel */
.industry-meta-single {
  margin-top: 8px; display: grid; gap: .35rem; font-size: .95rem; line-height: 1.35;
}
.industry-meta-category-single { font-weight: 600; font-style: italic; color: #222; }
.industry-meta-period-single   { color: #666; font-size: .9em; }
.industry-card-kurzbeschreibung-single { margin-top: .25rem; color: #333; }

/* Features in Single wie Sales-Details (ohne Icons) */
.industry-features-single .industry-features { padding-left: 0; list-style: none; margin: 0; }
.industry-features-single .industry-features li {
  border-bottom: 1px dotted #ddd; padding: 5px 0; line-height: 1.4; font-weight: 400; padding-left: 0;
}
.industry-features-single .industry-features li:last-child { border-bottom: none; }
.industry-features-single .industry-features li::before { content: none !important; }
.industry-features-single { margin-top: 10px; }

/* ========== 7) Pagination & Spacers ========== */

.pagination { text-align: center; margin: 20px 0; }
.pagination .page-numbers {
  display: inline-block; padding: 10px 20px; margin: 0 5px;
  background: #f1f1f1; color: #333; text-decoration: none; border-radius: 4px;
}
.pagination .page-numbers:hover, .pagination .current { background: #333; color: #fff; }

.single-industry-spacer { height: 120px; }
.industry-template-spacer { height: 80px; }

/* ========== 8) Floating Buttons (Miet-/Sale-Anfrageliste) + Tooltip ========== */

#to-mietanfrageliste-wrapper,
#to-saleanfrageliste-wrapper {
  position: fixed; right: 0; z-index: 1000; background: transparent; border: none;
  width: 60px; height: 60px; display: flex; align-items: center; justify-content: right;
}
#to-mietanfrageliste-wrapper { top: 20%; }
#to-saleanfrageliste-wrapper { top: calc(20% + 50px); }

#to-mietanfrageliste-button {
  background:#1D1E1C; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #2273B8; border-radius: 3px 0 0 3px; border: none; transition: all .3s ease;
}
#to-mietanfrageliste-button:hover { color: #1D1E1C; background:#2273B8; }
#to-mietanfrageliste-button::before {
  content: attr(data-count);
  position: absolute; top: -10px; left: -4px;
  background: #2273B8; color: #1D1E1C; width: 25px; height: 25px; padding: 13px;
  font-size: 14px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease-in-out; border: 3px solid #fff;
}
#to-mietanfrageliste-button.has-items::before { opacity: 1; }

#to-saleanfrageliste-button {
  background:#2273B8; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #1D1E1C; border-radius: 3px 0 0 3px; border: none; transition: all .3s ease;
}
#to-saleanfrageliste-button:hover { color: #2273B8; background:#1D1E1C; }
#to-saleanfrageliste-button::before {
  content: attr(data-count);
  position: absolute; top: -10px; left: -4px;
  background: #2273B8; color: #1D1E1C; width: 25px; height: 25px; padding: 13px;
  font-size: 14px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s ease-in-out; border: 3px solid #fff;
}
#to-saleanfrageliste-button.has-items::before { opacity: 1; }

/* Tooltip */
#tooltip {
  display: flex; align-items: center; justify-content: center;
  position: absolute; left: -111px; top: 50%; transform: translateY(-50%);
  background: rgba(245,245,245,1); height: 45px; color: #000; padding: 8px 12px; border-radius: 0;
  font-size: 12px; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .4s, transform .4s;
}
#to-mietanfrageliste-link:hover #tooltip,
#to-saleanfrageliste-link:hover #tooltip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(-10px); }

/* ========== 9) Tabsystem (Single Seiten) ========== */

.sales-tabs { margin: 2em 0; border-bottom: 0; }
.tab-buttons {
  display: flex; gap: 0; border-bottom: 1px solid #ccc; margin-bottom: 1em;
}
.tab-button {
  padding: 10px 20px; background: #f8f8f8; border: 1px solid #ccc; border-bottom: none;
  border-radius: 0; margin-right: 2px; font-weight: 600; font-size: 14px; color: #333;
  cursor: pointer; transition: background-color .2s ease;
}
.tab-button:hover { background-color: #eaeaea; }
.tab-button.active {
  background: #fff; border-bottom: 2px solid #fff; color: #000; position: relative; top: 1px; z-index: 1;
}
.tab-content { display: none; background: #fff; padding: 20px 0 0 0; }
.tab-content.active { display: block; }

/* ========== 10) Anfragelisten-Ansichten (Seiten) ========== */

#mietanfrageliste-container, #saleanfrageliste-container {
  max-width: 900px; margin: 0 auto; padding: 20px;
}

.mietanfrageliste-item, .saleanfrageliste-item {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #ddd; padding: 12px 20px; margin: 5% 0; transition: all .3s ease;
}
.mietanfrageliste-item-thumbnail img, .saleanfrageliste-item-thumbnail img { width: 150px; height: auto; }

.mietanfrageliste-item-details, .saleanfrageliste-item-details {
  flex-grow: 1; display: flex; flex-direction: column; justify-content: center; margin-right: 10px;
}
.mietanfrageliste-item-details p, .saleanfrageliste-item-details p { margin: 5px 0; font-size: 16px; line-height: 1.4; }
.mietanfrageliste-item-details p strong, .saleanfrageliste-item-details p strong { font-weight: 700; color: #333; }

.menge-container { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.menge-input {
  width: 60px; height: 37px; padding: 5px; font-size: 14px; border: 1px solid #ccc; border-radius: 4px;
  text-align: center; margin-top: 1px;
}

.remove-from-mietanfrageliste,
.remove-from-saleanfrageliste,
.update-menge {
  background: transparent; color: #1D1E1C; border: 3px solid #1D1E1C;
  padding: 8px 15px; cursor: pointer; font-size: 14px; border-radius: 0; transition: background-color .3s;
}
.remove-from-mietanfrageliste:hover,
.remove-from-saleanfrageliste:hover,
.update-menge:hover {
  background: #1D1E1C; color: #fff; border-color: #1D1E1C;
}

.mietanfrageliste-button, .saleanfrageliste-button {
  background: #04152D; color: #fff; border: none; padding: 10px; cursor: pointer;
  font-size: 12px; border-radius: 0; transition: background-color .3s; font-weight: 500;
}
.mietpark-button-row .mietanfrageliste-button { min-height: 40px; margin-top: 5px; }
.mietpark-button-row #single-zurueck-button { min-height: 40px; margin-bottom: 10px; }

.mietanfrageliste-button.active, .saleanfrageliste-button.active { background: #2273B8; color: #1D1E1C; }
.mietanfrageliste-button:hover, .saleanfrageliste-button:hover { background: #2273B8; color: #fff; }

.mietanfrage-after, .saleanfrage-after { display: flex; flex-direction: row; justify-content: right; }

/* Zurück-Buttons */
.single-button-group { display: flex; flex-direction: row; justify-content: flex-start; }

#Zurueck-button,
#single-zurueck-button {
  background: transparent; color: #1D1E1C; border: 3px solid #04152D;
  padding: 10px; margin: 0 10px; cursor: pointer; font-size: 12px; font-weight: 600;
  border-radius: 0; transition: background-color .3s;
}
#Zurueck-button .active { background: #04152D; color: #fff; }
#Zurueck-button:hover, #single-zurueck-button:hover { background: #04152D; color: #fff; }

/* Leere-Listen-Hinweis */
#mietanfrageliste-container p, #saleanfrageliste-container p { text-align: center; font-size: 18px; color: #555; }

/* Responsives Verhalten Anfragelisten */
@media (max-width: 1024px) {
  #mietanfrageliste-container, #saleanfrageliste-container { padding: 15px; }
  .mietanfrageliste-item, .saleanfrageliste-item { padding: 10px 15px; }
  .menge-input { width: 50px; }
  /* fix: sale**a**nfrageliste */
  .remove-from-mietanfrageliste, .remove-from-saleanfrageliste, .update-menge { font-size: 13px; }
}
@media (max-width: 600px) {
  .mietanfrageliste-item, .saleanfrageliste-item {
    flex-direction: column; align-items: center; text-align: center; padding: 10px;
  }
  .mietanfrageliste-item-thumbnail, .saleanfrageliste-item-thumbnail { margin-bottom: 10px; }
  .mietanfrageliste-item-details, .saleanfrageliste-item-details { margin-bottom: 10px; font-size: 14px; }
  .menge-container { flex-direction: column; gap: 5px; margin-top: 10px; align-items: center; }
  .menge-input { width: 50px; }
  .remove-from-mietanfrageliste, .remove-from-saleanfrageliste, .update-menge { width: 100%; padding: 10px; }
  .mietanfrageliste-button, .saleanfrageliste-button { width: 100%; padding: 12px; }
}
@media (max-width: 480px) {
  .mietanfrageliste-item-details p, .saleanfrageliste-item-details p { font-size: 14px; }
  .remove-from-mietanfrageliste, .remove-from-saleanfrageliste { font-size: 12px; }
  .mietanfrageliste-button, .saleanfrageliste-button { padding: 10px; font-size: 14px; }
  .menge-input { width: 50px; }
}

/* ========== 11) Kleinkram ========== */

.mschine-box h3 { color: #0073aa; margin-bottom: 5px; }
