/* Kompakter Header auf Unterseiten (nur wenn html.ip-compact-pre, siehe js/compact-header.js) */
@media (min-width: 1200px) {
  html.ip-compact-pre .above-header-bar,
  html.ip-compact-pre #navbar-top,
  html.ip-compact-pre .highlighted,
  html.ip-compact-pre .site-name-slogan { display: none !important; }

  html.ip-compact-pre #navbar-main { padding: 8px 24px 8px 50px; border-bottom: 3px solid #8dc157; gap: 18px; }
  html.ip-compact-pre .ip-compact-tools { display: flex; align-items: center; gap: 16px; margin-left: auto; }
  html.ip-compact-pre .ip-compact-tools .mb-3,
  html.ip-compact-pre .ip-compact-tools .form-actions,
  html.ip-compact-pre .ip-compact-tools .form-item { margin: 0 !important; }
  html.ip-compact-pre .ip-compact-tools form .d-flex { flex-wrap: nowrap !important; }
  html.ip-compact-pre .ip-compact-tools { padding: 0 !important; width: auto !important; max-width: none !important; margin: 0 0 0 auto !important; background: transparent !important; border: 0 !important; box-shadow: none !important; flex: 0 0 auto; }
  html.ip-compact-pre .ip-compact-tools .language-switcher-language-url { width: auto !important; margin: 0 !important; }
  html.ip-compact-pre .ip-compact-tools .block-views { width: 330px; }
  html.ip-compact-pre .ip-compact-tools .views-exposed-form .js-form-item,
  html.ip-compact-pre .ip-compact-tools .views-exposed-form .form-actions,
  html.ip-compact-pre .ip-compact-tools .views-exposed-form input[name="search_api_fulltext"],
  html.ip-compact-pre .ip-compact-tools .views-exposed-form input[type="submit"] { height: 38px !important; line-height: 38px !important; }
  html.ip-compact-pre .ip-compact-tools .views-exposed-form input[name="search_api_fulltext"] { border: 1px solid #1b1f6b !important; border-right: 0 !important; }
  html.ip-compact-pre #CollapsingNavbar { flex: 0 0 auto; }

  /* Suche mittig in der Leiste, Flaggen und Menue rechts */
  html.ip-compact-pre #navbar-main { position: relative; }
  html.ip-compact-pre .ip-compact-tools { display: contents !important; }
  html.ip-compact-pre .ip-compact-tools #block-boot-sub-exposedformangebote-suchepage-1 { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0 !important; }
  html.ip-compact-pre .ip-compact-tools .language-switcher-language-url { margin: 0 0 0 auto !important; }

  /* Logo: gleiche Position wie im vollen Header */
  html.ip-compact-pre .navbar-brand { margin: 0 !important; }

  /* Kategorien als Chips (ohne Bilder) auf dunkelblauem Streifen, einzeilig */
  html.ip-compact-pre .featured-top { background: #1b1f6b; border: 0; padding: 9px 0; }
  html.ip-compact-pre .featured-top__inner { max-width: none !important; }
  html.ip-compact-pre .featured-top .view-content > .row,
  html.ip-compact-pre .featured-top .view-content .row { display: flex !important; flex-wrap: nowrap; justify-content: center; gap: 6px; margin: 0 !important; padding: 0 24px !important; }
  html.ip-compact-pre .featured-top .col { flex: 0 1 auto !important; width: auto !important; max-width: none !important; padding: 0 !important; min-width: 0; }
  html.ip-compact-pre .featured-top .card { height: auto !important; border: 0 !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important; }
  html.ip-compact-pre .featured-top .card:hover { background: #e9f3dc !important; }
  html.ip-compact-pre .featured-top .card-img-top { display: none !important; }
  html.ip-compact-pre .featured-top .card-body { position: static !important; inset: auto !important; transform: none !important; background: none !important; width: auto !important; height: auto !important; padding: 3px 10px !important; min-height: 0 !important; display: block; }
  html.ip-compact-pre .featured-top .card-text,
  html.ip-compact-pre .featured-top .card-text a { font-size: clamp(10.5px, 0.88vw, 13px); line-height: 1.3; color: #1b3d8f; white-space: nowrap; text-decoration: none; }
}
