/* Theme2 Home: Minimap nutzt verfügbare Höhe wie .dl-card__image (gleiche Höhe wie Dish-Bild) */
/* Hero-H1: zentral in base/widgets-headlines.css (.base-headline-h1-hero) */

/* Zeilenausrichtung: Labels und Abstände einheitlich, damit dl-input pro Zeile auf einer Linie liegen */
.home-filter-panel .base-form-label {
 min-height: 1.25rem;
 line-height: 1.25;
 display: block;
}
.home-filter-panel .screen-home-filter-field-dish,
.home-filter-panel .screen-home-filter-field-dish-open {
 display: flex;
 flex-direction: column;
 gap: 6px;
 position: relative;
}
.home-filter-panel .dl-search__fields {
 align-items: start;
 display: flex;
 flex-direction: column;
 gap: 10px;
}

.home-filter-panel .dl-search__field {
 display: flex;
 flex-direction: column;
 gap: 10px;
 width: 100%;
}

.home-filter-panel .dl-search__field,
.home-filter-panel .screen-home-filter-field-kitchen,
.home-filter-panel .screen-home-filter-field-gang,
.home-filter-panel .screen-home-filter-field-land,
.home-filter-panel .screen-home-filter-field-place,
.home-filter-panel .screen-home-filter-field-radius {
 display: flex;
 flex-direction: column;
 gap: 10px;
}

/* Alle Filter-Elemente (.dl-input, .dl-range): einheitliche Höhe 48px */
.home-filter-panel .dl-input,
.home-filter-panel .dl-range {
 min-height: 48px;
 height: 48px;
 display: flex;
 align-items: center;
 width: 100%;
 max-width: 100%;
 box-sizing: border-box;
 overflow: hidden;
}
.home-filter-panel .dl-range {
 flex-direction: column;
 justify-content: center;
 padding: 6px 12px;
 gap: 2px;
 margin-top: 0;
}
.home-filter-panel .dl-range__hint {
 margin-top: 0;
 line-height: 1;
 font-size: 0.7rem;
 order: 2;
}
.home-filter-panel .dl-range__input {
 order: 1;
 min-height: 20px;
}

.home-filter-panel {
 background: rgba(255, 255, 255, 0.95);
 border-radius: var(--dl-radius-lg);
 box-shadow: var(--dl-shadow-soft);
 padding: 18px 20px 16px;
 width: 100%;
 max-width: 100%;
 box-sizing: border-box;
 overflow-x: hidden;
}

.screen-home-main-layout {
 display: grid;
 grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
 gap: 20px;
 align-items: start;
max-width: 1440px;
margin: 0 auto;
}

.screen-home-main-layout.screen-home-filters-layout-collapsed {
 grid-template-columns: 64px minmax(0, 1fr);
}

.screen-home-filters-column {
 position: sticky;
 top: 20px;
 align-self: start;
 background: rgba(255, 255, 255, 0.95);
 border-radius: var(--dl-radius-lg);
 box-shadow: var(--dl-shadow-soft);
 padding: 14px;
}

.screen-home-filters-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 10px;
 margin-bottom: 10px;
}

.screen-home-filters-header .base-headline-h2 {
 margin: 0;
}

.screen-home-filters-header #screen-home-filters-toggle {
 min-width: 60px;
 min-height: 40px;
 padding: 0 12px;
 border-radius: 999px;
 border: 1px solid rgba(69, 127, 61, 0.32);
 background: linear-gradient(180deg, #ffffff 0%, #f1f8ef 100%);
 color: var(--dl-accent);
 font-size: 0.92rem;
 font-weight: 700;
 letter-spacing: 0.02em;
 line-height: 1;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 8px 18px rgba(26, 38, 50, 0.08);
 transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.screen-home-filters-header #screen-home-filters-toggle:hover {
 transform: translateY(-1px);
 border-color: rgba(69, 127, 61, 0.5);
 background: linear-gradient(180deg, #ffffff 0%, #e9f4e6 100%);
 box-shadow: 0 10px 22px rgba(26, 38, 50, 0.12);
}

.screen-home-filters-header #screen-home-filters-toggle:focus-visible {
 outline: 0;
 border-color: var(--dl-accent);
 box-shadow: 0 0 0 3px rgba(69, 127, 61, 0.24), 0 10px 22px rgba(26, 38, 50, 0.12);
}

.screen-home-filters-body {
 display: block;
}

.screen-home-filters-column.screen-home-filters-collapsed .screen-home-filters-body {
 display: none;
}

.screen-home-filters-column.screen-home-filters-collapsed {
 padding: 10px;
}

.screen-home-filters-column.screen-home-filters-collapsed .screen-home-filters-header {
 margin-bottom: 0;
 justify-content: center;
}

.screen-home-filters-column.screen-home-filters-collapsed .screen-home-filters-header .base-headline-h2 {
 display: none;
}

.screen-home-filters-layout-collapsed .screen-home-filters-column {
 background: transparent;
 box-shadow: none;
 padding: 0;
 border-radius: 0;
}

.screen-home-filters-layout-collapsed #screen-home-filters-toggle {
 min-width: 52px;
 min-height: 52px;
 width: 52px;
 height: 52px;
 border-radius: 0 14px 14px 0;
 background: linear-gradient(180deg, #4f9d44 0%, #357e2b 100%);
 border: 1px solid #2f7128;
 color: #ffffff;
 font-weight: 700;
 position: fixed;
 left: 0;
 top: 240px;
 z-index: 1200;
 box-shadow: 0 12px 26px rgba(24, 43, 23, 0.32);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 0;
 font-size: 1rem;
 letter-spacing: 0.02em;
 transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.screen-home-filters-layout-collapsed #screen-home-filters-toggle:hover,
.screen-home-filters-layout-collapsed #screen-home-filters-toggle:focus-visible {
 transform: translateX(1px);
 background: linear-gradient(180deg, #58ab4a 0%, #3f8d33 100%);
 border-color: #32762b;
 color: #ffffff;
 box-shadow: 0 14px 28px rgba(24, 43, 23, 0.36);
}

.screen-home-content-column {
 min-width: 0;
width: 100%;
}

.screen-home-filters-mobile-toggle {
 display: none;
}

.screen-home-filters-overlay {
 display: none;
}

/* Filter-Inputs Dish und Place: 1:1 wie Preis-Feld (Hintergrund, Rahmen) */
.screen-home-filter-field-dish .dl-input,
.screen-home-filter-field-dish-open .dl-input,
.screen-home-filter-field-place .dl-input {
 padding: 8px 14px;
 background: var(--dl-input-bg);
 border: 1px solid var(--dl-border-soft);
 border-radius: 999px;
}

.screen-home-filter-field-dish .dl-input,
.screen-home-filter-field-dish-open .dl-input {
 padding-right: 42px;
}

.screen-home-dish-clear-button {
 position: absolute;
 right: 10px;
 top: 50%;
 transform: translateY(-50%);
 border: 0;
 background: transparent;
 color: var(--dl-text-soft);
 font-size: 1.1rem;
 line-height: 1;
 width: 22px;
 height: 22px;
 border-radius: 999px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 z-index: 3;
}

.screen-home-dish-clear-button:hover,
.screen-home-dish-clear-button:focus-visible {
 color: var(--dl-text);
 background: rgba(0, 0, 0, 0.06);
 outline: none;
}
.screen-home-filter-field-dish .dl-input:hover,
.screen-home-filter-field-dish-open .dl-input:hover,
.screen-home-filter-field-place .dl-input:hover {
 border-color: var(--dl-border-soft);
}
.screen-home-filter-field-place .dl-input:focus-within {
 border-color: var(--dl-accent);
 box-shadow: 0 0 0 2px rgba(69, 127, 61, 0.25);
}
.screen-home-filter-field-dish .dl-input:focus-within,
.screen-home-filter-field-dish-open .dl-input:focus-within {
 border-color: var(--dl-border-soft);
 box-shadow: none;
}
/* Autosuggest geöffnet: eckige untere Ecken */
.screen-home-filter-field-dish-open .dl-input {
 border-bottom-left-radius: 0;
 border-bottom-right-radius: 0;
}
.screen-home-filter-field-dish-open .dl-input:focus-within {
 border-color: var(--dl-border-soft);
 box-shadow: none;
}

/* Input-Felder: transparent, damit Wrapper-Hintergrund sichtbar ist */
.screen-home-filter-field-dish input.base-form-input,
.screen-home-filter-field-dish-open input.base-form-input,
.screen-home-filter-field-place input.base-form-input,
.screen-home-filter-input-max-price {
 background: transparent !important;
 border: 0 !important;
 padding: 0 !important;
 border-radius: 0 !important;
}

/* Autosuggest-Textfelder: inneren Fokus-/Standard-Rahmen komplett entfernen */
.screen-home-filter-field-dish input.base-form-input:focus,
.screen-home-filter-field-dish input.base-form-input:focus-visible,
.screen-home-filter-field-place input.base-form-input:focus,
.screen-home-filter-field-place input.base-form-input:focus-visible {
 border: 0 !important;
 outline: none !important;
 box-shadow: none !important;
 background: transparent !important;
}

/* Home-Filter: bei allen Select/Dropdown-Controls keinen inneren Rahmen anzeigen */
.home-filter-panel select.base-form-input,
.home-filter-panel select.base-form-input:focus,
.home-filter-panel select.base-form-input:focus-visible,
.home-filter-panel .dl-input > select.base-form-input,
.home-filter-panel .dl-input > select.base-form-input:focus,
.home-filter-panel .dl-input > select.base-form-input:focus-visible {
 border: 0 !important;
 outline: none !important;
 box-shadow: none !important;
 background: transparent !important;
 -webkit-appearance: none;
 appearance: none;
 display: block;
 width: 100%;
 max-width: 100%;
 min-width: 0;
 box-sizing: border-box;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
 padding-right: 40px !important;
}

/* Preis-Feld: gleicher Container-Stil wie Dish/Place */
.home-filter-panel .dl-input:has(.screen-home-filter-input-max-price) {
 padding: 8px 14px;
 background: var(--dl-input-bg);
 border: 1px solid var(--dl-input-border);
 border-radius: 999px;
}
.home-filter-panel .dl-input:has(.screen-home-filter-input-max-price):hover {
 border-color: var(--dl-input-border-hover);
}
.home-filter-panel .dl-input:has(.screen-home-filter-input-max-price):focus-within {
 border-color: var(--dl-accent-soft);
 box-shadow: 0 0 0 2px rgba(69, 127, 61, 0.1);
}

/* Select-Felder: kein innerer Rahmen */
.screen-home-filter-field-kitchen select.base-form-input,
.screen-home-filter-field-gang select.base-form-input,
.screen-home-filter-field-land select.base-form-input,
.screen-home-filter-field-radius select.base-form-input {
 background: transparent !important;
 border: 0 !important;
 padding: 0 !important;
 border-radius: 0 !important;
 outline: none !important;
}

/* AJAX-Loading-Indicator links in Dropdown-Feldern (Kitchen/Gang/Land) */
.screen-home-filter-field-kitchen .dl-input,
.screen-home-filter-field-gang .dl-input,
.screen-home-filter-field-land .dl-input {
 position: relative;
}

.screen-home-filter-field-kitchen select.base-form-input,
.screen-home-filter-field-gang select.base-form-input,
.screen-home-filter-field-land select.base-form-input,
.screen-home-filter-field-radius select.base-form-input {
 padding-left: 28px !important;
}

/* Kitchen/Gang/Radius: linke Feld-Icons */
.screen-home-filter-field-kitchen .dl-input > .dl-input__icon,
.screen-home-filter-field-gang .dl-input > .dl-input__icon {
 left: 10px;
 right: auto;
 width: 20px;
 height: 20px;
 color: var(--dl-text-soft);
}

.screen-home-filter-field-radius .dl-input > .dl-input__icon {
 left: 10px;
 right: auto;
 width: 20px;
 height: 20px;
 color: var(--dl-text-soft);
}

.screen-home-filter-field-kitchen select.base-form-input,
.screen-home-filter-field-gang select.base-form-input {
 padding-left: 36px !important;
 padding-right: 32px !important;
}

.screen-home-filter-field-radius select.base-form-input {
 padding-left: 36px !important;
}

.screen-home-filter-field-land .dl-input > .screen-home-land-flag-icon-wrap {
 left: 10px;
 right: auto;
 width: 20px;
 height: 20px;
 color: var(--dl-text-soft);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 overflow: hidden;
 border-radius: 3px;
}

.screen-home-land-flag-icon {
 width: 20px;
 height: 14px;
 object-fit: cover;
 display: block;
 border: 1px solid var(--dl-border-soft);
 border-radius: 2px;
}

.screen-home-filter-field-land select.base-form-input {
 padding-left: 40px !important;
 padding-right: 32px !important;
}

.screen-home-dropdown-loading-gif {
 position: absolute;
 left: 10px;
 top: 50%;
 transform: translateY(-50%);
 display: none;
 align-items: center;
 justify-content: center;
 width: 14px;
 height: 14px;
 color: var(--dl-accent);
 pointer-events: none;
 z-index: 2;
}

/* Gang-Loader rechts, damit links Platz für das Icon bleibt */
.screen-home-filter-field-gang .screen-home-dropdown-loading-gif {
 left: auto;
 right: 10px;
}

.screen-home-filter-field-kitchen .screen-home-dropdown-loading-gif {
 left: auto;
 right: 10px;
}

.screen-home-filter-field-land .screen-home-dropdown-loading-gif {
 left: auto;
 right: 10px;
}

.screen-home-dropdown-loading-gif:not([hidden]) {
 display: inline-flex;
}

.screen-home-dropdown-loading-gif svg {
 animation: screen-home-dropdown-loading-spin 0.9s linear infinite;
}

@keyframes screen-home-dropdown-loading-spin {
 from { transform: rotate(0deg); }
 to { transform: rotate(360deg); }
}

.screen-home-dish-suggest-dropdown {
 position: absolute;
 background: var(--dl-bg);
 border: 1px solid var(--dl-input-border);
 border-top: none;
 border-radius: 0 0 var(--dl-radius-md) var(--dl-radius-md);
 box-shadow: var(--dl-shadow-soft);
 max-height: 300px;
 overflow-y: auto;
 overflow-x: hidden;
 z-index: 1000;
 display: none;
 width: 100%;
 left: 0;
 top: 100%;
 max-width: calc(100vw - 40px);
 box-sizing: border-box;
 word-wrap: break-word;
 word-break: break-word;
}

.screen-home-dish-suggest-dropdown-open {
 position: absolute;
 background: var(--dl-bg);
 border: 1px solid var(--dl-input-border);
 border-top: none;
 border-radius: 0 0 var(--dl-radius-md) var(--dl-radius-md);
 box-shadow: var(--dl-shadow-soft);
 max-height: 300px;
 overflow-y: auto;
 overflow-x: hidden;
 z-index: 1000;
 display: block;
 width: 100%;
 left: 0;
 top: 100%;
 max-width: calc(100vw - 40px);
 box-sizing: border-box;
 word-wrap: break-word;
 word-break: break-word;
}

.screen-home-dish-suggest-match,
.screen-home-dish-suggest-dropdown strong {
 font-weight: 700;
 border: 0;
 outline: none;
 box-shadow: none;
 background: transparent;
}

/* Minimap-Spalte in Trefferkarten ausblenden; Karte nur per Button-Popup */
.screen-home-card-minimap {
 position: relative;
 overflow: hidden;
 min-height: 200px;
 display: none;
}
.base-button-secondary-screen-home-map,
.home-map-button-mobile-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.home-pdf-menu-link {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 44px;
 height: 44px;
 min-width: 44px;
 min-height: 44px;
 border-radius: var(--dl-radius-md, 8px);
 color: var(--dl-text);
 border: 1px solid var(--dl-btn-ghost-border);
 background: var(--dl-bg-alt);
}
.home-pdf-menu-link:hover {
 background: var(--dl-bg-hover);
 color: var(--dl-text);
}
.home-pdf-menu-icon {
 flex-shrink: 0;
 display: block;
}
.base-button-secondary-screen-home-details {
 display: block;
 text-align: center;
 width: 100%;
}
.base-button-secondary-screen-home-map, .home-map-button-mobile-only, .base-button-secondary-screen-home-merkliste {
 width: 100%;
}
.base-merkliste-form-home {
 flex-basis: 100%;
 width: 100%;
}

/* "Jetzt geöffnet" Ja/Unwichtig-Schalter und Aktions-Buttons */
.screen-home-filter-open-now-wrap {
 display: flex;
 flex-direction: column;
 align-items: stretch;
 gap: 8px;
 min-height: 48px;
 width: 100%;
}
.home-filter-open-now-label {
 font-size: var(--font-size-base, 1rem);
 font-weight: 600;
 line-height: 1.25;
 color: var(--dl-text);
 white-space: normal;
 flex-shrink: 1;
 letter-spacing: 0.01em;
}
.home-filter-open-now-switch {
 display: flex;
 gap: 0;
 border-radius: var(--dl-radius-md, 8px);
 overflow: hidden;
 border: 1px solid var(--dl-btn-ghost-border);
 min-height: 44px;
 width: 100%;
}
.home-filter-open-now-option {
 margin: 0;
 border-radius: 0;
 border: none;
 min-width: 0;
 flex: 1 1 50%;
 padding: 10px 14px;
 font-size: var(--font-size-base, 1rem);
 font-weight: 500;
 line-height: 1.25;
 background: var(--dl-bg-alt);
 color: var(--dl-text);
 justify-content: center;
}
.home-filter-open-now-option[aria-pressed="true"] {
 background: var(--dl-accent);
 color: var(--dl-bg-alt);
 border-color: var(--dl-accent);
}

/* Aktionen-Zeile in Spalte 3 */
.home-filter-actions-row {
 width: 100%;
}
.home-filter-actions-row .dl-search__field--actions {
 display: flex;
 gap: 8px;
 justify-content: flex-start;
 width: 100%;
}

.screen-home-results-header {
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 gap: 10px;
 width: 100%;
 padding: 12px 14px;
 border: 1px solid var(--dl-border-soft);
 border-radius: var(--dl-radius-md);
 background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 244, 0.98) 100%);
 box-shadow: 0 6px 18px rgba(24, 43, 23, 0.06);
}

.screen-home-results-header .dl-results__info {
 display: none;
}

.screen-home-results-header #home-results-view-toggle {
 flex: 0 0 auto;
 display: inline-flex;
 align-items: center;
 justify-content: flex-start;
 flex-wrap: nowrap;
}

.screen-home-results-header #home-results-view-toggle .base-view-toggle {
 flex-wrap: nowrap;
 justify-content: flex-start;
}

#screen-home-results-title {
 margin: 0;
 display: inline-block;
 width: 100%;
 color: var(--color-headline);
 font-size: clamp(0.94rem, 1.1vw, 1.04rem);
 font-weight: 600;
 line-height: 1.35;
 padding: 7px 10px;
 border-radius: var(--dl-radius-sm);
 background: rgba(255, 255, 255, 0.92);
 border: 1px solid rgba(24, 43, 23, 0.08);
}

/* Sort-Toolbar: erste Zeile Gruppierung (segmentierte Schalter), zweite Zeile Sort-Chips */
.screen-home-sort-toolbar {
 display: flex;
 flex-direction: row;
 align-items: center;
 justify-content: flex-start;
 flex-wrap: nowrap;
 gap: 12px;
 width: 100%;
 max-width: 100%;
 box-sizing: border-box;
}

.screen-home-sort-toolbar #home-results-view-toggle {
 flex: 0 0 auto;
 display: inline-flex;
 align-items: center;
 justify-content: flex-start;
}

.screen-home-sort-chips-row {
 display: flex;
 flex-wrap: nowrap;
 gap: 8px;
 justify-content: flex-end;
 width: auto;
 max-width: 100%;
 margin-left: auto;
 padding-top: 0;
 margin-top: 0;
 border-top: 0;
 box-sizing: border-box;
}

.screen-home-group-by-block {
 display: flex;
 flex-wrap: nowrap;
 align-items: center;
 gap: 10px 16px;
 justify-content: flex-start;
 width: auto;
 margin-left: 0;
 flex: 0 0 auto;
 box-sizing: border-box;
white-space: nowrap;
}

.screen-home-group-by-legend {
 font-size: 0.8rem;
 font-weight: 600;
 color: var(--dl-text);
 letter-spacing: 0.02em;
 line-height: 1.3;
 flex-shrink: 0;
 max-width: 100%;
 white-space: nowrap;
}

.screen-home-group-by-segment {
 display: inline-flex;
 flex-wrap: nowrap;
 justify-content: flex-start;
 max-width: 100%;
 border-radius: 999px;
 overflow: hidden;
 box-shadow: var(--dl-shadow-chip);
}

.screen-home-group-by-pill-off,
.screen-home-group-by-pill-on {
 border: 0;
 margin: 0;
 padding: 7px 14px;
 font-size: 0.78rem;
 line-height: 1.25;
 cursor: pointer;
 white-space: nowrap;
 font-family: var(--dl-font-sans);
 box-sizing: border-box;
}

.screen-home-group-by-pill-off {
 background: rgba(255, 255, 255, 0.92);
 color: var(--dl-text-soft);
 font-weight: 500;
}

.screen-home-group-by-pill-on {
 background: var(--dl-chip-active-bg);
 color: var(--dl-text);
 font-weight: 600;
}

.screen-home-group-by-segment .screen-home-group-by-pill-on[disabled] {
 cursor: default;
 opacity: 1;
 pointer-events: none;
}

.screen-home-group-by-segment > button + button {
 border-left: 1px solid var(--dl-border-soft);
}

/* Schmalere Viewports: längere Schalter-Texte (z. B. „Nach Obergericht“) als einzelne Pills */
@media (max-width: 900px) {
 .screen-home-group-by-segment {
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  justify-content: flex-end;
 }
 .screen-home-group-by-segment > button + button {
  border-left: 0;
 }
 .screen-home-group-by-pill-off,
 .screen-home-group-by-pill-on {
  border-radius: 999px;
  box-shadow: var(--dl-shadow-chip);
 }
}

@media (max-width: 768px) {
 .dl-results__list .screen-home-dish-group-card > .dl-card__header,
 .screen-home-results-list .screen-home-dish-group-card > .dl-card__header,
 .dl-results__list .screen-home-dish-group-card > .dl-card__image,
 .screen-home-results-list .screen-home-dish-group-card > .dl-card__image,
 .dl-results__list .screen-home-dish-group-card > .dl-card__body,
 .screen-home-results-list .screen-home-dish-group-card > .dl-card__body {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
 }

 .dl-results__list .screen-home-dish-group-card .screen-home-dish-group-headline-row,
 .screen-home-results-list .screen-home-dish-group-card .screen-home-dish-group-headline-row {
  width: 100%;
 }

 .dl-results__list .screen-home-dish-group-card .screen-home-dish-group-lead,
 .screen-home-results-list .screen-home-dish-group-card .screen-home-dish-group-lead {
  width: 100%;
  max-width: 100%;
 }

 .screen-home-results-header .dl-results__info {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
 }
 .screen-home-sort-toolbar {
  align-items: flex-start;
  flex-wrap: wrap;
 }
 .screen-home-sort-chips-row {
  justify-content: flex-start;
  flex-wrap: wrap;
 }
 .screen-home-group-by-block {
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  white-space: nowrap;
 }
 .screen-home-group-by-segment {
  width: auto;
  justify-content: flex-start;
  flex-wrap: nowrap;
 }
 .screen-home-group-by-pill-off,
 .screen-home-group-by-pill-on {
  flex: 0 0 auto;
  min-width: 0;
  text-align: center;
 }
}

/* Wrapper: Liste links, Karte rechts */
.home-results-with-map {
 display: flex;
 flex-direction: column;
 gap: 24px;
 overflow-x: hidden;
}

.screen-home-results-map-container {
 display: none;
}

@media (min-width: 1024px) {
 .home-results-with-map.screen-home-view-mode-map {
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
 }
 .home-results-with-map.screen-home-view-mode-map .screen-home-results-map-container {
  display: block;
 }
 .home-results-with-map.screen-home-view-mode-map .screen-home-results-top-section {
  flex: 1;
  min-width: 0;
 }
 .home-results-with-map.screen-home-view-mode-map .screen-home-results-map-container {
  flex-shrink: 0;
  width: clamp(300px, 28vw, 420px);
  max-width: 420px;
  min-width: 300px;
  min-height: 0;
  position: sticky;
  top: 24px;
  align-self: flex-start;
  height: calc(100vh - 48px);
  max-height: 720px;
  isolation: isolate;
 }
 .base-button-secondary-screen-home-merkliste {
  width: auto;
 }
 .base-merkliste-form-home {
  flex-basis: auto;
  width: auto;
 }
 .dl-results__list .dl-card,
 .screen-home-results-list .dl-card {
  grid-template-columns: 260px 1fr;
 }
 .dl-results__list .dl-card__image,
 .screen-home-results-list .dl-card__image {
  height: 260px;
  width: 100%;
 overflow: hidden;
 border-radius: 10px 16px 18px 10px;
}
.dl-results__list .dl-card__dish-image,
.screen-home-results-list .dl-card__dish-image {
 width: 94%;
 height: 94%;
 margin: auto;
 object-fit: cover;
object-position: left center;
display: block;
 border-radius: 10px 16px 18px 10px;
 }
}

.screen-home-ai-image-note-wrap {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
margin-top: 8px;
padding: 8px 10px;
border-radius: 8px;
background: linear-gradient(180deg, rgba(250, 253, 250, 0.98) 0%, rgba(243, 250, 243, 0.98) 100%);
border: 1px solid rgba(69, 127, 61, 0.22);
box-shadow: 0 4px 12px rgba(9, 28, 52, 0.08);
}

/* Klassische Home-Karte: KI-Hinweis immer direkt unter dem Bild fixieren */
@media (min-width: 1024px) {
 .dl-results__list .dl-card:not(.screen-home-dish-group-card),
 .screen-home-results-list .dl-card:not(.screen-home-dish-group-card) {
  grid-template-columns: 260px 1fr;
  grid-template-areas:
   "image body"
   "note body";
 }

 .dl-results__list .dl-card:not(.screen-home-dish-group-card) > .dl-card__image,
 .screen-home-results-list .dl-card:not(.screen-home-dish-group-card) > .dl-card__image {
  grid-area: image;
 }

 .dl-results__list .dl-card:not(.screen-home-dish-group-card) > .screen-home-ai-image-note-wrap,
 .screen-home-results-list .dl-card:not(.screen-home-dish-group-card) > .screen-home-ai-image-note-wrap {
  grid-area: note;
  align-self: start;
  margin-top: 6px;
  width: 100%;
  box-sizing: border-box;
 }

 .dl-results__list .dl-card:not(.screen-home-dish-group-card) > .dl-card__body,
 .screen-home-results-list .dl-card:not(.screen-home-dish-group-card) > .dl-card__body {
  grid-area: body;
 }
}

.screen-home-ai-image-note-text {
font-size: 0.68rem;
line-height: 1.2;
font-weight: 400;
font-style: italic;
color: rgba(24, 43, 23, 0.62);
flex: 1 1 auto;
}

.screen-home-ai-image-note-info-button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
padding: 0;
border-radius: 999px;
border: 1px solid rgba(24, 43, 23, 0.24);
background: #ffffff;
color: var(--dl-accent);
cursor: pointer;
flex: 0 0 auto;
}

.screen-home-ai-image-note-info-button:hover,
.screen-home-ai-image-note-info-button:focus-visible {
border-color: rgba(24, 43, 23, 0.4);
outline: none;
}

.screen-home-ai-image-modal {
position: fixed;
inset: 0;
z-index: 2200;
display: flex;
align-items: center;
justify-content: center;
padding: 18px;
}

.screen-home-ai-image-modal[hidden] {
display: none;
}

.screen-home-ai-image-modal-overlay {
position: absolute;
inset: 0;
background: rgba(20, 35, 31, 0.62);
backdrop-filter: blur(1px);
}

.screen-home-ai-image-modal-dialog {
position: relative;
width: min(760px, calc(100vw - 28px));
max-height: min(80vh, 680px);
overflow-y: auto;
padding: 22px 24px 18px;
border-radius: 14px;
border: 1px solid rgba(69, 127, 61, 0.36);
background: linear-gradient(135deg, #ffffff 0%, #f4fbf5 38%, #eef8f9 100%);
box-shadow: 0 24px 48px rgba(6, 26, 34, 0.34);
}

.screen-home-ai-image-modal-close {
position: absolute;
top: 10px;
right: 12px;
width: 34px;
height: 34px;
padding: 0;
border-radius: 999px;
border: 1px solid rgba(24, 43, 23, 0.2);
background: #ffffff;
color: var(--dl-text);
font-size: 1.2rem;
line-height: 1;
cursor: pointer;
}

.screen-home-ai-image-modal-title {
margin: 0 40px 10px 0;
font-size: 1.08rem;
font-weight: 700;
line-height: 1.25;
color: var(--color-headline);
}

.screen-home-ai-image-modal-text {
margin: 0;
font-size: 0.95rem;
line-height: 1.55;
color: var(--dl-text);
}

.screen-home-ai-image-modal-actions {
display: flex;
justify-content: flex-end;
margin-top: 16px;
}

.screen-home-ai-image-modal-close-button {
min-height: 38px;
padding: 0 16px;
}

@media (max-width: 768px) {
 .screen-home-ai-image-modal-dialog {
  padding: 18px 16px 14px;
 }
 .screen-home-ai-image-modal-title {
  font-size: 1rem;
 }
 .screen-home-ai-image-modal-text {
  font-size: 0.9rem;
 }
}

.home-results-with-map.screen-home-view-mode-list .screen-home-results-map-container {
 display: none !important;
}

.home-results-layout {
 display: flex;
 flex-direction: column;
 gap: 24px;
}
.home-results-list-col {
 min-width: 0;
 width: 100%;
}

/* Trefferbereich: keine interne Scrollbar, nur Browser-Scrollbar */
#home-layout-results,
#home-results-top,
.home-results-layout,
.home-results-list-col,
#results,
#results .dl-card,
#results .dl-card__body,
#results .screen-home-dish-group-offers {
 overflow-y: visible;
 max-height: none;
}

.home-results-side-map.leaflet-map-container {
 position: relative;
 min-height: 320px;
 width: 100%;
 max-width: 100%;
 border-radius: var(--dl-radius-sm, 10px);
 overflow: hidden;
}

.home-results-side-map-loading {
 display: flex;
 align-items: center;
 justify-content: center;
 background: var(--dl-surface);
}
.home-results-map-loading-placeholder {
 margin: 0;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 12px;
 padding: 14px 18px;
 max-width: calc(100% - 32px);
 box-sizing: border-box;
 font-family: var(--dl-font-sans);
 font-size: var(--font-size-base);
 font-weight: 600;
 letter-spacing: 0.01em;
 color: var(--dl-text);
 background: var(--dl-bg-alt);
 border: 1px solid var(--dl-border-soft);
 border-radius: var(--dl-radius-md);
 box-shadow: var(--dl-shadow-chip);
}

.home-results-map-loading-spinner {
display: inline-flex;
width: 16px;
height: 16px;
border-radius: 999px;
border: 2px solid rgba(69, 127, 61, 0.22);
border-top-color: var(--dl-accent);
animation: home-results-map-loading-spin 0.9s linear infinite;
}

.home-results-map-loading-text {
display: inline-flex;
align-items: center;
}

@keyframes home-results-map-loading-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}

#home-results-view-map[data-loading="1"] {
opacity: 0.75;
cursor: wait;
pointer-events: none;
}

.home-results-map-popup {
 margin: 0;
 min-width: 140px;
 font-family: var(--dl-font-sans);
 font-size: var(--font-size-base);
}
.home-results-map-popup-image {
 display: block;
 width: 120px;
 height: 90px;
 object-fit: cover;
 border-radius: var(--dl-radius-sm, 6px);
 margin-bottom: 8px;
}
.home-results-map-popup-name {
 margin: 0 0 4px;
 font-weight: 700;
 color: var(--color-headline);
}
.home-results-map-popup-dish {
 margin: 0;
 color: var(--color-content-text);
}
.home-results-map-popup-price {
 margin: 0 0 8px;
 font-weight: 600;
 color: var(--dl-accent);
}
.home-results-map-popup-link {
 display: inline-block;
 margin-top: 4px;
}
.home-results-map-popup-loading {
 margin: 0;
 padding: 12px 0;
 color: var(--color-content-text);
}

/* Detail-Button immer in eigener Zeile */
.dl-results__list .dl-card__meta-row {
 flex-wrap: wrap;
}
.dl-results__list .dl-card__footer .dl-card__footer-actions-row {
 display: flex;
 align-items: center;
 gap: 8px;
 flex-wrap: nowrap;
 flex-shrink: 0;
 min-width: 0;
}
.dl-results__list .base-button-secondary-screen-home-details {
 flex-basis: 100%;
 width: 100%;
 display: block;
 text-align: center;
}

.dl-results__list .dl-card__footer .dl-card__meta-row:last-child {
 display: flex;
 justify-content: flex-end;
 align-items: center;
 gap: 8px;
}

.dl-results__list .dl-card__footer .dl-card__meta-row:last-child .dl-card__footer-actions-row {
 justify-content: flex-end;
}

.dl-results__list .dl-card__header {
 display: flex;
 flex-direction: column;
 align-items: stretch;
 gap: 3px;
 padding-bottom: 0;
 min-width: 0;
}

.dl-results__list .dl-card__body--dish-group > .dl-card__header {
 background: var(--dl-bg-alt);
 border: 1px solid var(--dl-border-soft);
 border-radius: var(--dl-radius-sm);
 padding: 10px 12px;
 margin-bottom: 8px;
}

/* Gruppenkarten: Header ist im Markup oberhalb des Bildes */
.dl-results__list .screen-home-dish-group-card > .dl-card__header,
.screen-home-results-list .screen-home-dish-group-card > .dl-card__header {
 margin-bottom: 8px;
grid-column: 1 / -1;
grid-row: 1;
}

.dl-results__list .screen-home-dish-group-card > .dl-card__image,
.screen-home-results-list .screen-home-dish-group-card > .dl-card__image {
grid-column: 1;
grid-row: 2;
}

.dl-results__list .screen-home-dish-group-card > .dl-card__body,
.screen-home-results-list .screen-home-dish-group-card > .dl-card__body {
grid-column: 2;
grid-row: 2;
}

.dl-results__list .base-headline-h3-dl-card-restaurant {
 margin-top: 6px;
 margin-bottom: 3px;
}

.dl-results__list .dl-card__body {
 padding: 5px 5px 5px 7px;
 gap: 5px;
 min-width: 0;
 overflow: hidden;
}
.dl-results__list .base-headline-h2-card {
 display: -webkit-box;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 2;
 overflow: hidden;
 text-overflow: ellipsis;
 word-wrap: break-word;
 overflow-wrap: break-word;
 color: var(--color-primary);
}
.dl-results__list .dl-card__description {
 display: -webkit-box;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 3;
 overflow: hidden;
 text-overflow: ellipsis;
 min-width: 0;
}

.dl-results__empty {
 text-align: center;
 padding: 40px 20px;
 color: var(--dl-text-soft);
 font-size: 1rem;
}

.home-restaurant-minimap-marker,
.home-restaurant-minimap-marker.leaflet-div-icon,
.leaflet-div-icon.home-restaurant-minimap-marker {
 background: transparent !important;
 border: none !important;
 width: 20px !important;
 height: 30px !important;
 padding: 0 !important;
 margin: 0 !important;
 box-shadow: none !important;
}

.home-restaurant-minimap-marker-inner {
 display: flex !important;
 align-items: center;
 justify-content: center;
 width: 100%;
 height: 100%;
 background: transparent !important;
}

.leaflet-zoom-hide {
 display: none;
}

@media (max-width: 1023px) {
 .screen-home-filters-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 18px;
  right: 14px;
  left: auto;
  z-index: 1400;
  min-height: 42px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(18, 28, 16, 0.22);
 }

 .screen-home-filters-overlay:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1340;
  background: rgba(18, 27, 22, 0.42);
 }

 .screen-home-filters-column {
  position: fixed;
  top: 0;
  left: 0;
  width: min(88vw, 420px);
  height: 100vh;
  z-index: 1360;
  border-radius: 0;
  transform: translateX(-104%);
  transition: transform 0.22s ease;
  overflow-y: auto;
  box-shadow: 20px 0 36px rgba(20, 31, 23, 0.24);
  padding: 18px 14px calc(24px + env(safe-area-inset-bottom));
 }

 .screen-home-filters-column.screen-home-filters-drawer-open {
  transform: translateX(0);
 }

 .screen-home-filters-column .screen-home-filters-header #screen-home-filters-toggle {
  min-width: 42px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 12px;
 }

 .dl-results__list .screen-home-dish-group-card,
 .screen-home-results-list .screen-home-dish-group-card {
  grid-template-columns: 1fr;
 }

 .dl-results__list .screen-home-dish-group-card > .dl-card__header,
 .screen-home-results-list .screen-home-dish-group-card > .dl-card__header,
 .dl-results__list .screen-home-dish-group-card > .dl-card__image,
 .screen-home-results-list .screen-home-dish-group-card > .dl-card__image,
 .dl-results__list .screen-home-dish-group-card > .dl-card__body,
 .screen-home-results-list .screen-home-dish-group-card > .dl-card__body {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
 }

 .dl-results__list .screen-home-dish-group-card > .dl-card__image,
 .screen-home-results-list .screen-home-dish-group-card > .dl-card__image {
  height: auto;
  min-height: 220px;
 }

 .dl-results__list .screen-home-dish-group-card .screen-home-dish-group-headline-row,
 .screen-home-results-list .screen-home-dish-group-card .screen-home-dish-group-headline-row {
  width: 100%;
  align-items: flex-start;
 }

 .dl-results__list .screen-home-dish-group-card .screen-home-dish-group-lead,
 .screen-home-results-list .screen-home-dish-group-card .screen-home-dish-group-lead {
  width: 100%;
  max-width: 100%;
 }

 .screen-home-main-layout {
  grid-template-columns: 1fr;
  gap: 14px;
 }
 .home-filter-panel .dl-search__fields {
  grid-template-columns: 1fr;
 }
 .home-filter-actions-row {
  grid-column: 1;
 }
}

@media (min-width: 1024px) and (max-width: 1365px) {
 .screen-home-main-layout {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 14px;
 }

 .screen-home-filters-column {
  top: 12px;
  padding: 12px;
 }

 .home-results-with-map.screen-home-view-mode-map {
  gap: 14px;
 }

 .home-results-with-map.screen-home-view-mode-map .screen-home-results-map-container {
  width: clamp(260px, 30vw, 340px);
  min-width: 260px;
  max-width: 340px;
 }

 .dl-results__list .dl-card,
 .screen-home-results-list .dl-card {
  grid-template-columns: 220px 1fr;
 }

 .dl-results__list .dl-card__image,
 .screen-home-results-list .dl-card__image {
  height: 220px;
 }
}

@media (min-width: 768px) and (max-width: 1023px) {
 .screen-home-main-layout {
  padding-top: 56px;
 }

 .screen-home-filters-mobile-toggle {
  top: 12px;
  right: 12px;
 }
}

@media (min-width: 1024px) {
 .dl-results__list .base-button-secondary-screen-home-details {
  flex-basis: auto;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
 }
}

/* Gruppierte Treffer: ein Gericht-Bild, mehrere Menü-Positionen / Restaurants */
.screen-home-dish-group-lead {
 margin: 0;
 padding: 4px 0 4px 8px;
 font-size: 0.95rem;
 line-height: 1.3;
 font-weight: 600;
 color: var(--dl-text);
 white-space: normal;
 overflow-wrap: anywhere;
 word-break: break-word;
 max-width: 100%;
 flex: 1 1 auto;
}

.screen-home-dish-group-headline-row {
 display: flex;
 align-items: flex-start;
gap: 6px;
 min-width: 0;
 flex-wrap: wrap;
 border-bottom: 1px solid var(--dl-border-subtle);
 padding-bottom: 7px;
}

.screen-home-dish-group-headline-row .base-headline-h2-card {
 margin: 0;
flex: 0 1 auto;
 min-width: 0;
 -webkit-line-clamp: 1;
 white-space: nowrap;
 font-size: 0.9rem;
 color: var(--dl-text);
}

.screen-home-dish-group-prefix {
 color: var(--dl-text);
}

.screen-home-dish-group-highlight {
 color: var(--color-primary);
}

.screen-home-dish-group-price-range {
 color: var(--dl-accent);
 font-weight: 600;
}

.screen-home-dish-group-offers {
 list-style: none;
 margin: 0;
 padding: 0;
}

.screen-home-dish-group-offer {
border-top: 1px solid var(--dl-border-subtle);
border: 1px solid rgba(18, 45, 78, 0.12);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%);
 border-radius: 10px;
 padding: 8px 10px 7px;
margin-top: 12px;
box-shadow: 0 3px 10px rgba(9, 28, 52, 0.07);
transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
position: relative;
}

.screen-home-dish-group-offer:first-child {
 border-top: none;
 margin-top: 4px;
}

.screen-home-dish-group-offer:hover {
border-color: rgba(18, 45, 78, 0.2);
box-shadow: 0 6px 16px rgba(9, 28, 52, 0.1);
transform: translateY(-1px);
}

.screen-home-dish-group-offer-row {
 display: block;
}

.screen-home-dish-group-offer-text {
 min-width: 0;
 display: flex;
 flex-direction: column;
 gap: 3px 0;
}

.screen-home-dish-group-offer-headline-row {
 display: flex;
 flex-wrap: wrap;
 align-items: flex-start;
 gap: 2px 10px;
line-height: 1.2;
}

.screen-home-dish-group-offer-title {
 font-weight: 600;
 font-size: 1rem;
 line-height: 1.25;
 color: var(--color-primary);
font-family: Georgia, "Times New Roman", Times, serif;
font-style: italic;
letter-spacing: 0.01em;
 order: 1;
 flex: 1 1 auto;
 min-width: 0;
margin-bottom: 1px;
}

.screen-home-dish-group-offer-headline-row .screen-home-dish-group-offer-price {
 order: 2;
 margin-left: auto;
}

.screen-home-dish-group-offer-headline-row .screen-home-dish-group-merkliste-form {
 order: 3;
 flex: 0 0 auto;
 display: inline-flex;
 justify-content: flex-end;
 margin-top: 0;
}

.screen-home-dish-group-offer-meta {
 font-size: 0.88rem;
 color: var(--dl-text);
 order: 4;
 flex: 0 0 100%;
 width: 100%;
margin-top: 0;
line-height: 1.15;
font-family: Georgia, "Times New Roman", Times, serif;
font-style: italic;
letter-spacing: 0.01em;
}

.screen-home-dish-group-offer-price-cell {
 text-align: right;
 justify-self: end;
 align-self: center;
}

.screen-home-dish-group-offer-price {
 font-size: 0.95rem;
 font-weight: 600;
 white-space: nowrap;
 margin-left: auto;
display: inline-flex;
align-items: center;
justify-content: flex-end;
min-width: 80px;
height: 22px;
min-height: 22px;
line-height: 22px;
font-family: Georgia, "Times New Roman", Times, serif;
font-style: normal;
color: var(--dl-text);
background: transparent;
border: 0;
box-shadow: none;
padding: 0;
}

.screen-home-dish-group-offer-restaurant {
 display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 2px 8px;
line-height: 1.2;
 font-size: 0.9rem;
 margin-top: 6px;
}

.screen-home-dish-group-offer-restaurant-main {
display: inline-flex;
align-items: center;
justify-content: flex-start;
gap: 4px;
min-width: 0;
max-width: 100%;
flex: 0 0 100%;
flex-wrap: nowrap;
overflow: hidden;
}

.screen-home-dish-group-offer-restaurant .base-link-standard {
display: inline-flex;
align-items: baseline;
gap: 0;
min-width: 0;
flex: 0 1 auto;
width: auto;
max-width: 100%;
overflow: hidden;
color: var(--color-primary);
}

.screen-home-dish-group-offer-restaurant .base-link-standard:hover,
.screen-home-dish-group-offer-restaurant .base-link-standard:focus-visible {
color: var(--color-primary);
}

.screen-home-dish-group-offer-pdf-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
color: var(--color-primary);
flex: 0 0 auto;
}

.screen-home-dish-group-offer-menu-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
flex: 0 0 auto;
}

.screen-home-dish-group-offer-map-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
padding: 0;
border: 0;
background: transparent;
cursor: pointer;
flex: 0 0 auto;
}

.screen-home-dish-group-offer-map-image {
display: block;
}

.screen-home-dish-group-offer-menu-image {
display: block;
}

.screen-home-dish-group-offer-pdf-link .screen-home-dish-group-offer-pdf-icon {
display: none;
}

.screen-home-dish-group-offer-pdf-image {
display: block;
}

.screen-home-dish-group-offer-restaurant-name {
font-weight: 600;
color: var(--color-primary);
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.screen-home-dish-group-offer-restaurant-link {
 text-decoration: none;
}

.screen-home-dish-group-offer-restaurant-location,
.screen-home-dish-group-offer-restaurant-address {
color: var(--dl-text-muted);
flex: 0 0 100%;
}

.screen-home-dish-group-offer-rating {
 font-size: 0.85rem;
 display: inline-flex;
 align-items: center;
 gap: 4px;
 color: var(--dl-text);
 flex: 0 0 100%;
}

.screen-home-dish-group-offer-rating-stars {
 --rating: 0;
 position: relative;
 display: inline-block;
 font-size: 0.88rem;
 line-height: 1;
 letter-spacing: 1px;
 color: #d6d9de;
}

.screen-home-dish-group-offer-rating-stars::before {
 content: "★★★★★";
}

.screen-home-dish-group-offer-rating-stars::after {
 content: "★★★★★";
 position: absolute;
 top: 0;
 left: 0;
 width: calc((var(--rating) / 5) * 100%);
 overflow: hidden;
 color: #fbbc04;
 white-space: nowrap;
}

.screen-home-dish-group-offer-rating-value {
 color: var(--dl-text);
 font-weight: 400;
font-size: 0.9rem;
line-height: 1.2;
}

.screen-home-dish-group-merkliste-form {
 display: inline-flex;
 margin: 0;
}

.screen-home-dish-group-offer-headline-row .screen-home-dish-group-merkliste-form {
 margin-left: 0;
 flex: 0 0 auto;
}

.screen-home-dish-group-offer-headline-row .base-button-secondary-screen-home-merkliste {
 width: auto;
 min-width: 34px;
height: 22px;
min-height: 22px;
 padding: 0 6px;
 padding-top: 0;
 padding-bottom: 0;
}

.screen-home-dish-group-offers-pager {
 margin-top: 10px;
 display: flex;
 justify-content: center;
}

.screen-home-dish-group-load-more[disabled] {
 opacity: 0.6;
 cursor: not-allowed;
}

@media (max-width: 560px) {
 .screen-home-main-layout {
  gap: 12px;
 }

 .screen-home-content-column {
  min-width: 0;
 }

 .screen-home-filters-mobile-toggle {
  top: auto;
  bottom: 14px;
  right: 14px;
  min-height: 46px;
  padding: 0 14px;
  box-shadow: 0 12px 26px rgba(18, 28, 16, 0.28);
 }

 .home-results-with-map {
  gap: 16px;
 }

 .screen-home-results-header {
  gap: 8px;
 }

 .screen-home-dish-group-offer-headline-row {
  align-items: flex-start;
 }

 .screen-home-group-by-pill-off,
 .screen-home-group-by-pill-on {
  padding: 6px 10px;
  font-size: 0.72rem;
  min-width: 84px;
 }

 .screen-home-dish-group-offer-restaurant-main {
  width: 100%;
 }
}

.screen-home-result-card-footer--dish-group .screen-home-result-footer-actions {
 gap: 8px;
}

#home-infinite-scroll-sentinel {
 min-height: 2px;
 width: 100%;
 pointer-events: none;
}

#home-infinite-scroll-sentinel[hidden] {
 display: none !important;
}

.home-infinite-scroll-loading {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
 width: 100%;
 margin: 8px 0 2px;
 color: var(--dl-text-soft);
 font-size: 0.9rem;
}

.home-infinite-scroll-loading[hidden] {
 display: none !important;
}

.home-infinite-scroll-loading-spinner {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 color: var(--dl-accent);
}

.home-infinite-scroll-loading-spinner svg {
 animation: home-infinite-scroll-loading-spin 0.9s linear infinite;
}

@keyframes home-infinite-scroll-loading-spin {
 from { transform: rotate(0deg); }
 to { transform: rotate(360deg); }
}
