/* 8.9.16: schlichte Textnavigation; mobil weiterhin direkt sichtbar. */
body.home header.yp-header > nav.yp-nav .wp-block-navigation-item__content:focus-visible {
  outline:3px solid #0071e3;outline-offset:3px;
}
@media(max-width:900px) {
  body.home header.yp-header {
    display:flex!important;flex-wrap:wrap!important;gap:12px!important;
    height:auto!important;min-height:0!important;padding:14px 16px!important;
    box-sizing:border-box!important;
  }
  body.home header.yp-header > .yp-logo { flex:1 1 auto;min-width:0; }
  body.home header.yp-header > nav.yp-nav {
    display:flex!important;order:10;flex:0 0 100%!important;
    width:100%!important;min-width:0!important;margin:0!important;
  }
  body.home header.yp-header > nav.yp-nav .wp-block-navigation__responsive-container-open,
  body.home header.yp-header > nav.yp-nav .wp-block-navigation__responsive-container-close {
    display:none!important;
  }
  body.home header.yp-header > nav.yp-nav .wp-block-navigation__responsive-container {
    display:block!important;position:static!important;inset:auto!important;
    width:100%!important;height:auto!important;min-height:0!important;
    padding:0!important;margin:0!important;overflow:visible!important;
    background:transparent!important;color:inherit!important;
    visibility:visible!important;opacity:1!important;transform:none!important;
  }
  body.home header.yp-header > nav.yp-nav .wp-block-navigation__responsive-container-content {
    display:block!important;padding:0!important;width:100%!important;
  }
  body.home header.yp-header > nav.yp-nav .wp-block-navigation__container {
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;width:100%!important;padding:0!important;margin:0!important;
    list-style:none!important;
  }
  body.home header.yp-header > nav.yp-nav .wp-block-navigation-item {
    width:100%!important;min-width:0!important;margin:0!important;
  }
  body.home header.yp-header > nav.yp-nav .wp-block-navigation-item__content {
    display:flex;align-items:center;justify-content:center;
    width:100%!important;min-height:44px!important;padding:8px!important;
    border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
    color:inherit;font-size:14px!important;font-weight:400!important;line-height:1.4;
    text-decoration:none;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box;
  }
  /* Die sichtbare Ankauf-Auswahl ersetzt den zweiten identischen Kopf-Link. */
  body.home header.yp-header > .wp-block-buttons:has(.yp-header-cta) { display:none!important; }
}
@media(max-width:340px) {
  body.home header.yp-header { padding-inline:10px!important; }
  body.home header.yp-header > nav.yp-nav .wp-block-navigation__container { gap:5px!important; }
  body.home header.yp-header > nav.yp-nav .wp-block-navigation-item__content { padding-inline:5px!important;font-size:13px!important; }
}
